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

Set default data type for grids to CDI_DATATYPE_FLT64.

parent 9b63eaf9
2018-04-26 Uwe Schulzweida
* Version 1.9.4 released
2018-03-16 Uwe Schulzweida
* Set default data type for grids to CDI_DATATYPE_FLT64
2018-02-27 Uwe Schulzweida
* Added support for GRIB2 key section2Padding
......
......@@ -44,7 +44,7 @@ int cdfDefDatatype(int datatype, int filetype)
int xtype = NC_FLOAT;
if ( datatype == CDI_DATATYPE_CPX32 || datatype == CDI_DATATYPE_CPX64 )
Error("CDI/NetCDF library does not support complex numbers!");
Error("CDI library does not support complex numbers with NetCDF!");
if ( filetype == CDI_FILETYPE_NC4 )
{
......
......@@ -148,7 +148,7 @@ void grid_init(grid_t *gridptr)
gridptr->number = 0;
gridptr->position = 0;
gridptr->reference = NULL;
gridptr->datatype = 0;
gridptr->datatype = CDI_DATATYPE_FLT64;
gridptr->size = 0;
gridptr->x.size = 0;
gridptr->y.size = 0;
......
......@@ -139,7 +139,7 @@ void zaxis_init(zaxis_t *zaxisptr)
zaxisptr->positive = 0;
zaxisptr->scalar = 0;
zaxisptr->direction = 0;
zaxisptr->datatype = 0;
zaxisptr->datatype = CDI_DATATYPE_FLT64;
zaxisptr->size = 0;
zaxisptr->vctsize = 0;
zaxisptr->vct = NULL;
......
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