This program performs a comparison between a simple traditional ensemble and a cluster-based ensemble.
- Python 3.7.6
- UNIX based shell such as bash or z shell
- Combined dataset in netDF format
-
Add the combined dataset in netCDF format in the
files
directory with the namecombined-data.nc
. Or go to themain.py
file and update theData
class instantiation call to match your dataset location. -
Open the terminal and navigate to the the project's directory
cd <path/to/project>
. -
Run
sudo pip3 install -r requirements.txt
orsudo pip install -r requirements.txt
in order to install the project's dependencies listed in therequirements.txt
. (Creating a virtual environment is recommended before this stage so that the dependencies don't get installed directly into your machine). -
Run
python3 main.py
orpython main.py
to execute the program. -
Verify the output file was generated in the
files
directory with the namecomparison.nc
.
These instructions assume your operating system is UNIX based, for example MacOS. Windows might require different steps and setup.