Skip to content

Herbie accessors should be able to work for a GRIB2 file read by cfgrib that wasn't routed through Herbie #173

@blaylockbk

Description

@blaylockbk

If you read a GRIB2 file into xarray with cfgrib, it is still missing the projection info that Herbie gets from pyproj and pygrib. That means you can't use the

ds = xr.open_dataset("file.grib2", engine='cfgrib')
ds.herbie.crs  # <<-- !! THIS ERRORS, because no projection info

It would be nice if the accessor would do the work to get that info like the H.xarray method already does.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions