Skip to content

Proposal: Move xarray loaders to earthkit-data #482

@ninaburg

Description

@ninaburg

Hi,

I’m Nina (Pilot project on Emerging Technologies). Part of our work is to help bring earthkit-data into wider use, and I would like to contribute here.

In anemoi-datasets, several sources still use the custom xarray_support layer. Since earthkit-data now handles NetCDF, Zarr, OPeNDAP, kerchunk, etc., I’d like to start replacing code that can be cleanly migrated.

Likely candidates:

  • create/sources/xarray.py
  • create/sources/xarray_zarr.py
  • create/sources/xarray_kerchunk.py
  • create/sources/opendap.py
  • create/sources/netcdf.py
  • The whole xarray_support/ directory (fieldlist, variable, coordinates, flavour, patch)

I already tested a small prototype of a NetCDF loader using earthkit-data and would be happy to open a PR if this direction makes sense.

Before proceeding:

  • Is this migration aligned with your plans, and are there parts of xarray_support that should remain?

Thanks,
Nina

@frazane adding you here so you're aware of this development.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    To be triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions