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

Several scripts failing with intake when using npl-2024b environment #50

Open
fobryan3 opened this issue Oct 21, 2024 · 0 comments
Open

Comments

@fobryan3
Copy link
Contributor

An error emerges when using conda environment 2024b for all scripts that use intake to access the observations catalog. The following code segment reproduces the error:

import intake
catalog = intake.open_catalog('/glade/u/home/gmarques/libs/oce-catalogs/reference-datasets.yml')
obs = catalog['woa-2018-tx2_3v2-annual-all'].to_dask()

The to_dask() method triggers the error:

AttributeError: 'NetCDFSource' object has no attribute 'pattern'

This does not occur in environment npl-2024a.

Note that npl environments between 2023a and 2024a included intake version 0.7.0 while 2024b has 2.0.6.

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

No branches or pull requests

1 participant