Changeset 2434


Ignore:
Timestamp:
12/06/22 11:18:33 (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
  • XIOS2/trunk/src/io/nc4_data_output.cpp

    r2297 r2434  
    12711271 
    12721272            if (!axis->formula_term.isEmpty()) 
    1273               SuperClassWriter::addAttribute("formula_term", axis->formula_term.getValue(), &axisid); 
     1273              SuperClassWriter::addAttribute("formula_terms", axis->formula_term.getValue(), &axisid); 
    12741274               
    12751275            axisBoundsId = (axis->bounds_name.isEmpty()) ? axisid + "_bounds" : axis->bounds_name; 
     
    12901290 
    12911291              if (!axis->formula_term_bounds.isEmpty()) 
    1292                 SuperClassWriter::addAttribute("formula_term", axis->formula_term_bounds.getValue(), &axisBoundsId); 
     1292                SuperClassWriter::addAttribute("formula_terms", axis->formula_term_bounds.getValue(), &axisBoundsId); 
    12931293            } 
    12941294          } 
Note: See TracChangeset for help on using the changeset viewer.