Skip to content
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

Make extract_point/extract_location/extract_coordinate_points preprocessor functions lazy #2446

Open
bouweandela opened this issue Jun 4, 2024 · 1 comment
Assignees
Labels
dask related to improvements using Dask

Comments

@bouweandela
Copy link
Member

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

@bouweandela bouweandela added the dask related to improvements using Dask label Jun 4, 2024
@bouweandela
Copy link
Member Author

@fnattino Is planning to look into this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dask related to improvements using Dask
Projects
Status: In Progress
Development

No branches or pull requests

2 participants