JuliaClimate/ClimateBase.jl

[FR] GRIB support through CfGRIB.jl

Balinus opened this issue · 2 comments

ECMWF just relased CfGRIB.jl for reading and importing Grib data. It expose the data as either DimensionalData or AxisArrays.

Would be interesting to link it with ClimateBase.jl, which would allow some manipulations.

https://github.com/ecmwf/cfgrib.jl
https://www.ecmwf.int/en/newsletter/166/news/new-way-accessing-grib-data-using-julia-language

Oh, didn't know about this package. Okay, that makes solving this issue trivial, as we only have to transform the output DimensionalArray to ClimArray, which is direct: ClimArray(A::DimensionalArray).

Nice! That seemed trivial indeed, a simple wrapper function.