Skip to content

Commit

Permalink
rename override_precip_timescale
Browse files Browse the repository at this point in the history
  • Loading branch information
szy21 committed Dec 4, 2024
1 parent 33a2af5 commit 1de44d2
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/default_configs/default_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ implicit_diffusion:
approximate_linear_solve_iters:
help: "Number of iterations for the approximate linear solve (used when `implicit_diffusion` is true)"
value: 1
override_τ_precip:
override_precip_timescale:
help: "If true, sets τ_precip to dt. Otherwise, τ_precip is set to the value in the toml dictionary"
value: true
output_default_diagnostics:
Expand Down
2 changes: 1 addition & 1 deletion config/longrun_configs/amip_target_diagedmf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dt_save_state_to_disk: "20days"
moist: "equil"
cloud_model: "quadrature_sgs"
precip_model: "0M"
override_τ_precip: false
override_precip_timescale: false
rad: "allskywithclear"
dt_rad: "1hours"
dt_cloud_fraction: "1hours"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ edmfx_nh_pressure: true
edmfx_sgs_mass_flux: true
edmfx_sgs_diffusive_flux: true
precip_model: "0M"
override_τ_precip: false
override_precip_timescale: false
toml: [toml/longrun_aquaplanet_diagedmf.toml]
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ edmfx_filter: true
edmfx_sgs_mass_flux: false
edmfx_sgs_diffusive_flux: true
precip_model: "0M"
override_τ_precip: false
override_precip_timescale: false
toml: [toml/longrun_aquaplanet_progedmf.toml]
2 changes: 1 addition & 1 deletion config/model_configs/diagnostic_edmfx_trmm_box_0M.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ moist: equil
cloud_model: "quadrature_sgs"
call_cloud_diagnostics_per_stage: true
precip_model: "0M"
override_τ_precip: false
override_precip_timescale: false
config: box
x_max: 1e8
y_max: 1e8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ moist: equil
cloud_model: "quadrature_sgs"
call_cloud_diagnostics_per_stage: true
precip_model: "1M"
override_τ_precip: false
override_precip_timescale: false
config: box
x_max: 1e8
y_max: 1e8
Expand Down
2 changes: 1 addition & 1 deletion config/model_configs/rcemipii_box_diagnostic_edmfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ edmfx_sgs_diffusive_flux: true
rayleigh_sponge: true
moist: equil
precip_model: 0M
override_τ_precip: false
override_precip_timescale: false
dt: 30secs
t_end: 3600secs
dt_save_state_to_disk: 12hours
Expand Down
2 changes: 1 addition & 1 deletion config/model_configs/rcemipii_sphere_diagnostic_edmfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ edmfx_sgs_diffusive_flux: true
rayleigh_sponge: true
moist: equil
precip_model: 0M
override_τ_precip: false
override_precip_timescale: false
dt: 100secs
t_end: 12hours
dt_save_state_to_disk: 12hours
Expand Down
2 changes: 1 addition & 1 deletion src/parameters/create_parameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function create_parameter_set(config::AtmosConfig)

# Microphysics scheme parameters (from CloudMicrophysics.jl)
# TODO - repeating the logic from solver/model_getters.jl...
if parsed_args["override_τ_precip"]
if parsed_args["override_precip_timescale"]
toml_dict["precipitation_timescale"]["value"] =
FT(CA.time_to_seconds(parsed_args["dt"]))
end
Expand Down

0 comments on commit 1de44d2

Please sign in to comment.