-
Notifications
You must be signed in to change notification settings - Fork 38
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
regrid_time does not have promised functionality #2176
Comments
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The stated goal of
regrid_time
is 'Align time axis for cubes so they can be subtracted', but it does not accomplish this goal. It takes two inputs: acube
, and afrequency
. Since it does not accept two cubes, I imagine it's meant to simply remove evidence of time information that could conflict between cubes, specified byfrequency
.I would like to subtract the value at one month from another. To accomplish this, I call
extract_month
using two different months. Then, I understand I should applyregrid_time
to each cube, and I imagine the correct choice of frequency isyr
, though it's not perfectly clear from the documentation. When I follow this procedure, I am still unable to subtract one from the other, getting the errorCoordinate 'month_number' has different points for the LHS cube 'surface_temperature' and RHS cube 'surface_temperature'
.Examining one cube at a time, I see that using
extract_month
creates an Auxiliary coordinate calledmonth_number
. No matter whatfrequency
I use,regrid_time
adds additional coordinatesday_of_month
andday_of_year
rather than removing auxiliary coordinatemonth_number
.@valeriupredoi? 🙃
The text was updated successfully, but these errors were encountered: