ESMValGroup / ESMValCore

ESMValCore: A community tool for pre-processing data from Earth system models in CMIP and running analysis scripts.
https://www.esmvaltool.org
Apache License 2.0
42 stars 38 forks source link

Make extract_point/extract_location/extract_coordinate_points preprocessor functions lazy #2446

Open bouweandela opened 4 months ago

bouweandela commented 4 months ago

These preprocessor functions depend on interpolation schemes in Iris: https://github.com/ESMValGroup/ESMValCore/blob/d37a5029f8f30868c312b3ad57bb9abb5dc182a3/esmvalcore/preprocessor/_regrid.py#L75-L79 which are not lazy: https://github.com/SciTools/iris/blob/57096f29f6f2c5ff278d616df5e2da4d2bab95e2/lib/iris/analysis/_interpolation.py#L208-L209

bouweandela commented 4 months ago

@fnattino Is planning to look into this.