Commit 4b6092d5 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfInqContents: support of grid stdname 'longitude' and 'latitude'

parent c14fce20
......@@ -3,6 +3,7 @@
* add new function: streamSync
* add new taxis functions: taxisXXXVdateBounds and taxisXXXVtimeBounds
* cdfReadVarSliceDP: add swapxy support
* cdfInqContents: support of grid stdname 'longitude' and 'latitude'
* netcdf: support of timeunit 'year'
* Version 1.2.1 released
......
......@@ -4200,6 +4200,7 @@ int cdfInqContents(int streamID)
strcmp(ncvars[ncvarid].units, "degrees_E") == 0 ||
strcmp(ncvars[ncvarid].units, "degreeE") == 0 ||
strcmp(ncvars[ncvarid].units, "degreesE") == 0 ||
strcmp(ncvars[ncvarid].stdname, "longitude") == 0 ||
(strcmp(ncvars[ncvarid].units, "degrees") == 0 &&
strcmp(ncvars[ncvarid].stdname, "grid_longitude") == 0) ||
(strcmp(ncvars[ncvarid].units, "radian") == 0 &&
......@@ -4214,6 +4215,7 @@ int cdfInqContents(int streamID)
strcmp(ncvars[ncvarid].units, "degrees_N") == 0 ||
strcmp(ncvars[ncvarid].units, "degreeN") == 0 ||
strcmp(ncvars[ncvarid].units, "degreesN") == 0 ||
strcmp(ncvars[ncvarid].stdname, "latitude") == 0 ||
(strcmp(ncvars[ncvarid].units, "degrees") == 0 &&
strcmp(ncvars[ncvarid].stdname, "grid_latitude") == 0) ||
(strcmp(ncvars[ncvarid].units, "radian") == 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