Skip to content

Commit

Permalink
fixing sw_in() function to use depth and gravel correctly (in terms o…
Browse files Browse the repository at this point in the history
…f new soils data)
  • Loading branch information
aestears committed Aug 28, 2024
1 parent 39442ce commit 8685746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/setSoilwatParamaters.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ setSW <- function(sw_in, Lat, Long, calc_SiteClimate,
# clay_i, sand_i, silt_i, coarse_i, thickness_i, bulkdensity_i

soil_gridded <- data.frame(
depth =thickness_i, # AES updated so we have a deep layer...
depth = depths_i, # AES updated so we have a deep layer...
bulkd = bulkdensity_i,
gravel = coarse_i, #?? don't have these data?
gravel = coarse_i,
evco = NA,
trco_grass = NA, # transpiration coefficients--based on rooting distribution (from a review of rooting distributions) --
trco_shrub = NA,
Expand Down

0 comments on commit 8685746

Please sign in to comment.