lexixu19 / Duplexity

https://duplexity.readthedocs.io/en/latest/
0 stars 0 forks source link

Duplexity Logo

Duplexity is a Python package that calculates validation metrics on meteorological data, including dynamical weather forecasts, AI model outputs and atmospheric reanalyses.

Installation

We have not yet made Duplexity pip-installable, as the project is still in the early development stages. This means the code is constantly changing, and we currently don't guarantee backwards compatibility when changes are made. Once a stable release of Duplexity is available, we will upload Duplexity to PyPI to make it pip-installable.

Follow these steps to install Duplexity:

Prerequisites

Ensure you have the following prerequisites installed on your system:

Clone the directory

Navigate to the directory you would like to clone the Duplexity repository into, and clone from GitHub:

git clone https://github.com/lexixu19/duplexity.git

Activate your environment

Create and/or activate the conda or pip environment you would like to use Duplexity within. For example:

conda create --name duplexity
conda activate duplexity

Install Duplexity

Ensure you are in the highest level of the Duplexity directory on your local system:

cd duplexity

You should be able to see setup.py in this directory. Run the following command to install Duplexity in your environment:

pip install .

Note: if you are a contributor or editor of the Duplexity environment, you should use pip install -e . to allow you to make edits which are immediately reflected when you import locally.

Importing Duplexity

You should now be able to import Duplexity when running your environment! Try it out:

image

Contributing

If there are metrics you would like to see added to Duplexity, please get in touch with the development team: Lexi Xu or Emily O'Riordan.

License

MIT