Skip to content

Commit 64beebd

Browse files
authored
Merge pull request #3765 from billsacks/fixes_for_ifx
Fixes for ifx
2 parents 157a07e + 585e337 commit 64beebd

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

bld/namelist_files/namelist_defaults_ctsm.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2484,11 +2484,11 @@ lnd/clm2/surfdata_esmf/NEON/ctsm5.4.0/surfdata_1x1_NEON_TOOL_hist_2000_78pfts_c2
24842484
<stream_fldfilename_urbantv phys="clm6_0" hgrid="0.9x1.25" urban_explicit_ac=".false."
24852485
>lnd/clm2/urbandata/CTSM52_tbuildmax_OlesonFeddema_2020_0.9x1.25_simyr1849-2106_c200605.nc</stream_fldfilename_urbantv>
24862486
<stream_fldfilename_urbantv phys="clm6_0" hgrid="0.9x1.25" urban_explicit_ac=".true."
2487-
>lnd/clm2/urbandata/CTSM52_urbantv_Li_2024_0.9x1.25_simyr1849-2106_c20230621.nc</stream_fldfilename_urbantv>
2487+
>lnd/clm2/urbandata/CTSM52_urbantv_Li_2024_0.9x1.25_simyr1849-2106_c20260217.nc</stream_fldfilename_urbantv>
24882488
<stream_fldfilename_urbantv phys="clm5_0" hgrid="0.9x1.25" urban_explicit_ac=".false."
24892489
>lnd/clm2/urbandata/CLM50_tbuildmax_Oleson_2016_0.9x1.25_simyr1849-2106_c160923.nc</stream_fldfilename_urbantv>
24902490
<stream_fldfilename_urbantv phys="clm5_0" hgrid="0.9x1.25" urban_explicit_ac=".true."
2491-
>lnd/clm2/urbandata/CTSM52_urbantv_Li_2024_0.9x1.25_simyr1849-2106_c20230621.nc</stream_fldfilename_urbantv>
2491+
>lnd/clm2/urbandata/CTSM52_urbantv_Li_2024_0.9x1.25_simyr1849-2106_c20260217.nc</stream_fldfilename_urbantv>
24922492
<stream_fldfilename_urbantv phys="clm4_5" hgrid="0.9x1.25"
24932493
>lnd/clm2/urbandata/CLM45_tbuildmax_Oleson_2016_0.9x1.25_simyr1849-2106_c160923.nc</stream_fldfilename_urbantv>
24942494

@@ -2636,7 +2636,7 @@ lnd/clm2/surfdata_esmf/NEON/ctsm5.4.0/surfdata_1x1_NEON_TOOL_hist_2000_78pfts_c2
26362636
<use_prigent_roughness dust_emis_method="Leung_2023">.true.</use_prigent_roughness>
26372637
<use_prigent_roughness >.false.</use_prigent_roughness>
26382638
<stream_fldfilename_prigentroughness
2639-
>lnd/clm2/dustemisdata/Prigent_2005_roughness_0.25x0.25_cdf5_c240127.nc</stream_fldfilename_prigentroughness>
2639+
>lnd/clm2/dustemisdata/Prigent_2005_roughness_0.25x0.25_cdf5_c260218.nc</stream_fldfilename_prigentroughness>
26402640
<stream_meshfile_prigentroughness
26412641
>lnd/clm2/dustemisdata/dust_0.25x0.25_ESMFmesh_cdf5_c240222.nc</stream_meshfile_prigentroughness>
26422642

src/cpl/share_esmf/UrbanTimeVarType.F90

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,14 @@ subroutine urbantv_interp(this, bounds)
317317
gindx = g
318318
lindx = l
319319
exit
320-
else if (urban_explicit_ac .and. (this%p_ac(l) < 0._r8 .or. this%p_ac(l) > 1._r8)) then
321-
found = .true.
322-
gindx = g
323-
lindx = l
324-
exit
320+
end if
321+
if (urban_explicit_ac) then
322+
if (this%p_ac(l) < 0._r8 .or. this%p_ac(l) > 1._r8) then
323+
found = .true.
324+
gindx = g
325+
lindx = l
326+
exit
327+
end if
325328
end if
326329
end if
327330
end do

0 commit comments

Comments
 (0)