Guide to install RAT's Dev Version
First create project directory structure.
We will use the
rat3_projectas the project directory for running RAT. We will use
modelsto store the models vic, metsim, vic-routing and RAT.
secretsdirectories would be used to store various sorts of data, parameter files and secrets repectively.
Next, we will clone RAT from github into the
Create the conda environment, and install RAT using conda develop.
Now you will be able to
import ratand its components in the
./.envenvironment. Any changes you make in the RAT's source code in models/RAT/src/ directory will be imported. While installing rat as a conda package gives access to the cli command
ratallowing interface to rat. The same behavior can be imitated in a development install by calling passing the arguments to the script
models/RAT/src/rat/cli/rat_cli.py. Let's use this interface to initialize RAT. RAT requires some secrets to be able to use various functionalities, which have to be stored in the
secrets/secrets.inifile. Read more about it .
RAT has not been initialized (hydrological models set up, global data downloaded and the parameter file has been populated). Follow instructions to complete the rest of the parameter file so that RAT can be run. To run RAT using the parameter file