Reference implementation of CFA (Climate Forecast Aggregation) Conventions in Python 3 (3.9+).
There is now a setup.py
which will compile and install the required CFA-C
library. This superceeds any previous installation instructions. The user is
no longer required to compile the CFA-C library themselves.
-
Create a virtual environment (can name it anything)
python3 -m venv CFA-python-venv
-
Activate the virtual environment:
source CFA-python-venv/bin/activate
-
Clone the
CFA-Python
repository:git clone https://github.com/cedadev/CFA-Python.git
-
Go into the clone and install
cd CFA-Python pip install ./
-
Run the example
python test/examples/example1.py