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

varDefZaxis: don't remove default of longname and units.

parent d48b9845
2018-02-12 Uwe Schulzweida
* varDefZaxis: don't remove default of longname and units
2018-02-03 Uwe Schulzweida
* Fix brocken ECHAM5 modelIDs (introduced in 1.9.3)
......
......@@ -1019,9 +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, "");
//else zaxisDefLongname(zaxisID, "");
if ( units && units[0] ) zaxisDefUnits(zaxisID, units);
else zaxisDefUnits(zaxisID, "");
//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