Skip to content

Commit 2bd496b

Browse files
committed
remove unused vars
1 parent 49e5437 commit 2bd496b

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

src/biogeophys/CanopyStateType.F90

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ module CanopyStateType
3434
real(r8) , pointer :: htop_input_patch (:) ! patch canopy height driver data for SP mode
3535
real(r8) , pointer :: hbot_input_patch (:) ! patch canopy bottom driver data for SP mode
3636

37-
real(r8) , pointer :: tlai_hist_patch (:) ! patch canopy one-sided leaf area index driver data for SP mode (no burying by snow)
38-
real(r8) , pointer :: tsai_hist_patch (:) ! patch canopy one-sided stem area index driver data for SP mode (no burying by snow)
39-
real(r8) , pointer :: htop_hist_patch (:) ! patch canopy height driver data for SP mode
40-
4137
real(r8) , pointer :: elai240_patch (:) ! patch canopy one-sided leaf area index with burying by snow average over 10days
4238
real(r8) , pointer :: laisun_patch (:) ! patch patch sunlit projected leaf area index
4339
real(r8) , pointer :: laisha_patch (:) ! patch patch shaded projected leaf area index
@@ -127,11 +123,6 @@ subroutine InitAllocate(this, bounds)
127123
allocate(this%tlai_input_patch (begp:endp)) ; this%tlai_input_patch (:) = nan
128124
allocate(this%tsai_input_patch (begp:endp)) ; this%tsai_input_patch (:) = nan
129125
allocate(this%htop_input_patch (begp:endp)) ; this%htop_input_patch (:) = nan
130-
131-
allocate(this%tlai_hist_patch (begp:endp)) ; this%tlai_hist_patch (:) = nan
132-
allocate(this%tsai_hist_patch (begp:endp)) ; this%tsai_hist_patch (:) = nan
133-
allocate(this%htop_hist_patch (begp:endp)) ; this%htop_hist_patch (:) = nan
134-
135126
allocate(this%hbot_input_patch (begp:endp)) ; this%hbot_input_patch (:) = nan
136127
allocate(this%tlai_patch (begp:endp)) ; this%tlai_patch (:) = nan
137128
allocate(this%tsai_patch (begp:endp)) ; this%tsai_patch (:) = nan
@@ -557,10 +548,6 @@ subroutine InitCold(this, bounds)
557548
this%htop_input_patch(p) = 0._r8
558549
this%hbot_input_patch(p) = 0._r8
559550

560-
this%tlai_hist_patch(p) = 0._r8
561-
this%tsai_hist_patch(p) = 0._r8
562-
this%htop_hist_patch(p) = 0._r8
563-
564551
! needs to be initialized to spval to avoid problems when averaging for the accum
565552
! field
566553
this%fsun_patch(p) = spval

src/fates

Submodule fates updated 62 files

src/main/clm_initializeMod.F90

Lines changed: 1 addition & 1 deletion
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, SetSatellitePhenologyBGCCanopyStructs
177+
use SatellitePhenologyMod , only : GetSatellitePhenologyInputs
178178
use SnowSnicarMod , only : SnowAge_init, SnowOptics_init
179179
use lnd2atmMod , only : lnd2atm_minimal
180180
use controlMod , only : NLFilename, check_missing_initdata_status

0 commit comments

Comments
 (0)