earthkit-climdates - Compute model climate dates

The earthkit-climdates can be invoked with various actions documented here, as follows:

earthkit-climdates <action> [args...]
-h, --help

Print a help message and exit. Can be used as earthkit-climdates --help as well as for actions, e.g. earthkit-climdates range --help.

range - Compute climatological date ranges

Compute climatological date ranges, one day per year in a given range:

earthkit-climdates range [--sep <sep>] (--from-date <start> | --from-year <start> | --from-rel-year <start>) (--to-date <end> | --to-year <end> | --to-rel-year <end>) <date>

The list is printed using the given separator, as documented in Formatting lists of dates.

--from-date <start>

Return dates starting from this one

--from-year <start>

Return dates starting from this year

--from-rel-year <start>

Return dates starting from this number after the year in date (e.g. --from-rel-year -5 will start 5 years earlier)

--to-date <end>

Return dates up to this one

--to-year <end>

Return dates up to this year

--to-rel-year <end>

Return dates up to this number after the year in date (e.g. --to-rel-year -1 will end in the year before)

date

The date to use as a reference (YYYYMMDD)

mclim - Compute sets of dates for model climatologies

This combines a climatological range (see range - Compute climatological date ranges) and a recurring source (e.g. twice a week).

Usage:

earthkit-climdates mclim <sequence> [--sep <sep>] (--from-date <start> | --from-year <start> | --from-rel-year <start>) (--to-date <end> | --to-year <end> | --to-rel-year <end>) --before <num> --after <num> <date>

The sequence is described as documented in Specifying sequences. The list is printed using the given separator, as documented in Formatting lists of dates.

--from-date <start>

Return dates starting from this one

--from-year <start>

Return dates starting from this year

--from-rel-year <start>

Return dates starting from this number after the year of the current date (e.g. --from-rel-year -5 will start 5 years earlier)

--to-date <end>

Return dates up to this one

--to-year <end>

Return dates up to this year

--before <num>

Pick up all inputs starting from num days before the chosen date

--after <num>

Pick up all inputs up to num days after the chosen date

--to-rel-year <end>

Return dates up to this number after the year of the current date (e.g. --to-rel-year -1 will end in the year before)

date

The date to use as a reference (YYYYMMDD)