Skip to content

Commit 0f540e8

Browse files
committed
try long run [skip ci]
1 parent bb2f55a commit 0f540e8

File tree

4 files changed

+12
-23
lines changed

4 files changed

+12
-23
lines changed

src/standalone/Vegetation/Canopy.jl

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ using Thermodynamics
55
using ClimaLand
66
using LazyBroadcast: lazy
77
using ClimaCore
8+
using NCDatasets
89
using ClimaCore.MatrixFields
910
import ClimaCore.MatrixFields: @name,
10-
import ClimaUtilities.TimeVaryingInputs: AbstractTimeVaryingInput
11+
using ClimaUtilities.TimeVaryingInputs: AbstractTimeVaryingInput
1112
import ClimaUtilities.TimeManager: ITime, date
1213
import LinearAlgebra: I, dot
1314
using ClimaLand: AbstractRadiativeDrivers, AbstractAtmosphericDrivers
@@ -383,13 +384,13 @@ end
383384
PrescribedBiomassModel{FT}(
384385
domain,
385386
LAI::AbstractTimeVaryingInput,
386-
maxLAI::Union{FT,AbstractSpaceVaryingInput},
387+
maxLAI,
387388
toml_dict::CP.ParamDict;
388-
SAI::FS = toml_dict["SAI_coeff"] .* maxLAI,
389-
RAI::FS = toml_dict["RAI_coeff"] .* maxLAI,
389+
SAI = toml_dict["SAI_coeff"] .* maxLAI,
390+
RAI = toml_dict["RAI_coeff"] .* maxLAI,
390391
rooting_depth = clm_rooting_depth(domain.space.surface),
391392
height = toml_dict["canopy_height"]
392-
) where {FS, FT <: AbstractFloat}
393+
) where {FT <: AbstractFloat}
393394
394395
Creates a PrescribedBiomassModel on the provided domain, using parameters from `toml_dict`,
395396
assuming that the SAI and RAI are computed as a linear multiple of the maximum LAI.
@@ -403,13 +404,13 @@ The following default parameters are used:
403404
function PrescribedBiomassModel{FT}(
404405
domain,
405406
LAI::AbstractTimeVaryingInput,
406-
maxLAI::Union{FT, AbstractSpaceVaryingInput},
407+
maxLAI,
407408
toml_dict::CP.ParamDict;
408-
SAI::FS = toml_dict["SAI_coeff"] .* maxLAI,
409-
RAI::FS = toml_dict["RAI_coeff"] .* maxLAI,
409+
SAI = toml_dict["SAI_coeff"] .* maxLAI,
410+
RAI = toml_dict["RAI_coeff"] .* maxLAI,
410411
rooting_depth = clm_rooting_depth(domain.space.surface),
411412
height = toml_dict["canopy_height"],
412-
) where {FS, FT <: AbstractFloat}
413+
) where {FT <: AbstractFloat}
413414
plant_area_index = PrescribedAreaIndices(LAI, SAI, RAI)
414415
return PrescribedBiomassModel{
415416
FT,

src/standalone/Vegetation/plant_hydraulics.jl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
using ClimaLand
22
using ClimaLand.Soil
3-
using ClimaUtilities.TimeVaryingInputs
4-
import ClimaUtilities.TimeVaryingInputs:
5-
TimeVaryingInput, AbstractTimeVaryingInput
6-
import ClimaUtilities.TimeManager: ITime
7-
import NCDatasets, ClimaCore, Interpolations # Needed to load TimeVaryingInputs
8-
using ..ClimaLand.Canopy: AbstractCanopyComponent
93
using ClimaLand: PrescribedGroundConditions
10-
using ClimaCore
11-
import ClimaLand.Parameters as LP
12-
import ClimaParams as CP
13-
using DocStringExtensions
14-
using LazyBroadcast: lazy
15-
164
export PlantHydraulicsModel,
175
AbstractPlantHydraulicsModel,
186
water_flux,

toml/default_parameters.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ description = "The linear factor multiplying the maximum LAI in a pixel to get t
8787
tag = "PrescribedAreaIndices"
8888

8989
["RAI_coeff"]
90-
value = 0.16
90+
value = 5.0
9191
type = "float"
9292
description = "The linear factor multiplying the maximum LAI in a pixel to get the root area index (RAI; m2/m2)"
9393
tag = "PrescribedAreaIndices"

toml/uncalibrated_parameters.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ description = "The linear factor multiplying the maximum LAI in a pixel to get t
8787
tag = "PrescribedAreaIndices"
8888

8989
["RAI_coeff"]
90-
value = 0.16
90+
value = 5.0
9191
type = "float"
9292
description = "The linear factor multiplying the maximum LAI in a pixel to get the root area index (RAI; m2/m2)"
9393
tag = "PrescribedAreaIndices"

0 commit comments

Comments
 (0)