DrylandEcology / rSFSTEP2

R program that interfaces with the STEPWAT2 C code and runs in parallel for multiple sites, climate scenarios, disturbance regimes, and time periods
0 stars 1 forks source link

Update equation that dynamically scales the relative abundance of cheatgrass to require both conditions #239

Closed kpalmqui closed 4 years ago

kpalmqui commented 4 years ago

Currently, we dynamically scale cheatgrass abundance based on two climate variables related to cheatgrass abundance identified in Brummer et al. 2016 (see issue # for more information):

tmin2 = minimum temperature in Feburary prec7 = precipitation (mm) in July

The current implementation is if either of these checks fails, then cheatgrass relative abundance and space are set to 0:

  if(prec7 > 30 | tmin2 < -13){
    annuals_fraction <- 0.0

We have decided to be more conservative and only set cheatgrass relative abundance to 0 when both conditions are met:

  if(prec7 > 30 & tmin2 < -13){
    annuals_fraction <- 0.0
kpalmqui commented 4 years ago

Resolved by bddb2816d69c36365037cb8a93ff3b96c75416b5