Changeset 538 for XIOS/trunk/src/config


Ignore:
Timestamp:
12/11/14 16:07:42 (9 years ago)
Author:
rlacroix
Message:

Convert more attributes to use the new duration type:

  • field: freq_op and freq_offset
  • file: output_freq, sync_freq and split_freq.

Remember that you now have to use the "xios_duration" type instead of strings to get/set those attributes through the Fortran interface.

Location:
XIOS/trunk/src/config
Files:
2 edited

Legend:

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

    r501 r538  
    77DECLARE_ATTRIBUTE(bool,      detect_missing_value) 
    88 
    9 DECLARE_ATTRIBUTE(StdString, freq_op) 
    10 DECLARE_ATTRIBUTE(StdString, freq_offset) 
     9DECLARE_ATTRIBUTE(CDuration, freq_op) 
     10DECLARE_ATTRIBUTE(CDuration, freq_offset) 
    1111DECLARE_ATTRIBUTE(int,       level) 
    1212DECLARE_ATTRIBUTE(int,       prec) 
  • XIOS/trunk/src/config/file_attribute.conf

    r528 r538  
    55DECLARE_ATTRIBUTE(int, min_digits ) 
    66 
    7 DECLARE_ATTRIBUTE(StdString, output_freq) 
     7DECLARE_ATTRIBUTE(CDuration, output_freq) 
    88DECLARE_ATTRIBUTE(int,       output_level) 
    9 DECLARE_ATTRIBUTE(StdString, sync_freq) 
    10 DECLARE_ATTRIBUTE(StdString, split_freq) 
     9DECLARE_ATTRIBUTE(CDuration, sync_freq) 
     10DECLARE_ATTRIBUTE(CDuration, split_freq) 
    1111DECLARE_ATTRIBUTE(StdString, split_freq_format) 
    1212DECLARE_ATTRIBUTE(bool,      enabled) 
Note: See TracChangeset for help on using the changeset viewer.