diff --git a/Scripts/preprocess_CORDEX.sh b/Scripts/preprocess_CORDEX.sh index f39aa96f9d8f9df7f79e9be9de86bf50d9c71889..13cf2f9d1a7e743abbccb4f22a6cb95b3759c740 100644 --- a/Scripts/preprocess_CORDEX.sh +++ b/Scripts/preprocess_CORDEX.sh @@ -1,5 +1,11 @@ #!/bin/bash +# activate conda environment +conda activate climax + +# move to project directory +cd ~/git/climax + # source path: input data SOURCE_PATH='/mnt/CEPH_PROJECTS/SCENARIO/CLIMATEDATA/' @@ -17,10 +23,10 @@ PR_INVENTORY='/mnt/CEPH_PROJECTS/FACT_CLIMAX/CORDEX/Inventory/pr/pr_inventory_se # preprocess EuroCordex simulations # tasmin -time python climax/main/preprocess_CORDEX.py $TARGET_GRID $SOURCE_PATH $TARGET_PATH -f $TASMIN_INVENTORY -m 'bilinear' -rm -a -o +time python climax/main/preprocess/preprocess_CORDEX.py $TARGET_GRID $SOURCE_PATH $TARGET_PATH -f $TASMIN_INVENTORY -m 'bilinear' -rm -a -o # tasmax -time python climax/main/preprocess_CORDEX.py $TARGET_GRID $SOURCE_PATH $TARGET_PATH -f $TASMAX_INVENTORY -m 'bilinear' -rm -a -o +time python climax/main/preprocess/preprocess_CORDEX.py $TARGET_GRID $SOURCE_PATH $TARGET_PATH -f $TASMAX_INVENTORY -m 'bilinear' -rm -a -o # pr -time python climax/main/preprocess_CORDEX.py $TARGET_GRID $SOURCE_PATH $TARGET_PATH -f $PR_INVENTORY -m 'bilinear' -rm -a -o \ No newline at end of file +time python climax/main/preprocess/preprocess_CORDEX.py $TARGET_GRID $SOURCE_PATH $TARGET_PATH -f $PR_INVENTORY -m 'bilinear' -rm -a -o