⚙️ CI | |
✨ Meta | |
📦 Package | |
🧰 Repo | |
Provides Python bindings to the C library libmo_unpack which contains packing methods used to encode and decode the data payloads of Met Office UM Post-Processing and Fields files.
Supports both RLE and WGDOS encoding methods.
First, create a conda
environment with the required mo_pack
package dependencies:
conda env create --file requirements/mo_pack.yml
Then activate the conda
environment:
conda activate mo-pack-dev
Now, perform a developer (editable) installation of mo_pack
:
pip install --no-deps --editable .
Before testing mo_pack
to ensure that the installation is successful, build the cython
extension:
python setup.py clean_cython
python setup.py build_ext --inplace
Now run the mo_pack
tests:
pytest
mo_pack
is distributed under the terms of the BSD-3-Clause license.