Skip to content

Commit 937612b

Browse files
author
adrifoster
committed
fix variable names
1 parent 7666b9d commit 937612b

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

components/cdeps

Submodule cdeps updated 45 files

src/biogeochem/SatellitePhenologyMod.F90

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ module SatellitePhenologyMod
2424
private
2525
!
2626
! !PUBLIC MEMBER FUNCTIONS:
27-
public :: GetSatellitePhenologyInputs ! put the data into the correct format
28-
public :: SetSatellitePhenologyBGCCanopyStructs ! CLM(BGC)-SP phenology and vegetation
27+
public :: CalcSatellitePhenologyTimeInterp ! put the data into the correct format
28+
public :: UpdateSatellitePhenologyCanopy ! CLM(BGC)-SP phenology and vegetation
2929
public :: SatellitePhenologyInit ! Dynamically allocate memory
3030
public :: interpMonthlyVeg ! interpolate monthly vegetation data
3131
public :: readAnnualVegetation ! Read in annual vegetation (needed for Dry-deposition)
@@ -89,7 +89,7 @@ subroutine SatellitePhenologyInit (bounds)
8989
end subroutine SatellitePhenologyInit
9090

9191
!================================================================
92-
subroutine GetSatellitePhenologyInputs(bounds, num_filter, filter, canopystate_inst)
92+
subroutine CalcSatellitePhenologyTimeInterp(bounds, num_filter, filter, canopystate_inst)
9393
!
9494
! !DESCRIPTION:
9595
! Ecosystem dynamics: phenology, vegetation
@@ -155,11 +155,11 @@ subroutine GetSatellitePhenologyInputs(bounds, num_filter, filter, canopystate_i
155155
end do
156156
end associate
157157

158-
end subroutine GetSatellitePhenologyInputs
158+
end subroutine CalcSatellitePhenologyTimeInterp
159159

160160
!==============================================================================
161161

162-
subroutine SetSatellitePhenologyBGCCanopyStructs(bounds, num_filter, filter, &
162+
subroutine UpdateSatellitePhenologyCanopy(bounds, num_filter, filter, &
163163
waterdiagnosticbulk_inst, canopystate_inst)
164164
!
165165
! !DESCRIPTION:
@@ -186,8 +186,8 @@ subroutine SetSatellitePhenologyBGCCanopyStructs(bounds, num_filter, filter, &
186186
real(r8) :: ol ! thickness of canopy layer covered by snow (m)
187187
real(r8) :: fb ! fraction of canopy layer covered by snow
188188

189-
if (use_fates_sp) then
190-
write(iulog,*) 'SetSatellitePhenologyBGCCanopyStructs', 'should not be calling this method when use_fates_sp == .true.'
189+
if (use_fates) then
190+
write(iulog,*) 'Should not be calling this method when use_fates == .true.'
191191
call endrun(msg=errMsg(sourcefile, __LINE__))
192192
end if
193193

@@ -251,7 +251,7 @@ subroutine SetSatellitePhenologyBGCCanopyStructs(bounds, num_filter, filter, &
251251

252252
end associate
253253

254-
end subroutine SetSatellitePhenologyBGCCanopyStructs
254+
end subroutine UpdateSatellitePhenologyCanopy
255255

256256
!==============================================================================
257257
subroutine interpMonthlyVeg (bounds, canopystate_inst)

src/fates

Submodule fates updated 50 files

src/main/clm_driver.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module clm_driver
5959
use UrbanRadiationMod , only : UrbanRadiation
6060
!
6161
use SoilBiogeochemVerticalProfileMod , only : SoilBiogeochemVerticalProfile
62-
use SatellitePhenologyMod , only : GetSatellitePhenologyInputs, interpMonthlyVeg, SetSatellitePhenologyBGCCanopyStructs
62+
use SatellitePhenologyMod , only : CalcSatellitePhenologyTimeInterp, interpMonthlyVeg, UpdateSatellitePhenologyCanopy
6363
use ndepStreamMod , only : ndep_interp
6464
use cropcalStreamMod , only : cropcal_advance, cropcal_interp
6565
use ch4Mod , only : ch4, ch4_init_gridcell_balance_check, ch4_init_column_balance_check
@@ -1045,9 +1045,9 @@ subroutine clm_drv(doalb, nextsw_cday, declinp1, declin, rstwr, nlend, rdate, ro
10451045

10461046
if (((.not. use_cn) .and. (.not. use_fates) .and. (doalb))) then
10471047
call t_startf('SatellitePhenology')
1048-
call GetSatellitePhenologyInputs(bounds_clump, filter(nc)%num_nolakep, filter(nc)%nolakep, &
1048+
call CalcSatellitePhenologyTimeInterp(bounds_clump, filter(nc)%num_nolakep, filter(nc)%nolakep, &
10491049
canopystate_inst)
1050-
call SetSatellitePhenologyBGCCanopyStructs(bounds_clump, filter(nc)%num_nolakep, filter(nc)%nolakep, &
1050+
call UpdateSatellitePhenologyCanopy(bounds_clump, filter(nc)%num_nolakep, filter(nc)%nolakep, &
10511051
water_inst%waterdiagnosticbulk_inst, canopystate_inst)
10521052
call t_stopf('SatellitePhenology')
10531053
end if
@@ -1060,7 +1060,7 @@ subroutine clm_drv(doalb, nextsw_cday, declinp1, declin, rstwr, nlend, rdate, ro
10601060
! E.g. in FATES, an active PFT vector of 1, 0, 0, 0, 1, 0, 1, 0 would be mapped into
10611061
! the host land model as 1, 1, 1, 0, 0, 0, 0. As such, the 'active' filter would only
10621062
! use the first three points, which would incorrectly represent the interpolated values.
1063-
call GetSatellitePhenologyInputs(bounds_clump, &
1063+
call CalcSatellitePhenologyTimeInterp(bounds_clump, &
10641064
filter_inactive_and_active(nc)%num_soilp, filter_inactive_and_active(nc)%soilp, &
10651065
canopystate_inst)
10661066
call t_stopf('SatellitePhenology')

src/main/clm_initializeMod.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ subroutine initialize2(ni,nj, currtime)
174174
use cropcalStreamMod , only : cropcal_init, cropcal_interp, cropcal_advance
175175
use LakeCon , only : LakeConInit
176176
use SatellitePhenologyMod , only : SatellitePhenologyInit, readAnnualVegetation, interpMonthlyVeg
177-
use SatellitePhenologyMod , only : GetSatellitePhenologyInputs
177+
use SatellitePhenologyMod , only : CalcSatellitePhenologyTimeInterp
178178
use SnowSnicarMod , only : SnowAge_init, SnowOptics_init
179179
use lnd2atmMod , only : lnd2atm_minimal
180180
use controlMod , only : NLFilename, check_missing_initdata_status
@@ -751,7 +751,7 @@ subroutine initialize2(ni,nj, currtime)
751751
! E.g. in FATES, an active PFT vector of 1, 0, 0, 0, 1, 0, 1, 0 would be mapped into
752752
! the host land model as 1, 1, 1, 0, 0, 0, 0. As such, the 'active' filter would only
753753
! use the first three points, which would incorrectly represent the interpolated values.
754-
call GetSatellitePhenologyInputs(bounds_clump, &
754+
call CalcSatellitePhenologyTimeInterp(bounds_clump, &
755755
filter_inactive_and_active(nc)%num_soilp, filter_inactive_and_active(nc)%soilp, &
756756
canopystate_inst)
757757

0 commit comments

Comments
 (0)