Skip to content

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

@fobryan3

Description

@fobryan3

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions