C2SM / iconarray

R&D Python package for processing ICON data with xarray
https://c2sm.github.io/iconarray/
BSD 3-Clause "New" or "Revised" License
10 stars 2 forks source link

Merge GRIB files #28

Open victoria-cherkas opened 1 year ago

victoria-cherkas commented 1 year ago

If we want to plot / work with multiple grib files, ie timeseries, then it would be useful to have single ds with all data. eg using cfgrib and https://docs.xarray.dev/en/stable/generated/xarray.combine_by_coords.html

regDaniel commented 1 year ago

Thanks for opening this issue, it would be a nice feature to have! @clairemerker also found out that there are performance issues when merging datasets which were loaded with the cfgrib engine (see here). However we didn't yet check whether this is relevant for us and should probably do a small test before starting with the implementation.