You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/default_configs/default_config.yml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -271,6 +271,9 @@ site_latitude:
271
271
site_longitude:
272
272
help: "Site longitude for single column model. Used for externally driven time varying forcing model to generate the forcing file. Artifact support is currently for eastern Pacific region in July 2007 only. [`-149.0` (default)]"
273
273
value: -149.0
274
+
era5_diurnal_warming:
275
+
help: Applies a warming scenario by adding a constant temperature offset (in Kelvin). Supported only by the `ReanalysisMonthlyAveragedDiurnal` forcing model. This affects the target surface temperature for the entire simulation, the initial atmospheric temperature profile, and the relaxation temperature profile above `gcmdriven_relaxation_minimum_height`. Specific humidity is increased to hold relative humidity constant in the initial and relaxation profiles.
Copy file name to clipboardExpand all lines: src/solver/model_getters.jl
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -466,6 +466,10 @@ function get_external_forcing_model(parsed_args, ::Type{FT}) where {FT}
466
466
@assert parsed_args["config"] =="column""ReanalysisTimeVarying and ReanalysisMonthlyAveragedDiurnal are only supported in column mode."
467
467
@assertall(reanalysis_required_fields .=="ReanalysisTimeVarying") "All of external_forcing, surface_setup, surface_temperature and initial_condition must be set to ReanalysisTimeVarying."
468
468
end
469
+
if!isnothing(parsed_args["era5_diurnal_warming"])
470
+
@assert external_forcing =="ReanalysisMonthlyAveragedDiurnal""era5_diurnal_warming is only supported for ReanalysisMonthlyAveragedDiurnal."
471
+
@assert parsed_args["era5_diurnal_warming"] isa Number "era5_diurnal_warming is expected to be a number, but was supplied as a $(typeof(parsed_args["era5_diurnal_warming"]))"
0 commit comments