Enable option to specify annual monthly range (fixes #95)
A single specified monthly range period should be considered annual and not seasonal. Also, in v0.15 the previous method of specifying a monthly range was lost due to a change in the format of clix-meta yaml files. This issue fixes the following:
- A monthly range should be handled as an annual period, i.e. the output frequency should be
yr
instead ofsem
. Most of the logic previously in theSeason
class has been moved to theAnnual
class. (Season
will need similar but different logic if/when custom seasonal specification is implemented.) - When using a monthly range, the output file will have two aux coords;
year
andseason
(previouslyseason_year
andseason
) - Monthly range is specified on climix command line as an argument to the
annual
period type, e.g.-p annual[fma]
- The output file name will contain the monthly range together with the index name, e.g.
fd-fma_*.nc
Edited by Joakim Löw