-
Notifications
You must be signed in to change notification settings - Fork 540
/
ww3_grid.nml
787 lines (736 loc) · 29.9 KB
/
ww3_grid.nml
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
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
! -------------------------------------------------------------------- !
! WAVEWATCH III - ww3_grid.nml - Grid pre-processing !
! -------------------------------------------------------------------- !
! -------------------------------------------------------------------- !
! Define the spectrum parameterization via SPECTRUM_NML namelist
!
! * namelist must be terminated with /
! * definitions & defaults:
! SPECTRUM%XFR = 0. ! frequency increment
! SPECTRUM%FREQ1 = 0. ! first frequency (Hz)
! SPECTRUM%NK = 0 ! number of frequencies (wavenumbers)
! SPECTRUM%NTH = 0 ! number of direction bins
! SPECTRUM%THOFF = 0. ! relative offset of first direction [-0.5,0.5]
! -------------------------------------------------------------------- !
&SPECTRUM_NML
SPECTRUM%XFR = 1.1
SPECTRUM%FREQ1 = 0.04118
SPECTRUM%NK = 32
SPECTRUM%NTH = 24
/
! -------------------------------------------------------------------- !
! Define the run parameterization via RUN_NML namelist
!
! * namelist must be terminated with /
! * definitions & defaults:
! RUN%FLDRY = F ! dry run (I/O only, no calculation)
! RUN%FLCX = F ! x-component of propagation
! RUN%FLCY = F ! y-component of propagation
! RUN%FLCTH = F ! direction shift
! RUN%FLCK = F ! wavenumber shift
! RUN%FLSOU = F ! source terms
! -------------------------------------------------------------------- !
&RUN_NML
RUN%FLCX = T
RUN%FLCY = T
RUN%FLCTH = T
RUN%FLSOU = T
/
! -------------------------------------------------------------------- !
! Define the timesteps parameterization via TIMESTEPS_NML namelist
!
! * It is highly recommended to set up time steps which are multiple
! between them.
!
! * The first time step to calculate is the maximum CFL time step
! which depend on the lowest frequency FREQ1 previously set up and the
! lowest spatial grid resolution in meters DXY.
! reminder : 1 degree=60minutes // 1minute=1mile // 1mile=1.852km
! The formula for the CFL time is :
! Tcfl = DXY / (G / (FREQ1*4*Pi) ) with the constants Pi=3,14 and G=9.8m/s²;
! DTXY ~= 90% Tcfl
! DTMAX ~= 3 * DTXY (maximum global time step limit)
!
! * The refraction time step depends on how strong can be the current velocities
! on your grid :
! DTKTH ~= DTMAX / 2 ! in case of no or light current velocities
! DTKTH ~= DTMAX / 10 ! in case of strong current velocities
!
! * The source terms time step is usually defined between 5s and 60s.
! A common value is 10s.
! DTMIN ~= 10
!
! * namelist must be terminated with /
! * definitions & defaults:
! TIMESTEPS%DTMAX = 0. ! maximum global time step (s)
! TIMESTEPS%DTXY = 0. ! maximum CFL time step for x-y (s)
! TIMESTEPS%DTKTH = 0. ! maximum CFL time step for k-th (s)
! TIMESTEPS%DTMIN = 0. ! minimum source term time step (s)
! -------------------------------------------------------------------- !
&TIMESTEPS_NML
TIMESTEPS%DTMAX = 480.
TIMESTEPS%DTXY = 160.
TIMESTEPS%DTKTH = 240.
TIMESTEPS%DTMIN = 10.
/
! -------------------------------------------------------------------- !
! Define the grid to preprocess via GRID_NML namelist
!
! * the tunable parameters for source terms, propagation schemes, and
! numerics are read using namelists.
! * Any namelist found in the folowing sections is temporarily written
! to param.scratch, and read from there if necessary.
! * The order of the namelists is immaterial.
! * Namelists not needed for the given switch settings will be skipped
! automatically
!
! * grid type can be :
! 'RECT' : rectilinear
! 'CURV' : curvilinear
! 'UNST' : unstructured (triangle-based)
!
! * coordinate system can be :
! 'SPHE' : Spherical (degrees)
! 'CART' : Cartesian (meters)
!
! * grid closure can only be applied in spherical coordinates
!
! * grid closure can be :
! 'NONE' : No closure is applied
! 'SMPL' : Simple grid closure. Grid is periodic in the
! : i-index and wraps at i=NX+1. In other words,
! : (NX+1,J) => (1,J). A grid with simple closure
! : may be rectilinear or curvilinear.
! 'TRPL' : Tripole grid closure : Grid is periodic in the
! : i-index and wraps at i=NX+1 and has closure at
! : j=NY+1. In other words, (NX+1,J<=NY) => (1,J)
! : and (I,NY+1) => (NX-I+1,NY). Tripole
! : grid closure requires that NX be even. A grid
! : with tripole closure must be curvilinear.
!
! * The coastline limit depth is the value which distinguish the sea
! points to the land points. All the points with depth values (ZBIN)
! greater than this limit (ZLIM) will be considered as excluded points
! and will never be wet points, even if the water level grows over.
! It can only overwrite the status of a sea point to a land point.
! The value must have a negative value under the mean sea level
!
! * The minimum water depth allowed to compute the model is the absolute
! depth value (DMIN) used in the model if the input depth is lower to
! avoid the model to blow up.
!
! * namelist must be terminated with /
! * definitions & defaults:
! GRID%NAME = 'unset' ! grid name (30 char)
! GRID%NML = 'namelists.nml' ! namelists filename
! GRID%TYPE = 'unset' ! grid type
! GRID%COORD = 'unset' ! coordinate system
! GRID%CLOS = 'unset' ! grid closure
!
! GRID%ZLIM = 0. ! coastline limit depth (m)
! GRID%DMIN = 0. ! abs. minimum water depth (m)
! -------------------------------------------------------------------- !
&GRID_NML
GRID%NAME = 'GULF OF NOWHERE'
GRID%NML = 'namelists.nml'
GRID%TYPE = 'RECT'
GRID%COORD = 'SPHE'
GRID%CLOS = 'SMPL'
GRID%ZLIM = -0.10
GRID%DMIN = 2.5
/
! -------------------------------------------------------------------- !
! Define the rectilinear grid type via RECT_NML namelist
! - only for RECT grids -
!
! * The minimum grid size is 3x3.
!
! * If the grid increments SX and SY are given in minutes of arc, the scaling
! factor SF must be set to 60. to provide an increment factor in degree.
!
! * If CSTRG='SMPL', then SX is forced to 360/NX.
!
! * value <= value_read / scale_fac
!
! * namelist must be terminated with /
! * definitions & defaults:
! RECT%NX = 0 ! number of points along x-axis
! RECT%NY = 0 ! number of points along y-axis
!
! RECT%SX = 0. ! grid increment along x-axis
! RECT%SY = 0. ! grid increment along y-axis
! RECT%SF = 1. ! scaling division factor for x-y axis
!
! RECT%X0 = 0. ! x-coordinate of lower-left corner (deg)
! RECT%Y0 = 0. ! y-coordinate of lower-left corner (deg)
! RECT%SF0 = 1. ! scaling division factor for x0,y0 coord
! -------------------------------------------------------------------- !
&RECT_NML
RECT%NX = 720
RECT%NY = 360
/
! -------------------------------------------------------------------- !
! Define the curvilinear grid type via CURV_NML namelist
! - only for CURV grids -
!
! * The minimum grid size is 3x3.
!
! * If CSTRG='SMPL', then SX is forced to 360/NX.
!
! * value <= scale_fac * value_read + add_offset
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF SF OFF IDLA IDFM FORMAT FILENAME
! 21 0.25 -0.5 3 1 '(....)' 'x.inp'
! 22 0.25 0.5 3 1 '(....)' 'y.inp'
!
! * namelist must be terminated with /
! * definitions & defaults:
! CURV%NX = 0 ! number of points along x-axis
! CURV%NY = 0 ! number of points along y-axis
!
! CURV%XCOORD%SF = 1. ! x-coord scale factor
! CURV%XCOORD%OFF = 0. ! x-coord add offset
! CURV%XCOORD%FILENAME = 'unset' ! x-coord filename
! CURV%XCOORD%IDF = 21 ! x-coord file unit number
! CURV%XCOORD%IDLA = 1 ! x-coord layout indicator
! CURV%XCOORD%IDFM = 1 ! x-coord format indicator
! CURV%XCOORD%FORMAT = '(....)' ! x-coord formatted read format
!
! CURV%YCOORD%SF = 1. ! y-coord scale factor
! CURV%YCOORD%OFF = 0. ! y-coord add offset
! CURV%YCOORD%FILENAME = 'unset' ! y-coord filename
! CURV%YCOORD%IDF = 22 ! y-coord file unit number
! CURV%YCOORD%IDLA = 1 ! y-coord layout indicator
! CURV%YCOORD%IDFM = 1 ! y-coord format indicator
! CURV%YCOORD%FORMAT = '(....)' ! y-coord formatted read format
! -------------------------------------------------------------------- !
&CURV_NML
CURV%NX = 720
CURV%NY = 360
!
CURV%XCOORD%SF = 0.25
CURV%XCOORD%OFF = -0.5
CURV%XCOORD%FILENAME = 'x.inp'
CURV%XCOORD%IDLA = 3
!
CURV%YCOORD%SF = 0.25
CURV%YCOORD%OFF = 0.5
CURV%YCOORD%FILENAME = 'y.inp'
CURV%YCOORD%IDLA = 3
/
! -------------------------------------------------------------------- !
! Define the unstructured grid type via UNST_NML namelist
! - only for UNST grids -
!
! * The minimum grid size is 3x3.
!
! * &MISC namelist must be removed
!
! * The depth value must have negative values under the mean sea level
!
! * The map value must be set as :
! -2 : Excluded boundary point (covered by ice)
! -1 : Excluded sea point (covered by ice)
! 0 : Excluded land point
! 1 : Sea point
! 2 : Active boundary point
! 3 : Excluded grid point
! 7 : Ice point
!
! * the file must be a GMESH grid file containing node and element lists.
!
! * Extra open boundary list file with UGOBCFILE in namelist &UNST
! An example is given in regtest ww3_tp2.7
!
! * value <= scale_fac * value_read
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF SF IDLA IDFM FORMAT FILENAME
! 20 -1. 4 2 '(20f10.2)' 'ngug.msh'
!
! * namelist must be terminated with /
! * definitions & defaults:
! UNST%SF = 1. ! unst scale factor
! UNST%FILENAME = 'unset' ! unst filename
! UNST%IDF = 20 ! unst file unit number
! UNST%IDLA = 1 ! unst layout indicator
! UNST%IDFM = 1 ! unst format indicator
! UNST%FORMAT = '(....)' ! unst formatted read format
!
! UNST%UGOBCFILE = 'unset' ! additional boundary list file
! -------------------------------------------------------------------- !
&UNST_NML
UNST%SF = -1.
UNST%FILENAME = 'ngug.msh'
UNST%IDLA = 4
UNST%IDFM = 2
UNST%FORMAT = '(20f10.2)'
/
! -------------------------------------------------------------------- !
! Define the spherical multiple-cell grid via SMC_NML namelist
! - only for SMC grids -
!
! * SMC cell 'MCELS' and face 'ISIDE & JSIDE' arrays
! and obstruction ratio 'SUBTR'.
!
! * The input boundary cell file 'BUNDY' is only needed when NBISMC > 0.
! Boundary cell id list file (unit 35) is only required if boundary
! cell number entered above is non-zero. The cell id number should be
! the sequential number in the cell array (unit 31) S625MCels.dat.
!
! * Extra cell and face arrays for Arctic part if switch ARC is selected.
!
! * Example :
! IDF IDLA IDFM FORMAT FILENAME
! 31 1 1 '(....)' 'S6125MCels.dat'
! 32 1 1 '(....)' 'S6125ISide.dat'
! 33 1 1 '(....)' 'S6125JSide.dat'
! 34 1 1 '(....)' 'SMC25Subtr.dat'
! 35 1 1 '(....)' 'S6125Bundy.dat'
! 36 1 1 '(....)' 'S6125MBArc.dat'
! 37 1 1 '(....)' 'S6125AISid.dat'
! 38 1 1 '(....)' 'S6125AJSid.dat'
!
! * namelist must be terminated with /
! * definitions & defaults:
! SMC%MCELS%FILENAME = 'unset' ! MCels filename
! SMC%MCELS%IDF = 31 ! MCels file unit number
! SMC%MCELS%IDLA = 1 ! MCels layout indicator
! SMC%MCELS%IDFM = 1 ! MCels format indicator
! SMC%MCELS%FORMAT = '(....)' ! MCels formatted read format
!
! SMC%ISIDE%FILENAME = 'unset' ! ISide filename
! SMC%ISIDE%IDF = 32 ! ISide file unit number
! SMC%ISIDE%IDLA = 1 ! ISide layout indicator
! SMC%ISIDE%IDFM = 1 ! ISide format indicator
! SMC%ISIDE%FORMAT = '(....)' ! ISide formatted read format
!
! SMC%JSIDE%FILENAME = 'unset' ! JSide filename
! SMC%JSIDE%IDF = 33 ! JSide file unit number
! SMC%JSIDE%IDLA = 1 ! JSide layout indicator
! SMC%JSIDE%IDFM = 1 ! JSide format indicator
! SMC%JSIDE%FORMAT = '(....)' ! JSide formatted read format
!
! SMC%SUBTR%FILENAME = 'unset' ! Subtr filename
! SMC%SUBTR%IDF = 34 ! Subtr file unit number
! SMC%SUBTR%IDLA = 1 ! Subtr layout indicator
! SMC%SUBTR%IDFM = 1 ! Subtr format indicator
! SMC%SUBTR%FORMAT = '(....)' ! Subtr formatted read format
!
! SMC%BUNDY%FILENAME = 'unset' ! Bundy filename
! SMC%BUNDY%IDF = 35 ! Bundy file unit number
! SMC%BUNDY%IDLA = 1 ! Bundy layout indicator
! SMC%BUNDY%IDFM = 1 ! Bundy format indicator
! SMC%BUNDY%FORMAT = '(....)' ! Bundy formatted read format
!
! SMC%MBARC%FILENAME = 'unset' ! MBArc filename
! SMC%MBARC%IDF = 36 ! MBArc file unit number
! SMC%MBARC%IDLA = 1 ! MBArc layout indicator
! SMC%MBARC%IDFM = 1 ! MBArc format indicator
! SMC%MBARC%FORMAT = '(....)' ! MBArc formatted read format
!
! SMC%AISID%FILENAME = 'unset' ! AISid filename
! SMC%AISID%IDF = 37 ! AISid file unit number
! SMC%AISID%IDLA = 1 ! AISid layout indicator
! SMC%AISID%IDFM = 1 ! AISid format indicator
! SMC%AISID%FORMAT = '(....)' ! AISid formatted read format
!
! SMC%AJSID%FILENAME = 'unset' ! AJSid filename
! SMC%AJSID%IDF = 38 ! AJSid file unit number
! SMC%AJSID%IDLA = 1 ! AJSid layout indicator
! SMC%AJSID%IDFM = 1 ! AJSid format indicator
! SMC%AJSID%FORMAT = '(....)' ! AJSid formatted read format
! -------------------------------------------------------------------- !
&SMC_NML
SMC%MCELS%FILENAME = 'S6125MCels.dat'
SMC%ISIDE%FILENAME = 'S6125ISide.dat'
SMC%JSIDE%FILENAME = 'S6125JSide.dat'
SMC%SUBTR%FILENAME = 'SMC25Subtr.dat'
SMC%BUNDY%FILENAME = 'S6125Bundy.dat'
SMC%MBARC%FILENAME = 'S6125MBArc.dat'
SMC%AISID%FILENAME = 'S6125AISid.dat'
SMC%AJSID%FILENAME = 'S6125AJSid.dat'
/
! -------------------------------------------------------------------- !
! Define the depth to preprocess via DEPTH_NML namelist
! - for RECT and CURV grids -
!
! * if no obstruction subgrid, need to set &MISC FLAGTR = 0
!
! * The depth value must have negative values under the mean sea level
!
! * value <= value_read * scale_fac
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF SF IDLA IDFM FORMAT FILENAME
! 50 0.001 1 1 '(....)' 'GLOB-30M.bot'
!
! * namelist must be terminated with /
! * definitions & defaults:
! DEPTH%SF = 1. ! scale factor
! DEPTH%FILENAME = 'unset' ! filename
! DEPTH%IDF = 50 ! file unit number
! DEPTH%IDLA = 1 ! layout indicator
! DEPTH%IDFM = 1 ! format indicator
! DEPTH%FORMAT = '(....)' ! formatted read format
! -------------------------------------------------------------------- !
&DEPTH_NML
DEPTH%SF = 0.001
DEPTH%FILENAME = 'GLOB-30M.bot'
/
! -------------------------------------------------------------------- !
! Define the point status map via MASK_NML namelist
! - only for RECT and CURV grids -
!
! * If no mask defined, INBOUND can be used to set active boundaries
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF IDLA IDFM FORMAT FILENAME
! 60 1 1 '(....)' 'GLOB-30M.mask'
!
! * The legend for the input map is :
! -2 : Excluded boundary point (covered by ice)
! -1 : Excluded sea point (covered by ice)
! 0 : Excluded land point
! 1 : Sea point
! 2 : Active boundary point
! 3 : Excluded grid point
! 7 : Ice point
!
! * namelist must be terminated with /
! * definitions & defaults:
! MASK%FILENAME = 'unset' ! filename
! MASK%IDF = 60 ! file unit number
! MASK%IDLA = 1 ! layout indicator
! MASK%IDFM = 1 ! format indicator
! MASK%FORMAT = '(....)' ! formatted read format
! -------------------------------------------------------------------- !
&MASK_NML
MASK%FILENAME = 'GLOB-30M.mask'
/
! -------------------------------------------------------------------- !
! Define the obstruction map via OBST_NML namelist
! - only for RECT and CURV grids -
!
! * only used if &MISC FLAGTR = 1 in param.nml
! (transparencies at cell boundaries)
! or if &MISC FLAGTR = 2 in param.nml
! (transparencies at cell centers)
! or if &MISC FLAGTR = 3 in param.nml
! (transparencies at cell boundaries with cont. ice)
! or if &MISC FLAGTR = 4 in param.nml
! (transparencies at cell centers with cont. ice)
!
! * value <= value_read * scale_fac
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF SF IDLA IDFM FORMAT FILENAME
! 70 0.0001 1 1 '(....)' 'GLOB-30M.obst'
!
! * If the file unit number equals 10, then the data is read from this
! file. The data must follow the above record. No comment lines are
! allowed within the data input.
!
! * In the case of unstructured grids, no obstruction file can be added
!
! * namelist must be terminated with /
! * definitions & defaults:
! OBST%SF = 1. ! scale factor
! OBST%FILENAME = 'unset' ! filename
! OBST%IDF = 70 ! file unit number
! OBST%IDLA = 1 ! layout indicator
! OBST%IDFM = 1 ! format indicator
! OBST%FORMAT = '(....)' ! formatted read format
! -------------------------------------------------------------------- !
&OBST_NML
OBST%SF = 0.0001
OBST%FILENAME = 'GLOB-30M.obst'
/
! -------------------------------------------------------------------- !
! Define the reflexion slope map via SLOPE_NML namelist
! - only for RECT and CURV grids -
!
! * only used if &REF1 REFMAP = 2 defined in param.nml
!
! * value <= value_read * scale_fac
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF SF IDLA IDFM FORMAT FILENAME
! 80 0.0001 1 1 '(....)' 'GLOB-30M.slope'
!
! * In the case of unstructured grids, no sed file can be added
!
! * namelist must be terminated with /
! * definitions & defaults:
! SLOPE%SF = 1. ! scale factor
! SLOPE%FILENAME = 'unset' ! filename
! SLOPE%IDF = 80 ! file unit number
! SLOPE%IDLA = 1 ! layout indicator
! SLOPE%IDFM = 1 ! format indicator
! SLOPE%FORMAT = '(....)' ! formatted read format
! -------------------------------------------------------------------- !
&SLOPE_NML
SLOPE%SF = 0.0001
SLOPE%FILENAME = 'GLOB-30M.slope'
/
! -------------------------------------------------------------------- !
! Define the sedimentary bottom map via SED_NML namelist
!
! * only used if &SBT4 SEDMAPD50 = T defined in param.nml
!
! * value <= value_read * scale_fac
!
! * IDLA : Layout indicator :
! 1 : Read line-by-line bottom to top. (default)
! 2 : Like 1, single read statement.
! 3 : Read line-by-line top to bottom.
! 4 : Like 3, single read statement.
! * IDFM : format indicator :
! 1 : Free format. (default)
! 2 : Fixed format.
! 3 : Unformatted.
! * FORMAT : element format to read :
! '(....)' : auto detected (default)
! '(f10.6)' : float type
!
! * Example :
! IDF SF IDLA IDFM FORMAT FILENAME
! 90 1. 1 2 '(f10.6)' 'SED.txt'
!
! * In the case of unstructured grids, no sed file can be added
!
! * namelist must be terminated with /
! * definitions & defaults:
! SED%SF = 1. ! scale factor
! SED%FILENAME = 'unset' ! filename
! SED%IDF = 90 ! file unit number
! SED%IDLA = 1 ! layout indicator
! SED%IDFM = 1 ! format indicator
! SED%FORMAT = '(....)' ! formatted read format
! -------------------------------------------------------------------- !
&SED_NML
SED%FILENAME = 'SED.txt'
SED%IDFM = 2
SED%FORMAT = '(f10.6)'
/
! -------------------------------------------------------------------- !
! Define the input boundary points via INBND_COUNT_NML and
! INBND_POINT_NML namelist
! - for RECT, CURV and UNST grids -
!
! * If no mask defined, INBOUND can be used
!
! * If the actual input data is not defined in the actual wave model run
! the initial conditions will be applied as constant boundary conditions.
!
! * The number of points is defined by INBND_COUNT
!
! * The points must start from index 1 to N
!
! * Each line contains:
! Discrete grid counters (IX,IY) of the active point and a
! connect flag. If this flag is true, and the present and previous
! point are on a grid line or diagonal, all intermediate points
! are also defined as boundary points.
!
! * Included point :
! grid points from segment data
! Defines as lines identifying points at which
! input boundary conditions are to be defined.
!
! * namelist must be terminated with /
! * definitions & defaults:
! INBND_COUNT%N_POINT = 0 ! number of segments
!
! INBND_POINT(I)%X_INDEX = 0 ! x index included point
! INBND_POINT(I)%Y_INDEX = 0 ! y index included point
! INBND_POINT(I)%CONNECT = F ! connect flag
!
! OR
! INBND_POINT(I) = 0 0 F ! included point
! -------------------------------------------------------------------- !
&INBND_COUNT_NML
INBND_COUNT%N_POINT = 2
/
&INBND_POINT_NML
INBND_POINT(1) = 2 2 F
INBND_POINT(2) = 2 11 T
/
! -------------------------------------------------------------------- !
! Define the excluded points and bodies via EXCL_COUNT_NML, EXCL_POINT_NML
! and EXCL_BODY_NML namelist
! - only for RECT and CURV grids -
!
! * If no mask defined, EXCL can NOT be used
!
! * The number of points and bodies are defined by EXCL_COUNT
!
! * The points and bodies must start from index 1 to N
!
! * Each line contains:
! Discrete grid counters (IX,IY) of the active point and a
! connect flag. If this flag is true, and the present and previous
! point are on a grid line or diagonal, all intermediate points
! are also defined as boundary points.
!
! * Excluded point :
! grid points from segment data
! Defined as lines identifying points at which
! input boundary conditions are to be excluded.
!
! * Excluded body:
! Define a point in a closed body of sea points to remove the
! entire body of sea points.
!
! * namelist must be terminated with /
! * definitions & defaults:
! EXCL_COUNT%N_POINT = 0 ! number of segments
! EXCL_COUNT%N_BODY = 0 ! number of bodies
!
! EXCL_POINT(J)%X_INDEX = 0 ! x index excluded point
! EXCL_POINT(J)%Y_INDEX = 0 ! y index excluded point
! EXCL_POINT(J)%CONNECT = F ! connect flag
!
! EXCL_BODY(K)%X_INDEX = 0 ! x index excluded body
! EXCL_BODY(K)%Y_INDEX = 0 ! y index excluded body
! OR
! EXCL_POINT(J) = 0 0 F ! excluded point
! EXCL_BODY(K) = 0 0 ! excluded body
! -------------------------------------------------------------------- !
&EXCL_COUNT_NML
EXCL_COUNT%N_POINT = 2
EXCL_COUNT%N_BODY = 1
/
&EXCL_POINT_NML
EXCL_POINT(1) = 20 2 F
EXCL_POINT(2) = 20 11 T
/
&EXCL_BODY_NML
EXCL_BODY(1) = 10 15
/
! -------------------------------------------------------------------- !
! Define the output boundary points via OUTBND_COUNT_NML and
! OUTBND_LINE_NML namelist
! - only for RECT and CURV grids -
!
! * It will creates a nest file with output boundaries for a inner grid.
! The prefered way to do it is to use ww3_bounc program.
!
! * These do not need to be defined for data transfer between grids in
! the multi grid driver.
!
! * The number of lines are defined by OUTBND_COUNT
!
! * The lines must start from index 1 to N
!
! * Output boundary points are defined as a number of straight lines,
! defined by its starting point (X0,Y0), increments (DX,DY) and number
! of points. A negative number of points starts a new output file.
!
! * Example for spherical grid in degrees :
! '1.75 1.50 0.25 -0.10 3'
! '2.25 1.50 -0.10 0.00 -6'
! '0.10 0.10 0.10 0.00 -10'
!
! * namelist must be terminated with /
! * definitions & defaults:
! OUTBND_COUNT%N_LINE = 0 ! number of lines
!
! OUTBND_LINE(I)%X0 = 0. ! x index start point
! OUTBND_LINE(I)%Y0 = 0. ! y index start point
! OUTBND_LINE(I)%DX = 0. ! x-along increment
! OUTBND_LINE(I)%DY = 0. ! y-along increment
! OUTBND_LINE(I)%NP = 0 ! number of points
! OR
! OUTBND_LINE(I) = 0. 0. 0. 0. 0 ! included lines
! -------------------------------------------------------------------- !
&OUTBND_COUNT_NML
OUTBND_COUNT%N_LINE = 3
/
&OUTBND_LINE_NML
OUTBND_LINE(1) = 1.75 1.50 0.25 -0.10 3
OUTBND_LINE(2) = 2.25 1.50 -0.10 0.00 -6
OUTBND_LINE(3) = 0.10 0.10 0.10 0.00 -10
/
! -------------------------------------------------------------------- !
! WAVEWATCH III - end of namelist !
! -------------------------------------------------------------------- !