CfGRIB.CfGRIBModule

    CfGRIB.jl

    lifecycle Build Status Codecov latest release Apache 2 license

    Description

    CfGRIB.jl is a julia interface to map GRIB files to the Unidata's Common Data Model v4 following the CF Conventions.

    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.

    Low level access and decoding is performed by calling GRIB.jl which itself calls the ECMWF ecCodes library.

    Installation

    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:

    using CfGRIB