source: XIOS/trunk/src/config/field_attribute.conf @ 990

Last change on this file since 990 was 990, checked in by mhnguyen, 7 years ago

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

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 1.2 KB
Line 
1DECLARE_ATTRIBUTE(StdString, name)
2DECLARE_ATTRIBUTE(StdString, standard_name)
3DECLARE_ATTRIBUTE(StdString, long_name)
4
5DECLARE_ATTRIBUTE(StdString, unit)
6DECLARE_ATTRIBUTE(StdString, operation)
7DECLARE_ATTRIBUTE(bool,      detect_missing_value)
8
9DECLARE_ATTRIBUTE(CDuration, freq_op)
10DECLARE_ATTRIBUTE(CDuration, freq_offset)
11DECLARE_ATTRIBUTE(int,       level)
12DECLARE_ATTRIBUTE(int,       prec)
13
14DECLARE_ATTRIBUTE(bool,      enabled)
15DECLARE_ATTRIBUTE(bool,      read_access)
16DECLARE_ATTRIBUTE(bool,      indexed_output)
17
18DECLARE_ATTRIBUTE(StdString, domain_ref)
19DECLARE_ATTRIBUTE(StdString, axis_ref)
20DECLARE_ATTRIBUTE(StdString, scalar_ref)
21DECLARE_ATTRIBUTE(StdString, grid_ref)
22DECLARE_ATTRIBUTE(StdString, field_ref)
23DECLARE_ATTRIBUTE(StdString, grid_path)
24
25DECLARE_ATTRIBUTE(double,    default_value)
26DECLARE_ATTRIBUTE(double,    valid_min)
27DECLARE_ATTRIBUTE(double,    valid_max)
28DECLARE_ATTRIBUTE(double,    add_offset)
29DECLARE_ATTRIBUTE(double,    scale_factor)
30
31DECLARE_ATTRIBUTE(int,       compression_level)
32
33DECLARE_ATTRIBUTE(bool,      ts_enabled)
34DECLARE_ATTRIBUTE(CDuration, ts_split_freq)
35
36DECLARE_ATTRIBUTE(StdString, cell_methods)
37DECLARE_ENUM4(cell_methods_mode,  overwrite, prefix, suffix, none)
Note: See TracBrowser for help on using the repository browser.