mirror of
https://github.com/MeteoSwiss/cosmo-archive-retrieve.git
synced 2026-08-26 10:44:22 +00:00
Read-only mirror of https://github.com/MeteoSwiss/cosmo-archive-retrieve — MeteoSwiss. Issues & pull requests at the source.
- Python 98.9%
- Shell 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| cosmo_archive_retrieve | ||
| doc | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .python-version | ||
| environment.yml | ||
| HISTORY.rst | ||
| Jenkinsfile | ||
| LICENSE | ||
| pyproject.toml | ||
| README.rst | ||
| sonar-project.properties | ||
=============================
cosmo-archive-retrieve
=============================
Python library for extracting datasets from the COSMO archive as zarr.
Setup virtual environment
.. code-block:: console
$ cd cosmo-archive-retrieve
$ conda env create -f environment.yml
$ conda activate cosmo-archive-retrieve
$ poetry run pre-install
$ poetry install
Run tests
.. code-block:: console
$ poetry run pytest
Generate documentation
.. code-block:: console
$ poetry run sphinx-build doc doc/_build
Then open the index.html file generated in *cosmo-archive-retrieve/build/_build/*
Build wheels
.. code-block:: console
$ poetry build