Handling of run dates when using XIOS
Hello, newbie here. I'm using CROCO with XIOS (detached mode). This implies the compiler key USE_CALENDAR.
I am trying to understand how run dates are configured in CROCO.
My aim is to configure a particular run period (e.g. 01-Jan-2020 to 01-Mar-2020) and I want the resulting netCDF file to contain a CF-compliant date axis that represents exactly these dates.
Some questions about the settings in croco.in:
- I have defined run_start_date and run_end_date, do I need to set NTIMES as well? If yes, why? Surely one defines the other unambiguously.
- what's the meaning of start_date if I have already set run_start_date?
- Why is origin_date required in the croco.in file when running with XIOS? AFAIK this should be defined in iodef.xml as
<context id="xios" time_origin="1950-01-01 00:00:00" >
?
Can anyone help me to understand how to achieve a consistent handling of dates.
Thanks, Fred