Skip to content

How to handle data with mixtures of Grib 1 and Grib 2? #244

@alxmrs

Description

@alxmrs

I'm running the XarrayZarrRecipe on an internal Era 5 dataset. I just found out it uses a mixture of Grib 1 and Grib 2 standards within the same files. The simple way I can convert the corpus to Zarr would involve filtering out some of the data (e.g. ecmwf/cfgrib#2): The way cfgrib works with xarray is to get all the variables, we have to call open_dataset on the same file with different filter_by_key arguments.

Is there a clean way to work with mixed variable grib files today with pangeo-forge? If not, do we update the recipe to handle this use case?

xref:

CC: @rabernat @cisaacstern

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