ecmwf / earthkit-data

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

cfgrib does not need to be specified. #268

Closed EddyCMWF closed 7 months ago

EddyCMWF commented 7 months ago

cfgrib engine automatically detects when it is needed, hene it is not neccesary to include in open_dataset kwargs. Additionally current implementation prevents using different engine (which we are working on)

sandorkertesz commented 7 months ago

Hi @EddyCMWF, I am afraid it is not as simple as that. earthkit-data is passing itself to cfgrib as a "fieldset". If you want to use other engines the code in xarray.py should be changed (or the engine should support the same technique).

sandorkertesz commented 7 months ago

@EddyCMWF, what is the "different engine (which we are working on)"?