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
yrinstead ofsem. Most of the logic previously in theSeasonclass has been moved to theAnnualclass. (Seasonwill 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;
yearandseason(previouslyseason_yearandseason) - Monthly range is specified on climix command line as an argument to the
annualperiod 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