Commit 99fe40b3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdf_define_all_grids: added gridmap parameter only for new grids.

parent fb1db16e
......@@ -2847,7 +2847,6 @@ int cdf_define_all_grids(stream_t *streamptr, ncgrid_t *ncgrid, int vlistID, ncd
if (gridIsNew)
const int projID = lgrid ? grid->proj : gridID;
printf("gridID, projID %d %d\n", gridID, projID);
const int ncid = ncvars[gmapvarid].ncid;
const int gmapvartype = ncvars[gmapvarid].xtype;
cdiDefKeyInt(projID, CDI_GLOBAL, CDI_KEY_GRIDMAP_VARTYPE, gmapvartype);
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