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

zaxisDuplicate: init target attributes (bug fix) .

parent 48254452
2020-02-20 Uwe Schulzweida
* zaxisDuplicate: init target attributes (bug fix) [report: Fabian Wachsmann]
2020-02-19 Uwe Schulzweida 2020-02-19 Uwe Schulzweida
* NetCDF: read lat bounds of a Gaussian reduced grid * NetCDF: read lat bounds of a Gaussian reduced grid
......
...@@ -1180,6 +1180,7 @@ int zaxisDuplicate(int zaxisID) ...@@ -1180,6 +1180,7 @@ int zaxisDuplicate(int zaxisID)
} }
} }
zaxisptrnew->atts.nelems = 0;
cdiCopyAtts(zaxisID, CDI_GLOBAL, zaxisIDnew, CDI_GLOBAL); cdiCopyAtts(zaxisID, CDI_GLOBAL, zaxisIDnew, CDI_GLOBAL);
return zaxisIDnew; return zaxisIDnew;
......
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