Commit 571c9f6f authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfDefVarMissval: fix type _FillValue_FillValue.

parent 2b8896fb
...@@ -97,7 +97,7 @@ void cdfDefVarMissval(stream_t *streamptr, int varID, int dtype, int lcheck) ...@@ -97,7 +97,7 @@ void cdfDefVarMissval(stream_t *streamptr, int varID, int dtype, int lcheck)
if ( streamptr->ncmode != 2 || if ( streamptr->ncmode != 2 ||
streamptr->filetype == CDI_FILETYPE_NC || streamptr->filetype == CDI_FILETYPE_NC ||
streamptr->filetype == CDI_FILETYPE_NC2 ) streamptr->filetype == CDI_FILETYPE_NC2 )
cdf_put_att_double(fileID, ncvarid, "_FillValue_FillValue", (nc_type) xtype, 1, &missval); cdf_put_att_double(fileID, ncvarid, "_FillValue", (nc_type) xtype, 1, &missval);
cdf_put_att_double(fileID, ncvarid, "missing_value", (nc_type) xtype, 1, &missval); cdf_put_att_double(fileID, ncvarid, "missing_value", (nc_type) xtype, 1, &missval);
......
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