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

Multiple NetCDF name constraints before Cube creation #6228

Open
trexfeathers opened this issue Nov 13, 2024 · 0 comments
Open

Multiple NetCDF name constraints before Cube creation #6228

trexfeathers opened this issue Nov 13, 2024 · 0 comments

Comments

@trexfeathers
Copy link
Contributor

✨ Feature Request

It should be possible to use this code when loading a NetCDF file, and only these 3 Cubes should be created. I.e. loading a file with 60 variables should not create 60 Cubes before constraining:

iris.load_cubes(file, ['var1', 'var2, 'var3'])

See #6223

Motivation

Currently NetCDF files with many variables are very slow to load, even if you only want a few of the variables (i.e. Cubes) to load. This is because all the Cubes must be created first before filtering can be done.

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

No branches or pull requests

1 participant