Skip to content

Commit

Permalink
bufix and some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoven committed Feb 22, 2017
1 parent c3e0149 commit dd04f15
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions components/clm/src/ED/main/FatesHistoryInterfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1876,12 +1876,12 @@ subroutine define_history_vars(this, initialize_variables)
avgflag='A', vtype=patch_r8, hlms='CLM:ALM', flushval=0.0_r8, upfreq=1, &
ivar=ivar, initialize=initialize_variables, index = ih_btotal_pa )

call this%set_history_var(vname='CANOPY_BIOMASS', units='gC m-2', &
call this%set_history_var(vname='BIOMASS_CANOPY', units='gC m-2', &
long='Biomass of canopy plants', use_default='active', &
avgflag='A', vtype=patch_r8, hlms='CLM:ALM', flushval=0.0_r8, upfreq=1, &
ivar=ivar, initialize=initialize_variables, index = ih_canopy_biomass_pa )

call this%set_history_var(vname='UNDERSTORY_BIOMASS', units='gC m-2', &
call this%set_history_var(vname='BIOMASS_UNDERSTORY', units='gC m-2', &
long='Biomass of understory plants', use_default='active', &
avgflag='A', vtype=patch_r8, hlms='CLM:ALM', flushval=0.0_r8, upfreq=1, &
ivar=ivar, initialize=initialize_variables, index = ih_understory_biomass_pa )
Expand Down Expand Up @@ -1951,6 +1951,27 @@ subroutine define_history_vars(this, initialize_variables)
avgflag='A', vtype=patch_r8, hlms='CLM:ALM', flushval=0.0_r8, upfreq=2, &
ivar=ivar, initialize=initialize_variables, index = ih_ar_understory_pa )

! slow carbon fluxes associated with mortality from or transfer betweeen canopy and understory
call this%set_history_var(vname='DEMOTION_CARBONFLUX', units = 'gC/m2/s', &
long='demotion-associated biomass carbon flux from canopy to understory', use_default='active', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_demotion_carbonflux_si )

call this%set_history_var(vname='PROMOTION_CARBONFLUX', units = 'gC/m2/s', &
long='promotion-associated biomass carbon flux from understory to canopy', use_default='active', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_promotion_carbonflux_si )

call this%set_history_var(vname='MORTALITY_CARBONFLUX_CANOPY', units = 'gC/m2/s', &
long='flux of biomass carbon from live to dead pools from mortality of canopy plants', use_default='active', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_canopy_mortality_carbonflux_si )

call this%set_history_var(vname='MORTALITY_CARBONFLUX_UNDERSTORY', units = 'gC/m2/s', &
long='flux of biomass carbon from live to dead pools from mortality of understory plants', use_default='active', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_understory_mortality_carbonflux_si )


! Carbon Flux (grid dimension x scpf) (THESE ARE DEFAULT INACTIVE!!!
! (BECAUSE THEY TAKE UP SPACE!!!
Expand Down Expand Up @@ -2182,21 +2203,11 @@ subroutine define_history_vars(this, initialize_variables)
avgflag='A', vtype=site_size_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_demotion_rate_si_scls )

call this%set_history_var(vname='DEMOTION_CARBONFLUX', units = 'gC/m2/s', &
long='demotion-associated biomass carbon flux from canopy to understory', use_default='active', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_demotion_carbonflux_si )

call this%set_history_var(vname='PROMOTION_RATE_SCLS', units = 'indiv/ha/yr', &
long='promotion rate from understory to canopy by size class', use_default='active', &
avgflag='A', vtype=site_size_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_promotion_rate_si_scls )

call this%set_history_var(vname='PROMOTION_CARBONFLUX', units = 'gC/m2/s', &
long='promotion-associated biomass carbon flux from understory to canopy', use_default='active', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, &
upfreq=1, ivar=ivar, initialize=initialize_variables, index = ih_promotion_carbonflux_si )

call this%set_history_var(vname='NPLANT_CANOPY_SCLS', units = 'indiv/ha', &
long='number of canopy plants by size class', use_default='active', &
avgflag='A', vtype=site_size_r8, hlms='CLM:ALM', flushval=0.0_r8, &
Expand Down

0 comments on commit dd04f15

Please sign in to comment.