This package is based on the python implementation in cfgrib.py and closely follows the approaches of that package, but in Julia instead. Parity tests are automatically performed between the two to ensure that the data returned by the Julia version is equivalent to that from Python.
In Python xarray has come out to be a standard way to implement named arrays, however as Julia is a much younger language no stable array interface has been adopted by the community yet, so the approach here is more flexible and allows for multiple array backends to be used.
The package is currently under heavy development so it has not been added to the Julia package registry yet. To install the package first clone this repository:
git clone https://github.com/robertrosca/CfGRIB.jl/ cd CfGRIB.jl
Then start Julia, enter the pkg mode, activate the project (projects are similar to python
venv's), install the GRIB.jl package (as it is also not on the registry), and then finally you can instantiate CfGRIB.jl to get the rest of the dependencies:
activate . add https://github.com/weech/GRIB.jl instantiate
Finally exit pkg mode by pressing backspace, and use the package as usual: