File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
experiments/ClimaEarth/components/land Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ function ClimaLandSimulation(
155155 T_sfc0 = T_base .+ temp_anomaly .(coords. subsurface)
156156 else
157157 # constant field on subsurface space
158- T_sfc0 = CC . Fields . Field ( T_base .* CC. Fields. ones (subsurface_space) )
158+ T_sfc0 = T_base .* CC. Fields. ones (subsurface_space)
159159 end
160160 lapse_rate = FT (6.5e-3 )
161161 # Adjust initial temperature to account for orography of the surface
@@ -218,18 +218,20 @@ function ClimaLandSimulation(
218218 p,
219219 surface_space,
220220 ic_path,
221- model. snow. parameters,
221+ model. snow. parameters;
222+ regridder_type = regridder_type,
223+ extrapolation_bc = extrapolation_bc,
224+ interpolation_method = interpolation_method,
222225 )
223226
224- T_bounds = extrema (Y. canopy. energy. T)
225- CL. Simulations. set_soil_initial_conditions! (
227+ CL. Simulations. set_soil_initial_conditions_from_temperature_and_total_water! (
226228 Y,
227- ν,
228- θ_r,
229229 subsurface_space,
230230 ic_path,
231- model. soil,
232- T_bounds,
231+ model. soil;
232+ regridder_type = regridder_type,
233+ extrapolation_bc = extrapolation_bc,
234+ interpolation_method = interpolation_method,
233235 )
234236 elseif land_spun_up_ic
235237 # Use artifact spun-up initial conditions
You can’t perform that action at this time.
0 commit comments