Commit 85b1032a authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdiInitialize: read env CDI_DEBUG

parent 2fab577a
......@@ -179,6 +179,9 @@ void cdiInitialize(void)
gribSetConst(1); // 1: Don't pack constant fields on regular grids
#endif
value = cdiGetenvInt("CDI_DEBUG");
if ( value >= 0 ) CDI_Debug = (int) value;
value = cdiGetenvInt("CDI_GRIBAPI_DEBUG");
if ( value >= 0 ) cdiGribApiDebug = (int) value;
......
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