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>) (--to-date <end> | --to-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

--to-date <end>

Return dates up to this one

--to-year <end>

Return dates up to this year

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>) (--to-date <end> | --to-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

--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

date

The date to use as a reference (YYYYMMDD)