-
Notifications
You must be signed in to change notification settings - Fork 39
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
Proposal to deprecate the callback
argument from esmvalcore.preprocessor.load
in v2.8 and remove it in v2.10.
#1800
Comments
Sounds good to me! |
can we maybe convert it to a different load engine eg an xarray dataset or a GRIB file? I am starting to think how to support other formats, like GRIB |
Iris supports Grib perfectly fine; no change needed. I am ok with removing the callback as-is. Mid- to long-term, we might want to use the (extended?) Iris callback functionality for some of the fixing. That should help avoid most |
@bouweandela I started working on this here #1901 |
Thanks V! I did the same thing in #1801, but then I realized that this change was backward incompatible, even if nobody might be using the feature, so I thought it might be better to deprecate it instead and add some workarounds so it keeps working even with the new |
Here's a question for you - as it stands now I removed all instances of |
we could just remove it and not deprecate it since only two cmorizers use the load callback, apart from that no recipe afaik - we can just fix those cmorizers? |
Sorry for starting a new PR, bud - I completely missed the linked PR upstream - my old Firefox has lost the ability to remove floating temporary popping windows so I might have missed that hidden behind one of those (need to upgrade, yes, I know 😁 ) |
Hi @valeriupredoi and @bouweandela, shall we move this to v2.9 since the corresponding PR was shifted to v2.9? Or do you think you would have time to address this issue during this week? Thanks 👍 |
@remi-kazeroni I think @bouweandela is rather under a lot of snow with #1609 and the other baby PRs belonging to it - maybe we can push this to 2.9 since it's not a history-defining change anyways? |
In #1609, I deprecated the feature and set the version for removing it to v2.10. I'll bump this issue to v2.10 too then. |
callback
argument from esmvalcore.preprocessor.load
.callback
argument from esmvalcore.preprocessor.load
in v2.8 and remove it in v2.10.
I would like to deprecate the
callback
argument from theesmvalcore.preprocessor.load
function because itDataset.load
function in Support wildcards in the recipe and improve support for ancillary variables and dataset versioning #1609. See the example notebook for the intended use ofDataset.load
. This function would do everything related to loading the data: fixes, cmor checks, concatenation, and attaching ancillary variables.@ESMValGroup/esmvaltool-coreteam Would this change cause problems for your work?
The text was updated successfully, but these errors were encountered: