Ignore:
Timestamp:
11/16/16 14:53:24 (7 years ago)
Author:
mhnguyen
Message:

Adding new attributes for fields: cell_methods and cell_methods_mode

cell_methods defines the string appearing in cell_methods meta data of a field
cell_methods_mode specifies modes to write out cell_methods. This attribute is only taken place if only if cell_methods is not empty()
+) overwrite: cell_methods string replaces default value of cell_methods meta data (Also default behavior if only cell_methods is defined)
+) prefix: concatenate cell_methods string as prefix of cell_methods meta data
+) suffix: concatenate cell_methods string as suffix of cell_methods meta data
+) none: do nothing

Test
+) On Curie
+) Work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/config/field_attribute.conf

    r887 r990  
    3333DECLARE_ATTRIBUTE(bool,      ts_enabled) 
    3434DECLARE_ATTRIBUTE(CDuration, ts_split_freq) 
     35 
     36DECLARE_ATTRIBUTE(StdString, cell_methods) 
     37DECLARE_ENUM4(cell_methods_mode,  overwrite, prefix, suffix, none) 
Note: See TracChangeset for help on using the changeset viewer.