-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Is your feature request related to a problem? Please describe.
The method MultiFieldList.to_xarray() would be used only for data structures that support converting to an xarray object. A MultiFieldList in EarthKit is likely a collection of multiple Field objects, and to_xarray() would be designed to convert these collections into an xarray.Dataset, which is used for working with labeled multi-dimensional data.
MultiFieldList.to_xarray() was supposed to convert a MultiFieldList (which is essentially a list of Field objects) into an xarray.Dataset, but if it's not implemented, it means that the system was not designed to directly convert multi-field collections to xarray without additional processing.
Maybe can use some transformation from
https://github.com/ecmwf/earthkit-data/blob/develop/src/earthkit/data/readers/grib/xarray.py
earthkit.data.core.fieldlist.MultiFieldList.to_xarray()
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response
Organisation
No response