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

Added global option CDI_reduce_dim.

parent bd4cf5b7
......@@ -40,6 +40,7 @@ int cdiConvention = CDI_CONVENTION_ECHAM;
int cdiInventoryMode = 1;
int CDI_Version_Info = 1;
int CDI_cmor_mode = 0;
int CDI_reduce_dim = 0;
size_t CDI_netcdf_hdr_pad = 0UL;
bool CDI_netcdf_lazy_grid_load = false;
......@@ -477,6 +478,7 @@ void cdiDefGlobal(const char *string, int val)
else if ( strcmp(string, "HAVE_MISSVAL") == 0 ) cdiHaveMissval = val;
else if ( strcmp(string, "NC_CHUNKSIZEHINT") == 0 ) cdiNcChunksizehint = val;
else if ( strcmp(string, "CMOR_MODE") == 0 ) CDI_cmor_mode = val;
else if ( strcmp(string, "REDUCE_DIM") == 0 ) CDI_reduce_dim = val;
else if ( strcmp(string, "NETCDF_HDR_PAD") == 0 ) CDI_netcdf_hdr_pad = (size_t) val;
else if ( strcmp(string, "NETCDF_LAZY_GRID_LOAD") == 0)
CDI_netcdf_lazy_grid_load = (bool)val;
......
......@@ -341,6 +341,7 @@ extern int cdiConvention;
extern int cdiInventoryMode;
extern int CDI_Version_Info;
extern int CDI_cmor_mode;
extern int CDI_reduce_dim;
extern size_t CDI_netcdf_hdr_pad;
extern bool CDI_netcdf_lazy_grid_load;
extern int STREAM_Debug;
......
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