-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_ufs.sh
executable file
·38 lines (33 loc) · 1.04 KB
/
run_ufs.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
set -u
########################################################################
# Run UFS model outside of workflow and slightly following RT testing, but with more flexibility
# https://ufs-weather-model.readthedocs.io/en/ufs-v2.0.0/
# C96 (~100 km), C192 (~50 km), C384 (25 km), C768 (~13 km), C1152 (~9km)
# Default SFS configuration
####################################
# Set Top options
#export DTG=1994050100 && export RUN=SFS
export APP=S2S
export RUN=GEFS
export DTG=2021032506
export ICDIR=${NPB_WORKDIR}/ICs/${DTG}
export JOB_QUEUE=debug #batch # batch or debug on hera
export DEBUG_SCRIPTS=F
export RUNDIR_UNIQUE=F
############
# model updates
export FORECAST_LENGTH=6 #$(( 31 * 24 * 4 )) # in hours
export WALLCLOCK=5 #$(( 3 * 60 )) # in minutes
export OFFSET_START_HOUR=0
export ENS_SETTINGS=F
export DA_INCREMENTS=T
export ENS_RESTART=F
export USE_ATM_PERTURB_FILES=F
export USE_OCN_PERTURB_FILES=F
############
# Submit Forecast
TOPDIR=${PWD}
export HOMEufs=${TOPDIR}/UFS
export SCRIPT_DIR=${TOPDIR}/SCRIPTS
${SCRIPT_DIR}/UFS-submit.sh