Commit dc3f8fe5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Added Warning message.

parent e82d6e8b
...@@ -193,7 +193,7 @@ int setBaseTime(const char *timeunits, taxis_t *taxis) ...@@ -193,7 +193,7 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
{ {
if ( !strStartsWith(tu+pos, "%y%m%d.%f") ) if ( !strStartsWith(tu+pos, "%y%m%d.%f") )
{ {
Message("Unsupported format %s for TIMEUNIT day!", tu+pos); Warning("Unsupported format %s for TIMEUNIT day!", tu+pos);
timeunit = -1; timeunit = -1;
} }
} }
...@@ -201,10 +201,14 @@ int setBaseTime(const char *timeunits, taxis_t *taxis) ...@@ -201,10 +201,14 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
{ {
if ( !strStartsWith(tu+pos, "%y%m.%f") ) if ( !strStartsWith(tu+pos, "%y%m.%f") )
{ {
Message("Unsupported format %s for TIMEUNIT month!", tu+pos); Warning("Unsupported format %s for TIMEUNIT month!", tu+pos);
timeunit = -1; timeunit = -1;
} }
} }
else
{
Warning("Unsupported format for time units: %s!", tu);
}
} }
else if ( taxistype == TAXIS_RELATIVE ) else if ( taxistype == TAXIS_RELATIVE )
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment