Datasets:
Download code/backtest.sh from sanvicpatel/protostar-climate-ensemble: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/datasets/sanvicpatel/protostar-climate-ensemble/resolve/main/code/backtest.sh
- Command line
-
hf download hf://datasets/sanvicpatel/protostar-climate-ensemble/code/backtest.sh
-
curl -L -o backtest.sh https://huggingface.co/datasets/sanvicpatel/protostar-climate-ensemble/resolve/main/code/backtest.sh
401 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| export OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 | |
| mkdir -p reports | |
| origins=1976,1983,1990,1995,1997,1999,2001,2003,2004,2005,2007,2009,2010,2011,2018 | |
| for script in experiments advanced climate direct teleconnection; do | |
| python "code/$script.py" --origins "$origins" | |
| done | |
| python code/selection.py --mode balanced --regional .35 --write "$@" | |