Skip to content
Snippets Groups Projects
Commit 233f069b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Zonstat.cc: changed field2 initialisation.

parent 1a293910
No related branches found
No related tags found
No related merge requests found
......@@ -175,9 +175,13 @@ Zonstat(void *process)
const auto nlatmax = gridInqYsize(gridID2);
Field field1, field2;
field2.resize(nlatmax, 0.0);
field2.grid = gridID2;
field2.memType = MemType::Double;
auto zonVar = varList1[0];
zonVar.gridID = gridID2;
zonVar.gridsize = nlatmax;
zonVar.nlevels = 1;
zonVar.memType = MemType::Double;
field2.init(zonVar);
Varray2D<size_t> remapIndices;
Varray2D<double> remapWeights;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment