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

bug fix for scanning the WRF time axis

parent 1f8a150d
......@@ -2,6 +2,10 @@
* Version 1.7.0 released
2015-08-11 Uwe Schulzweida
* bug fix for scanning the WRF time axis
2015-08-07 Uwe Schulzweida
* cdiStreamSetupVlist: added call to vlist_unlock(vlistID) (bug fix)
......
......@@ -489,7 +489,7 @@ int xtypeIsText(int xtype)
isText = TRUE;
#endif
return (isText);
return isText;
}
static
......@@ -7430,7 +7430,7 @@ void find_time_vars(int nvars, ncvar_t *ncvars, ncdim_t *ncdims, int timedimid,
if ( ncvarid != streamptr->basetime.ncvarid &&
ncvars[ncvarid].ndims == 2 &&
timedimid == ncvars[ncvarid].dimids[0] &&
!xtypeIsText(ncvars[ncvarid].xtype) &&
xtypeIsText(ncvars[ncvarid].xtype) &&
ncdims[ncvars[ncvarid].dimids[1]].len == 19 )
{
streamptr->basetime.ncvarid = ncvarid;
......
Markdown is supported
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