Commit 0415ce02 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

defineAttributes(): use cdf_put_att_float() for single precision float attributes

parent bb59704d
......@@ -627,7 +627,7 @@ void defineAttributes(int vlistID, int varID, int fileID, int ncvarID)
cdf_put_att_float(fileID, ncvarID, attname, NC_FLOAT, len, attflt_sp);
cdf_put_att_double(fileID, ncvarID, attname, atttype == DATATYPE_FLT32 ? NC_FLOAT : NC_DOUBLE, len, attflt);
cdf_put_att_double(fileID, ncvarID, attname, NC_DOUBLE, len, attflt);
Supports Markdown
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