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

Check positive attribute for scalar z coordinates (bug fix).

parent fc835ddf
2017-12-07 Uwe Schulzweida
* Check positive attribute for scalar z coordinates (bug fix)
2017-11-23 Uwe Schulzweida
* netCDF: set coordinate attribute to "tlon tlat" for GRID_TRAJECTORY (bug fix)
......
......@@ -1415,6 +1415,11 @@ void cdf_scan_var_attr(int nvars, ncvar_t *ncvars, ncdim_t *ncdims, int timedimi
cdf_set_dim(ncvars, ncvarid, 0, Z_AXIS);
ncdims[ncvars[ncvarid].dimids[0]].dimtype = Z_AXIS;
}
if ( ncvars[ncvarid].ndims == 0 )
{
cdf_set_var(ncvars, ncvarid, FALSE);
ncvars[ncvarid].islev = true;
}
}
else if ( isNumber && strcmp(attname, "_FillValue") == 0 )
{
......
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