You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function description says it Calculate the water holding capacity given the pedotransferfunction of Rawls & Brakensiek 1985
But the only calculation done in the code is:
# Calcaulte parameters of water retention curve of Brooks and Corey (1964)
dt[, value:= calc_soil_porosity(D_BDS)]
# return value
value<-dt[, value]
# return value
return(value)
}
# add density (with Corg in g/kg as input) in units g/cm3
dt[,D_BDS := (1617 - 77.4 * log(A_C_OF) - 3.49 * A_C_OF)*0.001]
# Calcaulte parameters of water retention curve of Brooks and Corey (1964)
dt[, value := calc_soil_porosity(D_BDS)]
Which suggests other functions are being used.
The text was updated successfully, but these errors were encountered:
there are two items here. First the pedotransfer function is made by R & B as mentioned in the reference. But the pedotransfer functions are used to generate input parameters for another function describing the pF curve (in this case). Boorks and Corey have defined a pF curve description (similar to van Genuchten). So, that explains the "mismatch" in the comment made. Though, to be exact, i wonder whether the calc_soil_porosity here comes from Brooks and Corey. It can be deleted.
The function description says it Calculate the water holding capacity given the pedotransferfunction of Rawls & Brakensiek 1985
But the only calculation done in the code is:
soilptf/R/whc.R
Lines 610 to 662 in f352233
Which suggests other functions are being used.
The text was updated successfully, but these errors were encountered: