-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
executable file
·200 lines (195 loc) · 8.99 KB
/
config.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
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
#!/bin/bash
#
# --------------------------------------------------------------------------
# Copyright(C) 2018 Florida Institute of Technology
# Copyright(C) 2018 Peyman Taeb & Robert J Weaver
#
# This program is prepared as a part of the Multi-stage tool.
# The Multi-stage tool is an open-source software providing the copyright
# holders the rights to run, study, change, and distribute the software under
# the terms and conditions of the third version of the GNU General Public
# License (GPLv3) as published in 2007.
#
# Although careful considerations are given to the development of the
# Multi-stage tool with the aim of usefulness and helpfulness, we do not
# make any warranty express or implied, do not assume any responsibility for
# the accuracy, completeness, or usefulness of any components and outcomes.
#
# The terms and conditions of the GPL are available to anybody receiving a
# copy of the Multi-stage tool. It can be also found in
# <http://www.gnu.org/licenses/gpl.html>.
# --------------------------------------------------------------------------
#
# General setting
#
ID=IRL_production # simulation ID (the name of the coastal estuary)
estuary="IndianRiverLagoon" # The name of the estuary
HINDCASTLENGTH=9 # Total length of stage one simulation
HOTSTARTFORMAT=binary # Hotstart file format (netCDF not supported yet)
platform=coconut #
#
NCPU=46 # Number of CPUs to use (same for stage one and two)
outputWriter=0 # Number of output writers (not supported yet)
MET="background" # Meteorology type: [background/TC]
#
EXEDIR=/home/ptaeb/ADCIRC/v52release/work/ # dir containing ADCIRC executable files
mainDIR=/home4/ptaeb/multi.stage/ # dir containing multi-stage scripts
PERL5LIB=/home4/ptaeb/multi.stage/utility/PERL # dir containing DataCale.pm perl module
#
s1_INPDIR=/home4/ptaeb/multi.stage/input/domain/ecPT/ # dir containing stage 1 mesh, nodal attribute
s2_INPDIR=/home4/ptaeb/multi.stage/input/domain/IRL/ # dir containing stage 2 mesh, nodal attribute, swan template
met_INPDIR=/home4/ptaeb/multi.stage/MET/ # dir containing meteorological forcing
#
# -------------------------------------------------------------------------
# M O D E (forecast/hindcast)
MODE="FORECAST" # FORECAST/HINDCAST
# We use NAM analysis for both coarse and fine mesh. No GEFS on nowcast as nowcast is performed to spin up the meteorology
#NAM_analysis_wind=/home/ptaeb/GEFS.multistage/version-2/uv/NAM_2018100812_2018100900.222
#NAM_analysis_press=/home/ptaeb/GEFS.multistage/version-2/uv/NAM_2018100812_2018100900.221
#HINDCAST_NWS12_wind_s1=/home/ptaeb/GEFS.multistage/version-2/uv/fort.222_mean_ec_large
#HINDCAST_NWS12_press_s1=/home/ptaeb/GEFS.multistage/version-2/uv/fort.221_mean_ec_large
#HINDCAST_NWS12_wind_s2=/home/ptaeb/GEFS.multistage/version-2/uv/fort.222_mean_IRL
#HINDCAST_NWS12_press_s2=/home/ptaeb/GEFS.multistage/version-2/uv/fort.221_mean_IRL
#nowCSDATE=2018100812 # Uncomment it for hindcast and developing purposes
#nowenddate=2018100900
#forecastCSDATE=2018100900
#forecastenddate=2018101212
# ----------------------------------------------------------------
# S T A G E O N E I N P U T S
#
CSDATE=2020050100 # cold start time
S1_dt=20 # time step size
s1_grd=ecPT.v7.grd # grid name
s1_cntrl=control.adcirc.15 # ctntrol file
s1_ndlattr=ecPT.v7.13 # nodall atribute input file
s1_swan26=control.swan.26
s1_ELEVSTATIONS=s1.stations.txt
s1_VELSTATIONS=s1.current.station.txt
s1_METSTATIONS=s1.stations.txt
s1_WAVESTATION=wave-coarseMesh
#
# ----------------------------------------------------------------
# S T A G E T W O I N P U T S
#
S2_dt=2
s2_grd=ecIRL.HRLA.PD.v7.2.grd
s2_cntrl=control.adcirc.15
s2_ndlattr=ecIRL.HRLA.PD.v7.2.13
s2_swan26=control.swan.26
s2_ELEVSTATIONS=s2.wl.stations.txt
s2_ELEVgnuplot=s2.wl.gnuplot.txt
s2_VELSTATIONS=null
s2_METSTATIONS=s2.wl.stations.txt
s2_WAVEstation=s2.hs.stations.txt
s2_WAVEgnuplot=s2.hs.gnuplot.txt
# ----------------------------------------------------------------
# W A V E S (S2)
WAVES="on" # waves "on" or "off"
SWANDT=1800
S2SPINUP=0 # spin-up time for HRLA domain (in days)
fricType=JONswap # SWAN BOTTOM FRICTION TYPE
#
# -------------------------------------------------------------------
# Geiod Offset
# unit, site number and the name of the NOAA tide¤t station
# for adjusting the geiod offset (capturing the low-freq variation
# along the east coast)
#
unit="metric" # English or metric
site="8721604" # station ID (8721604 for Trident Pier)
interval="60" # interval in minute
datum="NAVD"
#
# -------------------------------------------------------------------
# Background Meteorology
#
# The NAM input configuration is ignored if BACKGROUNDMET=off.
BACKSITE=ftp.ncep.noaa.gov # NAM forecast data from NCEP
BACKDIR=/pub/data/nccf/com/nam/prod # contains the nam.yGyyymmdd files
FORECASTLENGTH=84 # hours of NAM forecast to run (max 84)
PTFILE=ptFile.txt # the file that provides the lat/lons
# for the OWI background met
FORECASTCYCLE="00,06,12,18"
#
#
# ALTNAMDIR="/corral/hurri:cane/asgs_output,/corral/hurricane/asgs_ec95d"
# ALTNAMDIR="/projects/ncfs/data/asgs5463","/projects/ncfs/data/asgs14174"
# ------------------------------------------------------------------
# TROPICAL CYCLONE
#
# The tropical cyclone input configuration is ignored if TROPICALCYCLONE=off.
START=coldstart # "hotstart" or "coldstart". Equal to HOTORCOLD in asgs
STARTADVISORYNUM=11 # starting advisory number, set to zero if
# downloading forecast advisories via rss
STORMNAME=Alberto # equal to INSTANCENAME in asgs
STORM=01
YEAR=2018
TRIGGER=ftp # either "ftp" or "rss"
RSSSITE=www.nhc.noaa.gov # site information for retrieving advisories
FTPSITE=ftp.nhc.noaa.gov # real anon ftp site for hindcast/forecast files
#FDIR=/atcf/afst # Old forecast dir on nhc ftp site
FDIR=/atcf/fst # New forecast dir on nhc ftp site
HDIR=/atcf/btk # hindcast dir on nhc ftp site
RMAX=default
PERCENT=default
ENSEMBLESIZE=1 # number of storms in the ensemble
STORMLIST[0]=1 # NHC consensus forecast
case $si in
0)
ENSTORM=forecast
;;
esac
# ------------------------------------------------------------------
# B O U N D AR Y C O N D I T I O N
#
# Boundary forcing type: elevation, or flux (flux not supported yet)
BCTYPE=elevation
# Boundary forcing frequency (time interval)
BCFREQ=20
# boundary nodes, executable, etc
BNDIR=/home4/ptaeb/multi.stage/utility/buildf19/
BNNAME=BN_IRL_adjstd_LatLon
#-------------------------------------------------------------------
# Output configuration
#
FORT61="--fort61freq 900" # water surface elevation station output
FORT62="--fort62freq 1800" # water current velocity station output
#FORT63="--fort63freq 1800.0 --fort63netcdf --netcdf4" # full domain water surface elevation output
#FORT63="--fort63freq 1800.0 --fort63netcdf netcdf"
FORT63="--fort63freq 1800.0"
FORT64="--fort64freq 1800.0" # full domain water current velocity output
FORT7172="--fort7172freq 1800.0" # met station output
FORT7374="--fort7374freq 1800.0" # full domain meteorological output
NETCDF4="--netcdf4"
OUTPUTOPTIONS="${FORT61} ${FORT62} ${FORT63} ${FORT64} ${FORT7172} ${FORT7374}"
#-------------------------------------------------------------------
# Notification configuration
#-------------------------------------------------------------------
EMAILNOTIFY=yes # set to yes to have host platform email notifications
NOTIFY_SCRIPT=gen_notify.sh
ACTIVATE_LIST="[email protected]"
NEW_ADVISORY_LIST="[email protected]"
POST_INIT_LIST="[email protected]"
POST_LIST="[email protected]"
notify_list="[email protected]"
#
# -------------------------------------------------------------------
# GNUPLOT visualiztion
gnutemplate=/home4/ptaeb/multi.stage/utility/template.gp
#
# -------------------------------------------------------------------
# Remote system for creating time-intensive 2D contours
#
server="163.118.12.206" # IP
remote=/home/ptaeb/MSplots/
FIGUREGENEXECUTABLEremote=/home/ptaeb/FigGen/Latest_version/FigureGen.x
NCPUremote=5
#
#-------------------------------------------------------------------
# Post Processing configuration
#-------------------------------------------------------------------
INITPOST=FIT_init_post.sh
POSTPROCESS=trans_contour.sh
TARGET=coconut
localserver="163.118.174.30"
github=/home4/ptaeb/GitHub/