forked from NOAA-EMC/GEFS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgefs.parm
executable file
·137 lines (113 loc) · 3.78 KB
/
gefs.parm
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#!/bin/ksh -l
###################################################################
# This parm file defines the control variables for the GEFS model
###################################################################
##############################################
# Number of pairs to run (normally 10 pairs)
##############################################
export npert=${npert:-30}
export navg_min=${navg_min:-20}
export nstinit=${nstinit:-yes}
#################################################
# Forecast Hour: fhmax and fhmaxh and fhmax_ext
#################################################
export fhmaxh=${fhmaxh:-384}
export fhmax00=${fhmax00:-${fhmax:-840}}
export fhmax06=${fhmax06:-${fhmax:-384}}
export fhmax12=${fhmax12:-${fhmax:-384}}
export fhmax18=${fhmax18:-${fhmax:-384}}
export fhmax_aer=${fhmax_aer:-120}
export fhcplwave=${fhcplwave:-384}
#OUTPUT frequency
export FHMAXHF=${FHMAXHF:-240}
export FHOUTHF=${FHOUTHF:-3}
export FHOUTLF=${FHOUTLF:-6}
# Frequency of initializations
export fhrp=${fhrp:-06}
export gefs_cych=${gefs_cych:-6}
case $cyc in
(00)
fhmax=$fhmax00 ;;
(06)
fhmax=$fhmax06 ;;
(12)
fhmax=$fhmax12 ;;
(18)
fhmax=$fhmax18 ;;
(*)
echo
echo UNDEFINED CYCLE cyc=$cyc
echo
echo unmodified fhmax=$fhmax
;;
esac
memberlist="c00"
imem=1
while [[ imem -le $npert ]];
do
memberlist="$memberlist p$(printf %02i $imem)"
(( imem++ ))
done
export memberlist
if [[ ${RUNMEM:-none} = "geaer" ]]; then cplchm=".true."; fi
export cplchm=${cplchm:-.false.}
if [[ $cplchm = ".true." ]]; then
# Override forecast length
export fhmaxh=$fhmax_aer
export fhmax=$fhmax_aer
export AEROSOL_INIT_TYPE=${AEROSOL_INIT_TYPE:-"warm"}
export cplwav=".false." # Running both chem and waves is not yet supported
fi
export fhmax
if (( fhmax <= fhmaxh )); then export fhmaxh=$fhmax; fi
if (( FHMAXHF > fhmaxh )); then export FHMAXHF=$fhmaxh; fi
export restart_interval=${fhrestart:-12}
export restart_interval_aer=${restart_interval_aer:-12}
export other_restart_time=${other_restart_time:-6}
if [[ $cplchm = ".true." ]]; then
export restart_interval=$restart_interval_aer
export other_restart_time=${other_restart_time:-$gefs_cych}
fi
#pass these variables to gefs_wave.parm
export FHMIN_WAV=${FHMIN_WAV:-0}
export FHOUT_WAV=${FHOUTLF:-6}
export FHMAX_WAV=${fhmaxh:-384}
export FHMAX_HF_WAV=${FHMAXHF:-240}
export FHOUT_HF_WAV=${FHOUTHF:-3}
#######################################
# This section defines the resolution
#######################################
#For the half-month range part of FV3 based forecast
export CASEHR=${CASEHR:-C384}
export LEVSHR=${LEVSHR:-64}
export DELTIM=${DELTIM:-450}
export JCAPFV=${JCAPFV:-766}
export LATBFV=${LATBFV:-768}
export LONBFV=${LONBFV:-1536}
export MTNRSLFV=${MTNRSLFV:-766.1536.768}
#For the longer range part of FV3 based forecast
export CASELR=${CASELR:-C384}
export LEVSLR=${LEVSLR:-64}
export DELTIMLR=${DELTIMLR:-450}
export JCAPLR=${JCAPLR:-766}
export LATBLR=${LATBLR:-768}
export LONBLR=${LONBLR:-1536}
export MTNRSLLR=${MTNRSLLR:-766.1536.768}
export NTRACLR=${NTRACLR:-3}
#for new vertical coordinate
export IDVC=${IDVC:-2}
#export IDVM=32
export imp_physics=${imp_physics:-"11"}
########################################
# This section defines the output flags for ncep_post + prdgen
########################################
export FV3OUT_GRID="gaussian_grid"
export GRIBVERSION=grib2
export REMAP_GRID=${REMAP_GRID:-latlon} #gaussian or latlon for using regrid or regrid_nemsio for remapping
export gfsfhmaxh=240
export gfsfhoroglist=252
# The following options are fore re-forecast
export save_pgrb2_p5=${save_pgrb2_p5:-NO}
export save_pgrb2_p25=${save_pgrb2_p25:-NO}
# List of contacts to mail when there is mail sent by mail.py for product degredation
export MAIL_LIST=${MAIL_LIST:-"Bing.Fu@noaa.gov,Walter.Kolczynski@noaa.gov,Xianwu.Xue@noaa.gov"}