Changeset 2436 for XIOS3/trunk


Ignore:
Timestamp:
12/06/22 11:21:12 (19 months ago)
Author:
ymipsl
Message:

Fix incorrect CF attribute : formula_term -> formula_terms in nectdf file. Note that the XIOS attribute formula_term remain unchanged for retro-compatibility
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/io/nc4_data_output.cpp

    r2413 r2436  
    11581158 
    11591159            if (!axis->formula_term.isEmpty()) 
    1160               SuperClassWriter::addAttribute("formula_term", axis->formula_term.getValue(), &axisid); 
     1160              SuperClassWriter::addAttribute("formula_terms", axis->formula_term.getValue(), &axisid); 
    11611161               
    11621162            axisBoundsId = (axis->bounds_name.isEmpty()) ? axisid + "_bounds" : axis->bounds_name; 
     
    11771177 
    11781178              if (!axis->formula_term_bounds.isEmpty()) 
    1179                 SuperClassWriter::addAttribute("formula_term", axis->formula_term_bounds.getValue(), &axisBoundsId); 
     1179                SuperClassWriter::addAttribute("formula_terms", axis->formula_term_bounds.getValue(), &axisBoundsId); 
    11801180            } 
    11811181          } 
Note: See TracChangeset for help on using the changeset viewer.