-
Notifications
You must be signed in to change notification settings - Fork 0
/
namcouple
381 lines (380 loc) · 9.14 KB
/
namcouple
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
# This is a typical input file for OASIS 3.0, using netCDF format
# for restart input files. Oasis reads this file at run-time.
#
# Any line beginning with # is ignored. Blank lines are not allowed.
#
# $SEQMODE
# This keyword concerns the coupling algorithm. Put here the maximum number
# of fields that have to be, at one particular coupling timestep,
# necessarily exchanged sequentially in a given order.
# 1
# $END
#########################################################################
$NFIELDS
# This is the total number of fields being exchanged.
### 10 fields atm -> ice
### 15 fields ice -> ocn
### 7 fields ocn -> ice
### 1 fields ice -> atm
32
$END
#########################################################################
# $JOBNAME
# This is an acronym for this run.
# (3 characters)
# OIA
# $END
##########################################################################
$NBMODEL
# This gives you the number of models running in this experiment +
# their names (character*6, exactly!) + , in option, the maximum Fortran unit
# number used by each model; 1024 will be used if none are given.
#
3 cicexx matmxx mom5xx
$END
###########################################################################
$RUNTIME
# This gives you the total simulated time for this run in seconds
# NOTE: ACCESSOM2 does not use this. It is set programatically.
864000
$END
###########################################################################
# $INIDATE
# This is the initial date of the run. This is important only if
# FILLING analysis is used for a coupling field in the run.
# The format is YYYYMMDD such as 19910101
# #Inidate
# $END
###########################################################################
# $MODINFO
# Indicates if a header is encapsulated within the field brick
# in binary restart files for all communication techniques, and
# for coupling field exchanges for PIPE, SIPC and GMEM.
# (YES or NOT)
# NOT
# $END
###########################################################################
$NLOGPRT
# Index of printing level in output file cplout: 0 = no printing
# 1 = main routines and field names when treated, 2 = complete output
0
$END
###########################################################################
# $CALTYPE
# Calendar type : 0 = 365 day calendar (no leap years)
# 1 = 365 day, or 366 days for leap years, calendar
# n (>1) = n day month calendar
# This is important only if FILLING analysis is used for a coupling
# field in the run.
#
# #Caltype
# $END
###########################################################################
$STRINGS
#
# The above variables are the general parameters for the experiment.
# Everything below has to do with the fields being exchanged.
#
############################################################################
# --- note file cf_name_table.txt does not include all the coupling flds ---
# --- listed below. so the fld number (367 for swfld etc) may not point ---
# --- to the realistic 'longname' of the variable. (may modify this file ---
# --- to add more fields in the future.)
############################################################################
#
# ATMOSPHERE --->>> ICE
# -----------------------
##########
# Field 01 : swflx down
##########
swfld_ai swfld_i 367 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jrat_to_cict_CONSERV.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
#########
# Field 02 : lwflx down
##########
lwfld_ai lwfld_i 366 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jrat_to_cict_CONSERV.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
##########
# Field 03 : rainfall
##########
rain_ai rain_i 26 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jrat_to_cict_CONSERV.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
##########
# Field 04 : snowfall
##########
snow_ai snow_i 26 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jrat_to_cict_CONSERV.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
##########
# Field 05 : surface pressure
##########
press_ai press_i 33 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jra55_cice_smooth.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
##########
# Field 06 : runoff. Runoff is passed on the destination grid.
##########
runof_ai runof_i 297 10800 1 a2i.nc EXPORTED
cict cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS
INSTANT
##########
# Field 07 : near surface (2m) air temp
##########
tair_ai tair_i 110 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jra55_cice_smooth.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
##########
# Field 08 : 2m air humidity
##########
qair_ai qair_i 339 10800 3 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
LOCTRANS MAPPING SCRIPR
INSTANT
../INPUT/rmp_jra55_cice_smooth.nc dst
CONSERV LR SCALAR LATLON 10 FRACNNEI FIRST
##########
# Field 09 : 10m wind (u)
##########
uwnd_ai uwnd_i 56 10800 2 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
MAPPING SCRIPR
../INPUT/rmp_jra55_cice_smooth.nc dst
DISTWGT LR VECTOR LATLON 10 4 vwnd_ai
##########
# Field 10 : 10m wind (v)
##########
vwnd_ai vwnd_i 56 10800 2 a2i.nc EXPORTED
jrat cict LAG=0 SEQ=+1
P 0 P 0
#
MAPPING SCRIPR
../INPUT/rmp_jra55_cice_smooth.nc dst
DISTWGT LR VECTOR LATLON 10 4 uwnd_ai
############################################################################
#
# ICE --->>> OCEAN
# ----------------
##########
# Field 11 : ice-ocean interface stress (x-direction)
##########
strsu_io u_flux 170 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 12 : ice-ocean interface stress (y-direction)
##########
strsv_io v_flux 175 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 13 : freshwater flux
##########
rain_io lprec 27 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 14 : freshwater flux
##########
snow_io fprec 28 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 15 : salt flux (no ref no for saltflux yet!)
##########
stflx_io salt_flx 454 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 16 : next heat flux (heatflux into ocean. '42' not right.)
##########
htflx_io mh_flux 42 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 17 : swflux penetrating through ice into ocean
#########
swflx_io sw_flux 367 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 18 : latent heat flux
##########
qflux_io q_flux 452 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
#########
# Field 19 : Sensible heat flux
##########
shflx_io t_flux 362 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 20 : LW radiation flux down
##########
lwflx_io lw_flux 366 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 21 : runoff
##########
runof_io runof 297 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 22 : surface pressure
##########
press_io p 33 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 23 : ice concentration
##########
aice_io aice 44 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 24 : ice melting waterflux
##########
melt_io wfimelt 36 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 25 : ice forming eaterflux
##########
form_io wfiform 36 300 1 i2o.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
############################################################################
#
# OCEAN --->>> ICE
# ----------------
##########
# Field 26 : Sea surface temperature (Celsius in MOM4, Kelvin in MOM5)
##########
t_surf sst_i 1 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 27 : Sea surface salinity (psu)
##########
s_surf sss_i 312 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 28 : 'eastward' sea surface water velocity
##########
u_surf ssu_i 181 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 29 : 'northward' sea surface water velocity
##########
v_surf ssv_i 261 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 30 : frazil ice fromation energy (J/m^2)
# ('441' is "upward_sea_ice_basal_heat_flux' 'W m-2')
##########
frazil pfmice_i 441 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 31 : sea surface slope _x_ (m/m)
# ( '203' is "height" ...)
##########
dssldx sslx_i 203 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
##########
# Field 32 : sea surface slope _y_ (m/m)
# ( '310' is "sea_surface_elevation")
##########
dssldy ssly_i 310 300 1 o2i.nc IGNORED
cict cict LAG=0 SEQ=+1
#
LOCTRANS
INSTANT
$END