Skip to content

Make extract_point/extract_location/extract_coordinate_points preprocessor functions lazy #2446

Closed

Description

@bouweandela

These preprocessor functions depend on interpolation schemes in Iris:

# Supported point interpolation schemes.
POINT_INTERPOLATION_SCHEMES = {
'linear': Linear(extrapolation_mode='mask'),
'nearest': Nearest(extrapolation_mode='mask'),
}

which are not lazy:
https://github.com/SciTools/iris/blob/57096f29f6f2c5ff278d616df5e2da4d2bab95e2/lib/iris/analysis/_interpolation.py#L208-L209

Activity

  1. bouweandela commented on Jun 4, 2024

    @bouweandela
    MemberAuthor

    @fnattino Is planning to look into this.

  2. bouweandela commented on Jan 30, 2025

    @bouweandela
    MemberAuthor

    Now that SciTools/iris#6084 has been merged, this will be lazy with the next release of iris (3.12).

  3. schlunma commented on May 13, 2025

    @schlunma
    Contributor

    Looks like this can be closed 🎉

  4. bouweandela commented on May 13, 2025

    @bouweandela
    MemberAuthor

    Did you test if it works without any changes to ESMValCore?

  5. bouweandela commented on May 13, 2025

    @bouweandela
    MemberAuthor

    Just tested, this works with Iris v3.12.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

daskrelated to improvements using Dask

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions