ecmwf / earthkit-data

A format-agnostic Python interface for geospatial data
Apache License 2.0
57 stars 17 forks source link

Review changes for upcoming 0.11.0 release #508

Closed sandorkertesz closed 3 weeks ago

sandorkertesz commented 3 weeks ago

This is the discussion page for the major (breaking) changes in this release.

Xarray engine

A new Xarray engine "earthkit" was implemented and used by default in Field.to_xarray(). The old (cfgrib) engine can also be invoked via engine="cfgrib". This is definitely a BREAKING change.

Q:

SimpleFieldList

This is a fieldlist that simply stores a list of arbitrary fields. It is a top level object and can be directly imported from earthkit-data. For detailed discussion see here: #471

Q:

Array backend

The array backends for the fields/fieldlists were refactored and simplified with some breaking changes. For detailed discussion see here: #471

Q:

Field modification

The Field.copy() and Field.to_field() methods were added to alter field metadata and values. They have slightly different behaviours.

Q: