Development setup with CondaΒΆ

You can set up a development environment using Conda. Below are the instructions to do so.

First, clone the repository locally. You can use the following command:

git clone --branch develop git@github.com:ecmwf/earthkit-data.git

Then, create a new environment and activate it:

conda create -n earthkit-data python=3.12
conda activate earthkit-data

Lastly, enter your git repository and run the following commands:

pip install -e .[dev]
pre-commit install

This setup enables the `pre-commit`_ hooks, performing a series of quality control checks on every commit. If any of these checks fails the commit will be rejected.