Skip to content

Commit

Permalink
fixing units of wood product pool to be consistent with other pools
Browse files Browse the repository at this point in the history
  • Loading branch information
ckoven committed Dec 20, 2018
1 parent 32880fa commit 284a49a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main/FatesHistoryInterfaceMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,8 @@ subroutine update_history_dyn(this,nc,nsites,sites)
hio_canopy_spread_si(io_si) = sites(s)%spread

! track total wood product accumulation at the site level
hio_woodproduct_si(io_si) = sites(s)%resources_management%trunk_product_site * AREA_INV
hio_woodproduct_si(io_si) = sites(s)%resources_management%trunk_product_site &
* AREA_INV * g_per_kg

ipa = 0
cpatch => sites(s)%oldest_patch
Expand Down Expand Up @@ -3249,7 +3250,7 @@ subroutine define_history_vars(this, initialize_variables)
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, upfreq=1, &
ivar=ivar, initialize=initialize_variables, index = ih_fraction_secondary_forest_si )

call this%set_history_var(vname='WOOD_PRODUCT', units='kgC/m2', &
call this%set_history_var(vname='WOOD_PRODUCT', units='gC/m2', &
long='Total wood product from logging', use_default='inactive', &
avgflag='A', vtype=site_r8, hlms='CLM:ALM', flushval=0.0_r8, upfreq=1, &
ivar=ivar, initialize=initialize_variables, index = ih_woodproduct_si )
Expand Down

0 comments on commit 284a49a

Please sign in to comment.