Skip to content

Use tau_* values on params file #138

@ekluzek

Description

@ekluzek

Erik Kluzek < erik > - 2016-06-10 14:30:46 -0600
Bugzilla Id: 2320
Bugzilla CC: cdkoven, dlawren, rfisher,

The "tau_*" values are currently using the hardcoded values in SoilBiogeochemDecompCascadeBGCMod.F90 rather than the values on the params file. The values on the params file are read in -- but discarded. The issue seems to be that answers change when you read in from the params file, rather than doing the inverse that the code has. So if the values read in are the inverse then you can do the divide in the code and preserve answers.

  ! the belowground parameters from century
  tau_l1 = 1./18.5
  tau_l2_l3 = 1./4.9
  tau_s1 = 1./7.3
  tau_s2 = 1./0.2
  tau_s3 = 1./.0045

  ! century leaves wood decomposition rates open, within range of 0 - 0.5 yr^-1
  tau_cwd  = 1./0.3

  ! Todo:  FIX(SPM,032414) - the explicit divide gives different results than when that
  ! value is placed in the parameters netcdf file.  To get bfb, keep the 
  ! divide in source.

  !tau_l1 = params_inst%tau_l1_bgc
  !tau_l2_l3 = params_inst%tau_l2_l3_bgc
  !tau_s1 = params_inst%tau_s1_bgc
  !tau_s2 = params_inst%tau_s2_bgc
  !tau_s3 = params_inst%tau_s3_bgc

  !set turnover rate of coarse woody debris
  !tau_cwd = params_inst%tau_cwd_bgc

There are similar issues in SoilBiogeochemLittVertTranspMod.F90 and in biogeochem/ch4Mod.F90. They are documented with the following type of comment in the code...

! FIX(FIX(SPM,032414),032414) can't be read off of param file. not bfb since it is a divide

So this means there are several variables on the params file that get read in and then ignored.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething is working incorrectly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions