We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f72d7da commit f5b9fbaCopy full SHA for f5b9fba
core/src/ParaGridIO.cpp
@@ -275,7 +275,7 @@ void ParaGridIO::dumpModelState(
275
for (auto entry : ModelArray::definedDimensions) {
276
ModelArray::Dimension dim = entry.first;
277
size_t dimSz = (dimCompMap.count(dim)) ? ModelArray::nComponents(dimCompMap.at(dim))
278
- : dimSz = entry.second.globalLength;
+ : dimSz = entry.second.localLength;
279
ncFromMAMap[dim] = dataGroup.addDim(entry.second.name, dimSz);
280
// TODO Do I need to add data, even if it is just integers 0...n-1?
281
}
0 commit comments