Changeset 1266 for XIOS/dev/XIOS_DEV_CMIP6/src
- Timestamp:
- 09/15/17 14:37:50 (7 years ago)
- Location:
- XIOS/dev/XIOS_DEV_CMIP6/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/XIOS_DEV_CMIP6/src/config/axis_attribute.conf
r1158 r1266 4 4 5 5 DECLARE_ATTRIBUTE(StdString, unit) 6 DECLARE_ATTRIBUTE(StdString, formula) 7 DECLARE_ATTRIBUTE(StdString, formula_term) 8 DECLARE_ATTRIBUTE(StdString, formula_bounds) 9 DECLARE_ATTRIBUTE(StdString, formula_term_bounds) 6 10 7 11 DECLARE_ATTRIBUTE(int, n_glo) -
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.