Skip to content

Commit

Permalink
t_end 400s, debug in coupling loop
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasloan25 committed Mar 21, 2024
1 parent 6146f45 commit ac1035b
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion config/model_configs/amip_albedo_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ precip_model: "0M"
rad: "gray"
rayleigh_sponge: true
run_name: "amip_albedo_function"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
z_elem: 50
z_stretch: false
2 changes: 1 addition & 1 deletion config/model_configs/amip_albedo_static_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ precip_model: "0M"
rad: "gray"
rayleigh_sponge: true
run_name: "amip_albedo_static_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
z_elem: 50
z_stretch: false
2 changes: 1 addition & 1 deletion config/model_configs/amip_albedo_temporal_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ precip_model: "0M"
rad: "gray"
rayleigh_sponge: true
run_name: "amip_albedo_temporal_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
z_elem: 50
z_stretch: false
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ netcdf_output_at_levels: true
run_name: "amip_target_topo_diagedmf_shortrun"
start_date: "19790301"
surface_setup: "PrescribedSurface"
t_end: "1days"
t_end: "400secs"
topo_smoothing: true
topography: "Earth"
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/model_configs/gpu_amip_albedo_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ precip_model: "0M"
rad: "gray"
rayleigh_sponge: true
run_name: "gpu_amip_albedo_function"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
z_elem: 50
z_stretch: false
2 changes: 1 addition & 1 deletion config/model_configs/gpu_amip_albedo_static_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ precip_model: "0M"
rad: "gray"
rayleigh_sponge: true
run_name: "gpu_amip_albedo_static_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
z_elem: 50
z_stretch: false
2 changes: 1 addition & 1 deletion config/model_configs/gpu_amip_albedo_temporal_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ precip_model: "0M"
rad: "gray"
rayleigh_sponge: true
run_name: "gpu_amip_albedo_temporal_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
z_elem: 50
z_stretch: false
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ netcdf_output_at_levels: true
run_name: "gpu_amip_target_topo_diagedmf_shortrun"
start_date: "19790301"
surface_setup: "PrescribedSurface"
t_end: "1days"
t_end: "400secs"
topo_smoothing: true
topography: "Earth"
turb_flux_partition: "CombinedStateFluxes"
Expand Down
2 changes: 1 addition & 1 deletion config/model_configs/gpu_slabplanet_albedo_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ mono_surface: true
precip_model: "0M"
rad: "gray"
run_name: "gpu_slabplanet_albedo_function"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
2 changes: 1 addition & 1 deletion config/model_configs/gpu_slabplanet_albedo_static_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ mono_surface: true
precip_model: "0M"
rad: "gray"
run_name: "gpu_slabplanet_albedo_static_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ mono_surface: true
precip_model: "0M"
rad: "gray"
run_name: "gpu_slabplanet_albedo_temporal_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
2 changes: 1 addition & 1 deletion config/model_configs/slabplanet_albedo_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ mono_surface: true
precip_model: "0M"
rad: "gray"
run_name: "slabplanet_albedo_function"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
2 changes: 1 addition & 1 deletion config/model_configs/slabplanet_albedo_static_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ mono_surface: true
precip_model: "0M"
rad: "gray"
run_name: "slabplanet_albedo_static_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
2 changes: 1 addition & 1 deletion config/model_configs/slabplanet_albedo_temporal_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ mono_surface: true
precip_model: "0M"
rad: "gray"
run_name: "slabplanet_albedo_temporal_map"
t_end: "1days"
t_end: "400secs"
vert_diff: "true"
2 changes: 2 additions & 0 deletions experiments/AMIP/coupler_driver.jl
Original file line number Diff line number Diff line change
Expand Up @@ -664,6 +664,8 @@ function solve_coupler!(cs)
walltime = @elapsed for t in ((tspan[begin] + Δt_cpl):Δt_cpl:tspan[end])
cs.dates.date[1] = current_date(cs, t) # if not global, `date` is not updated.

debug(cs, debug_dir * "/9_coupler_loop_$t")

## print date on the first of month
if cs.dates.date[1] >= cs.dates.date1[1]
ClimaComms.iamroot(comms_ctx) ? @show(cs.dates.date[1]) : nothing
Expand Down

0 comments on commit ac1035b

Please sign in to comment.