Commit 0a409ed6 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed CDI_Version_Info to CDO_version_info.

parent 863469c1
......@@ -124,7 +124,7 @@ static int cdfOpenFile(const char *filename, const char *mode, int *filetype)
else if ( *filetype == CDI_FILETYPE_NC4C ) writemode |= NC_NETCDF4 | NC_CLASSIC_MODEL;
#endif
cdf_create(filename, writemode, &ncid);
if ( CDI_Version_Info ) cdfComment(ncid);
if ( CDO_version_info ) cdfComment(ncid);
cdf_put_att_text(ncid, NC_GLOBAL, "Conventions", 6, "CF-1.6");
break;
case 'a':
......
......@@ -32,7 +32,7 @@ bool cdiIgnoreValidRange = false;
int cdiSkipRecords = 0;
int cdiConvention = CDI_CONVENTION_ECHAM;
int cdiInventoryMode = 1;
int CDI_Version_Info = 1;
int CDO_version_info = 1;
int CDI_read_cell_corners = 1;
int CDI_cmor_mode = 0;
int CDI_reduce_dim = 0;
......@@ -419,9 +419,9 @@ void cdiInitialize(void)
int ival = atoi(envstr);
if ( ival == 0 || ival == 1 )
{
CDI_Version_Info = ival;
CDO_version_info = ival;
if ( CDI_Debug )
Message("CDI_Version_Info = %s", envstr);
Message("CDO_version_info = %s", envstr);
}
}
......
......@@ -346,7 +346,7 @@ extern bool cdiIgnoreValidRange;
extern int cdiSkipRecords;
extern int cdiConvention;
extern int cdiInventoryMode;
extern int CDI_Version_Info;
extern int CDO_version_info;
extern int CDI_read_cell_corners;
extern int CDI_cmor_mode;
extern int CDI_reduce_dim;
......
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