Commit 9a8cbc05 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

varDefZaxis: removed default of longname and units.

parent ff5bcf09
......@@ -1019,7 +1019,9 @@ int varDefZaxis(int vlistID, int zaxistype, int nlevels, const double *levels, c
if ( name && name[0] ) zaxisDefName(zaxisID, name);
if ( longname && longname[0] ) zaxisDefLongname(zaxisID, longname);
else zaxisDefLongname(zaxisID, "");
if ( units && units[0] ) zaxisDefUnits(zaxisID, units);
else zaxisDefUnits(zaxisID, "");
zaxisDefDatatype(zaxisID, prec);
zaxisDefLtype(zaxisID, ltype1);
}
......
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