Skip to content

Commit 3bac82f

Browse files
committed
Add stealth test and corresponding testdef for this new feature
1 parent 5e9ad51 commit 3bac82f

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

cime_config/tests.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@
313313
"SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-TMIX.mpaso-jra_1958",
314314
"PET_P480_Ld2.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.mpaso-jra_1958",
315315
"PET_P480_Ld2.TL319_IcoswISC30E3r5.GMPAS-JRA1p5-DIB-PISMF-DSGR.mpaso-freshwater_tracers_jra_1958",
316+
"SMS_P480_Ld5.TL319_IcoswISC30E3r5.GMPAS-JRA1p5.mpaso-precip_scaling_jra_1958",
316317
)
317318
},
318319

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This testdef is used to test a stealth feature in mpaso introduced by
2+
PR #7361. It simplies changes one mpaso namelist variable,
3+
config_use_precip_scaling
4+
from its default value of .false. to .true.. It also sets associated
5+
variables,
6+
config_precip_scaling_mode
7+
config_precip_scaling_constant_factor
8+
for testing. This particular testdef also limmits the required JRA
9+
forcing data to a single year to reduce the number of files needed for
10+
testing.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
./xmlchange DATM_CLMNCEP_YR_START=1958
2+
./xmlchange DATM_CLMNCEP_YR_END=1958
3+
./xmlchange DROF_STRM_YR_START=1958
4+
./xmlchange DROF_STRM_YR_END=1958
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
config_use_precip_scaling = .true.
2+
config_precip_scaling_mode = 'constant'
3+
config_precip_scaling_constant_factor = 0.95

0 commit comments

Comments
 (0)