Documentation: https://ihmeuw.github.io/climate-data
Source Code: https://github.com/ihmeuw/climate-data
Pipelines to extract, format, and downscale ERA5 and CMIP6 data.
Instructions using conda:
-
Clone this repository.
Over ssh:
git clone [email protected]:ihmeuw/climate-data.git
Over https:
git clone https://github.com/ihmeuw/climate-data.git
-
Create a new conda environment.
conda create -n climate-data python=3.11 conda activate climate-data
-
Install
poetry
and the project dependencies.pip install poetry cd climate-data poetry install
Pre-commit hooks run all the auto-formatting (ruff format
), linters
(e.g. ruff
and mypy
), and other quality checks to make sure the changeset is in
good shape before a commit/push happens.
You can install the hooks with (runs for each commit):
pre-commit install
Or if you want them to run only for each push:
pre-commit install -t pre-push
Or if you want e.g. want to run all checks manually for all files:
poetry run pre-commit run --all-files