-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iris.coord_categorisation.add_season_year_preceding()
#4877
Comments
I think you still need some form of iris/lib/iris/coord_categorisation.py Lines 118 to 122 in 09fac5b
|
@kaedonkers how would you feel about an example in the docs, rather than more API? I'm assuming that this could be achieved with a few more lines of user code, but do correct me if I'm wrong. |
Hmm, good spot @rcomer. I'll need to give that a little more testing then. |
@kaedonkers any thoughts on this? It's OK to not be |
Sorry, I never picked this up again. Is this something someone else can make happen? |
✨ Feature Request
Add an alternative to
iris.coord_categorisation.add_season_year()
which assigns seasons which span two years to the preceding year instead of the following year.Motivation
iris.coord_categorisation.add_season_year()
is an excellent feature and very handy for comparing multiple timeseries datasets. However, it has an inherent assumption that a season which spans two years (i.e. includes December and January) will be assigned to the later rather than the earlier year. We have had a usecase where we want to compare the effects of monthly climate indices to several months of meteorological data after the climate index month (since we know that specific climate indices affect the weather variables we are analysing).Proposed change
Proposed change/addition to
iris.coord_categorisation
(which essentially just removes the use of_month_year_adjusts()
):The text was updated successfully, but these errors were encountered: