Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
b85e3ac0
Commit
b85e3ac0
authored
Mar 16, 2018
by
Uwe Schulzweida
Browse files
Set default data type for grids to CDI_DATATYPE_FLT64.
parent
9b63eaf9
Changes
4
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
b85e3ac0
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
...
...
src/cdf_write.c
View file @
b85e3ac0
...
...
@@ -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
)
{
...
...
src/grid.c
View file @
b85e3ac0
...
...
@@ -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
;
...
...
src/zaxis.c
View file @
b85e3ac0
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment