Modifications of Download.pbs needed on obelix
To download the data on obelix, Download.pbs needs to be modified. The code uses recent releases of Python (at least 3.6) and a recent version of Python needs to be loaded in the job. An environment is also created with the necessary modules. To create the environment, write the following lines in the shell (in folder "wfde5_orchidee_forcing") :
module load python/3.9
python3 -m venv CDS
source CDS/bin/activate
pip install cdsapi netCDF4 numpy cdo nco
deactivate
The following line can then be added after the #PBS lines in Download.pbs to enter the environment : source CDS/bin/activate
In obelix, the queue also needs to be specified. To do so, a #PBS line is added : #PBS -q long
.