Skip to content

Commit

Permalink
Add a script to do 'makepointdata' only, for using on CADES.
Browse files Browse the repository at this point in the history
  • Loading branch information
fmyuan authored and dmricciuto committed Jun 11, 2021
1 parent bfde99d commit 13cc3c1
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions daymet_makepointonly_pointlist_example.sbatch
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#!/bin/bash -f
#SBATCH --time 24:00:00
#SBATCH -A ccsi
#SBATCH -p batch
#SBATCH --mem=125G
#SBATCH -N 1
#SBATCH -n 1
#SBATCH --ntasks-per-node 1
#SBATCH --job-name=makepointonly
#SBATCH -o ./%j-output.txt
#SBATCH -e ./%j-error.txt
#SBATCH --exclusive

source $MODULESHOME/init/bash
source ~/.bashrc

ZONING_FILE=daymet_zone_mappings.txt

cwd=$(pwd)

if python ./makepointdata.py \
--ccsm_input /lustre/or-hydra/cades-ccsi/proj-shared/project_acme/ACME_inputdata \
--keep_duplicates \
--lat_bounds -999,-999 --lon_bounds -999,-999 \
--mysimyr 1850 \
--model ELM \
--surfdata_grid --res hcru_hcru \
--point_list ${ZONING_FILE} \
--point_area_kmxkm 1.0 & sleep 10

then
wait

echo "DONE making point data for point_list ${ZONING_FILE} !"

else
exit &?
fi

cd ${cwd}

0 comments on commit 13cc3c1

Please sign in to comment.