Skip to content

Commit cd6a6c2

Browse files
authored
Merge pull request #3613 from slevis-lmwg/fix_lii2_tests
alpha-ctsm5.4.CMIP7.19.ctsm5.3.082: Fix LII2 COMPARE_base_no_interp failures
2 parents a5b18cc + a5136fc commit cd6a6c2

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

bld/namelist_files/namelist_defaults_ctsm.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1326,6 +1326,12 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
13261326
lnd_tuning_mode="clm5_0_GSWP3v1" use_init_interp=".true."
13271327
>lnd/clm2/initdata_esmf/ctsm5.3/clmi.interp_from.I1850Clm50BgcCrop-ciso.1366-01-01.0.9x1.25_gx1v7_simyr1850_c240223.nc
13281328
</finidat>
1329+
<finidat hgrid="0.9x1.25" maxpft="79" mask="tx2_3v2" use_cn=".true." use_cndv=".false." use_fates=".false."
1330+
ic_ymd="18500101" sim_year="1850" do_transient_pfts=".false." use_excess_ice=".true."
1331+
ic_tod="0" glc_nec="10" use_crop=".true." irrigate=".false."
1332+
phys="clm6_0"
1333+
>lnd/clm2/initdata_esmf/ctsm5.4/clmi.f09_interp_from.ctsm5.4.CMIP7_ciso_ctsm5.3.075_f09_124_pSASU.clm2.r.0161_c251118.nc
1334+
</finidat>
13291335

13301336

13311337
<finidat hgrid="0.9x1.25" maxpft="79" mask="gx1v7" use_cn=".true." use_cndv=".false." use_fates=".false."
@@ -1430,13 +1436,7 @@ attributes from the config_cache.xml file (with keys converted to upper-case).
14301436
<finidat hgrid="1.9x2.5" maxpft="79" mask="gx1v7" use_cn=".true." use_cndv=".false." use_fates=".false."
14311437
ic_ymd="20110101" sim_year="2000" do_transient_pfts=".false." use_excess_ice=".false."
14321438
ic_tod="0" glc_nec="10" use_crop=".true." irrigate=".true."
1433-
lnd_tuning_mode="clm5_0_GSWP3v1" use_init_interp=".false."
1434-
>lnd/clm2/initdata_esmf/ctsm5.4/clmi.f19_twiceinterp_from.I1850Clm50BgcCrop-ciso.1366-01-01.0.9x1.25_gx1v7_simyr1850_c251030.nc
1435-
</finidat>
1436-
<finidat hgrid="1.9x2.5" maxpft="79" mask="gx1v7" use_cn=".true." use_cndv=".false." use_fates=".false."
1437-
ic_ymd="20110101" sim_year="2000" do_transient_pfts=".false." use_excess_ice=".false."
1438-
ic_tod="0" glc_nec="10" use_crop=".true." irrigate=".true."
1439-
lnd_tuning_mode="clm5_0_GSWP3v1" use_init_interp=".true."
1439+
lnd_tuning_mode="clm5_0_GSWP3v1"
14401440
>lnd/clm2/initdata_esmf/ctsm5.4/clmi.f19_twiceinterp_from.I1850Clm50BgcCrop-ciso.1366-01-01.0.9x1.25_gx1v7_simyr1850_c251030.nc
14411441
</finidat>
14421442
<!-- NB: This f19 2000 finidat comes from a spin-up with use_crop=".false." -->

python/ctsm/test/test_unit_subset_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def test_inputdata_setup_files_basic(self):
107107
files = setup_files(self.args, self.defaults, self.cesmroot, testing=True)
108108
self.assertEqual(
109109
files["fsurf_in"],
110-
"surfdata_0.9x1.25_hist_2000_16pfts_c240908.nc",
110+
"surfdata_0.9x1.25_hist_2000_16pfts_c251022.nc",
111111
"fsurf_in filename not whats expected",
112112
)
113113
self.assertEqual(
@@ -117,7 +117,7 @@ def test_inputdata_setup_files_basic(self):
117117
)
118118
self.assertEqual(
119119
files["main_dir"],
120-
"/glade/campaign/cesm/cesmdata/cseg/inputdata",
120+
"/glade/campaign/cesm/cesmdata/inputdata",
121121
"main_dir directory not whats expected",
122122
)
123123

src/biogeophys/CanopyStateType.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,11 @@ subroutine InitHistory(this, bounds)
296296
this%vegwp_ln_patch(begp:endp,:) = spval
297297
call hist_addfld2d (fname='VEGWPLN', units='mm', type2d='nvegwcs', &
298298
avgflag='A', long_name='vegetation water matric potential for sun/sha canopy,xyl,root at local noon', &
299-
ptr_patch=this%vegwp_ln_patch, default='active')
299+
ptr_patch=this%vegwp_ln_patch, default='inactive')
300300
this%vegwp_pd_patch(begp:endp,:) = spval
301301
call hist_addfld2d (fname='VEGWPPD', units='mm', type2d='nvegwcs', avgflag='A', &
302302
long_name='predawn vegetation water matric potential for sun/sha canopy,xyl,root', &
303-
ptr_patch=this%vegwp_pd_patch, default='active')
303+
ptr_patch=this%vegwp_pd_patch, default='inactive')
304304
end if
305305

306306
end subroutine InitHistory

0 commit comments

Comments
 (0)