Skip to content

Commit 9abc12a

Browse files
committed
Add revisions from review, Install capabilities for Ps nudging and user-defined nudging windows
1 parent 2a4a281 commit 9abc12a

7 files changed

Lines changed: 964 additions & 228 deletions

File tree

bld/namelist_files/namelist_definition.xml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248

249249
<entry id="Nudge_SpectralNring" type="integer" category="nudging"
250250
group="nudging_nl" valid_values="" >
251-
Set size of local-area grid used to suppress Samping Errors.
251+
Set size of local-area grid used to suppress Sampling Errors.
252252

253253
Nudge_SpectralNring - INT The number of sampling rings used for local area averaging
254254
of spherical harmonic modes, to suppress sampling errors.
@@ -258,7 +258,7 @@
258258
in this sampling domain.
259259
Each ring (kk) contains 8*(kk-1) sample points.
260260

261-
Nudge_SpectralNring Number of Samping Points
261+
Nudge_SpectralNring Number of Sampling Points
262262
------------------- -------------------------
263263
1 1 (DEFAULT SampleGrid NOT used)
264264
2 9
@@ -354,6 +354,9 @@
354354
0 == OFF (No Nudging of this variable)
355355
1 == CONSTANT (Spatially Uniform Nudging)
356356
2 == HEAVISIDE WINDOW FUNCTION
357+
3 == HEAVISIDE WINDOW FUNCTION IN VERTICAL
358+
and USER SPECIFIED HORIZONAL DOMAIN
359+
(Specified by user via Nudge_Bwindow_File)
357360
Default: 0
358361
</entry>
359362

@@ -370,6 +373,9 @@
370373
0 == OFF (No Nudging of this variable)
371374
1 == CONSTANT (Spatially Uniform Nudging)
372375
2 == HEAVISIDE WINDOW FUNCTION
376+
3 == HEAVISIDE WINDOW FUNCTION IN VERTICAL
377+
and USER SPECIFIED HORIZONAL DOMAIN
378+
(Specified by user via Nudge_Bwindow_File)
373379
Default: 0
374380
</entry>
375381

@@ -386,6 +392,9 @@
386392
0 == OFF (No Nudging of this variable)
387393
1 == CONSTANT (Spatially Uniform Nudging)
388394
2 == HEAVISIDE WINDOW FUNCTION
395+
3 == HEAVISIDE WINDOW FUNCTION IN VERTICAL
396+
and USER SPECIFIED HORIZONAL DOMAIN
397+
(Specified by user via Nudge_Bwindow_File)
389398
Default: 0
390399
</entry>
391400

@@ -402,6 +411,9 @@
402411
0 == OFF (No Nudging of this variable)
403412
1 == CONSTANT (Spatially Uniform Nudging)
404413
2 == HEAVISIDE WINDOW FUNCTION
414+
3 == HEAVISIDE WINDOW FUNCTION IN VERTICAL
415+
and USER SPECIFIED HORIZONAL DOMAIN
416+
(Specified by user via Nudge_Bwindow_File)
405417
Default: 0
406418
</entry>
407419

@@ -414,10 +426,12 @@
414426

415427
<entry id="Nudge_PSprof" type="integer" category="nudging"
416428
group="nudging_nl" valid_values="" >
417-
Profile index for PS nudging.
429+
Profile index for PS nudging.(Horizontal Only)
418430
0 == OFF (No Nudging of this variable)
419431
1 == CONSTANT (Spatially Uniform Nudging)
420432
2 == HEAVISIDE WINDOW FUNCTION
433+
3 == USER SPECIFIED HORIZONAL DOMAIN
434+
(Specified by user via Nudge_Bwindow_File)
421435
Default: 0
422436
</entry>
423437

@@ -428,6 +442,14 @@
428442
Default: 0.
429443
</entry>
430444

445+
<entry id="Nudge_PSscal" type="real" category="nudging"
446+
group="nudging_nl" valid_values="" >
447+
Coeffcient controling the vertical influence function.
448+
Nudge_PSscal < 1.0 : P'(n) = [ B(n) ]*(Target_Ps - Model_Ps)
449+
Nudge_PSscal > 1.0 : P'(n) = [(Pref/P0)**scl]*(Target_Ps - Model_Ps)
450+
Default: 0.
451+
</entry>
452+
431453
<entry id="Nudge_Hwin_lat0" type="real" category="nudging"
432454
group="nudging_nl" valid_values="" >
433455
LAT0 center of Horizontal Window in degrees [-90.,90.].
@@ -508,6 +530,13 @@
508530
Default: FALSE
509531
</entry>
510532

533+
<entry id="Nudge_Bwindow_File" type="char*256" input_pathname="abs" category="nudging"
534+
group="nudging_nl" valid_values="" >
535+
Filename for the Horizonal Boundary Window to use for nudging with profile option 3.
536+
(e.g. '/$DIN_LOC_ROOT/atm/cam/nudging/BoundaryWindowFile.nc')
537+
Default: 'BoundaryWindowFile.nc'
538+
</entry>
539+
511540
<entry id="Nudge_ZonalFilter" type="logical" category="nudging"
512541
group="nudging_nl" valid_values="" >
513542
Switch to turn on zonal mean filtering nudging. If TRUE, the nudging scheme

cime_config/testdefs/testmods_dirs/cam/nudging/user_nl_cam

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
Nudge_TimeScale_Opt = 0
2121
Nudge_Times_Per_Day=4
2222
Model_Times_Per_Day=48
23+
Nudge_ZonalFilter=.false.
24+
Nudge_ZonalNbasis=-1
2325
Nudge_SpectralFilter=.false.
2426
Nudge_SpectralNtrunc=-1
2527
Nudge_SpectralNring= 1
@@ -33,6 +35,7 @@
3335
Nudge_Qcoef =0.00
3436
Nudge_PSprof =0
3537
Nudge_PScoef =0.00
38+
Nudge_PSscal =0.00
3639
Nudge_Beg_Year =2008
3740
Nudge_Beg_Month=12
3841
Nudge_Beg_Day =16
@@ -51,5 +54,6 @@
5154
Nudge_Vwin_Lindex =5.
5255
Nudge_Vwin_Ldelta =1.0
5356
Nudge_Vwin_Invert =.false.
57+
Nudge_Bwindow_File='BoundaryWindowFile.nc'
5458
/
5559

cime_config/testdefs/testmods_dirs/cam/outfrq3s_nudging_f10_L26/user_nl_cam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
Nudge_Tcoef =1.00
2525
Nudge_Qprof =1
2626
Nudge_Qcoef =1.00
27-
Nudge_PSprof =1
28-
Nudge_PScoef =1.00
27+
Nudge_PSprof =0
28+
Nudge_PScoef =0.00
29+
Nudge_PSscal =0.00
2930
Nudge_Beg_Year =0001
3031
Nudge_Beg_Month=01
3132
Nudge_Beg_Day =01

cime_config/testdefs/testmods_dirs/cam/outfrq3s_nudging_ne5_L26/user_nl_cam

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@
2424
Nudge_Tcoef =1.00
2525
Nudge_Qprof =1
2626
Nudge_Qcoef =1.00
27-
Nudge_PSprof =1
28-
Nudge_PScoef =1.00
27+
Nudge_PSprof =0
28+
Nudge_PScoef =0.00
29+
Nudge_PSscal =0.00
2930
Nudge_Beg_Year =0001
3031
Nudge_Beg_Month=01
3132
Nudge_Beg_Day =01

0 commit comments

Comments
 (0)