Changeset 1333 for XIOS/dev/XIOS_DEV_CMIP6/src/io/nc4_data_output.cpp
- Timestamp:
- 11/17/17 16:52:57 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/io/nc4_data_output.cpp
r1332 r1333 1237 1237 SuperClassWriter::writeData(axis_value, axisid, isCollective, 0); 1238 1238 1239 axis_bounds.resize(2, indexToWrite.numElements()); 1240 for (int i = 0; i < nbWritten; ++i) 1239 if (!axis->bounds.isEmpty() && axis->label.isEmpty()) 1241 1240 { 1242 axis_bounds(0, i) = axis->bounds(0, int(indexToWrite(i))); 1243 axis_bounds(1, i) = axis->bounds(1, int(indexToWrite(i))); 1241 axis_bounds.resize(2, indexToWrite.numElements()); 1242 for (int i = 0; i < nbWritten; ++i) 1243 { 1244 axis_bounds(0, i) = axis->bounds(0, int(indexToWrite(i))); 1245 axis_bounds(1, i) = axis->bounds(1, int(indexToWrite(i))); 1246 } 1247 1248 SuperClassWriter::writeData(axis_bounds, axisBoundsId, isCollective, 0); 1244 1249 } 1245 1246 1247 if (!axis->bounds.isEmpty() && axis->label.isEmpty())1248 SuperClassWriter::writeData(axis_bounds, axisBoundsId, isCollective, 0);1249 1250 1250 1251 // Need to check after
Note: See TracChangeset
for help on using the changeset viewer.