DrylandEcology/rSOILWAT2

`get_transpiration()` fails on objects < v5.0.0

Closed this issue · 0 comments

get_transpiration() is using column "tran_cm" if slot "AET" is present; however, "tran_cm" was only added with SOILWAT2 v6.2.0 and rSOILWAT2 v5.0.0
-> the function errors out on output produced by earlier versions of rSOILWAT2 with message

Error in tmp[, "tran_cm"] : subscript out of bounds