Skip to content

Commit c67039d

Browse files
committed
fix bugs
1 parent eb40f6d commit c67039d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

experiments/long_runs/low_res_snowy_land_temp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ user_callbacks = (
172172
ClimaLand.ReportCallback(10000),
173173
)
174174
simulation =
175-
LandSimulation(FT, start_date, stop_date, Δt, model; user_callbacks, outdir)
175+
LandSimulation(start_date, stop_date, Δt, model; user_callbacks, outdir)
176176
@info "Run: Global Soil-Canopy-Snow Model"
177177
@info "Resolution: $nelements"
178178
@info "Timestep: $Δt s"

src/shared_utilities/perturbed_drivers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function perturbed_rh_specific_humidity_from_dewpoint(
7171
sim_FT(T_dew_air) - _T_freeze,
7272
sim_FT(T_air) - _T_freeze,
7373
)
74-
rh = min(max(rh_true + Δrh, sqrt(eps(FT))), FT(1))
74+
rh = min(max(rh_true + Δrh, sqrt(eps(sim_FT))), sim_FT(1))
7575
q = Thermodynamics.q_vap_from_RH_liquid(
7676
thermo_params,
7777
sim_FT(P_air),

0 commit comments

Comments
 (0)