Changeset 1266 for XIOS/dev/XIOS_DEV_CMIP6/src/io
- Timestamp:
- 09/15/17 14:37:50 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/io/nc4_data_output.cpp
r1249 r1266 1189 1189 } 1190 1190 1191 if (!axis->formula.isEmpty()) 1192 SuperClassWriter::addAttribute("formula", axis->formula.getValue(), &axisid); 1193 1194 if (!axis->formula_term.isEmpty()) 1195 SuperClassWriter::addAttribute("formula_term", axis->formula_term.getValue(), &axisid); 1196 1191 1197 StdString axisBoundsId = axisid + "_bounds"; 1192 1198 if (!axis->bounds.isEmpty() && axis->label.isEmpty()) … … 1195 1201 SuperClassWriter::addVariable(axisBoundsId, typePrec, dims); 1196 1202 SuperClassWriter::addAttribute("bounds", axisBoundsId, &axisid); 1203 if (!axis->formula_bounds.isEmpty()) 1204 SuperClassWriter::addAttribute("formula", axis->formula_bounds.getValue(), &axisid); 1205 1206 if (!axis->formula_term_bounds.isEmpty()) 1207 SuperClassWriter::addAttribute("formula_term", axis->formula_bounds.getValue(), &axisid); 1197 1208 } 1198 1209 1210 1199 1211 SuperClassWriter::definition_end(); 1200 1212
Note: See TracChangeset
for help on using the changeset viewer.