Skip to content

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

@wachsylon

Description

@wachsylon

I think self.pattern needs to be changed into self.path_as_pattern:

if self.pattern:

I run into the issue with a simple

sources:
  2D_const_0.25deg:
    description: 2D constant variables from IFS-AMIP
    driver: netcdf
    args:
      urlpath: "/work/bk1377/b382473/IFS_AMIP/prepIFS/OSTIA/gribscan/2D_const_0.25deg/*.grib"
      xarray_kwargs:
        engine: cfgrib

catalog.

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