Changeset 532 for XIOS/trunk/src/config


Ignore:
Timestamp:
12/10/14 14:27:09 (10 years ago)
Author:
rlacroix
Message:

Add a new attribute type for dates and use it for the context's start_date and time_origin.

The "xios_date" type should now be used to get/set date attributes through the Fortran interface. This avoids using strings to manipulate dates.

File:
1 edited

Legend:

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

    r526 r532  
    11DECLARE_ENUM5(calendar_type, D360, AllLeap, NoLeap, Julian, Gregorian) 
    2 DECLARE_ATTRIBUTE(StdString, start_date) 
    3 DECLARE_ATTRIBUTE(StdString, time_origin) 
     2DECLARE_ATTRIBUTE(CDate, start_date) 
     3DECLARE_ATTRIBUTE(CDate, time_origin) 
    44DECLARE_ATTRIBUTE(StdString, timestep) 
    55DECLARE_ATTRIBUTE(StdString, output_dir) 
Note: See TracChangeset for help on using the changeset viewer.