Skip to content

Commit

Permalink
Change runs to use spatialllyvarying rooting depth
Browse files Browse the repository at this point in the history
longruns/land.jl, benchmarks/land.jl and longruns/land_regional.jl
are changed to use the root depth map from the clm data
  • Loading branch information
imreddyTeja committed Sep 19, 2024
1 parent 9151e26 commit c19eb7e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion experiments/benchmarks/land.jl
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,13 @@ function setup_prob(t0, tf, Δt; nelements = (101, 15))
retention_model = Canopy.PlantHydraulics.LinearRetentionCurve{FT}(a)
plant_ν = FT(1.44e-4)
plant_S_s = FT(1e-2 * 0.0098) # m3/m3/MPa to m3/m3/m
rooting_depth = FT(0.5) # from Natan
rooting_depth = SpaceVaryingInput(
joinpath(clm_artifact_path, "root_map.nc"),
"rooting_depth",
surface_space;
regridder_type,
regridder_kwargs = (; extrapolation_bc,),
)
n_stem = 0
n_leaf = 1
h_stem = FT(0.0)
Expand Down
8 changes: 7 additions & 1 deletion experiments/long_runs/land.jl
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,13 @@ function setup_prob(t0, tf, Δt; outdir = outdir, nelements = (101, 15))
retention_model = Canopy.PlantHydraulics.LinearRetentionCurve{FT}(a)
plant_ν = FT(1.44e-4)
plant_S_s = FT(1e-2 * 0.0098) # m3/m3/MPa to m3/m3/m
rooting_depth = FT(0.5) # from Natan
rooting_depth = SpaceVaryingInput(
joinpath(clm_artifact_path, "root_map.nc"),
"rooting_depth",
surface_space;
regridder_type,
regridder_kwargs = (; extrapolation_bc,),
)
n_stem = 0
n_leaf = 1
h_stem = FT(0.0)
Expand Down
8 changes: 7 additions & 1 deletion experiments/long_runs/land_region.jl
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,13 @@ function setup_prob(t0, tf, Δt; outdir = outdir, nelements = (10, 10, 15))
retention_model = Canopy.PlantHydraulics.LinearRetentionCurve{FT}(a)
plant_ν = FT(1.44e-4)
plant_S_s = FT(1e-2 * 0.0098) # m3/m3/MPa to m3/m3/m
rooting_depth = FT(0.5) # from Natan
rooting_depth = SpaceVaryingInput(
joinpath(clm_artifact_path, "root_map.nc"),
"rooting_depth",
surface_space;
regridder_type,
regridder_kwargs = (; extrapolation_bc,),
)
n_stem = 0
n_leaf = 1
h_stem = FT(0.0)
Expand Down

0 comments on commit c19eb7e

Please sign in to comment.