Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions config/ci_configs/amip_albedo_temporal_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ time_varying_trace_gases: ["CO2"]
vert_diff: "true"
z_elem: 50
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_coarse_ft64_hourly_checkpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ microphysics_model: "0M"
t_end: "1days"
time_varying_trace_gases: ["CO2"]
vert_diff: "true"
check_nan_every: 1
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ microphysics_model: "0M"
t_end: "800secs"
time_varying_trace_gases: ["CO2"]
vert_diff: "true"
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_coarse_mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ share_surface_space: false
t_end: "1days"
time_varying_trace_gases: ["CO2"]
vert_diff: "true"
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_component_dts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ time_varying_trace_gases: ["CO2"]
vert_diff: "true"
z_elem: 50
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ use_itime: true
vert_diff: "true"
z_elem: 50
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_diagedmf_integrated_land.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ topography: "Earth"
viscous_sponge: true
z_elem: 63
z_max: 60000.0
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_land_ic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ time_varying_trace_gases: ["CO2"]
vert_diff: "true"
z_elem: 50
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_n1_shortrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ time_varying_trace_gases: ["CO2"]
vert_diff: "true"
z_elem: 50
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/amip_progedmf_bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ topography: "Earth"
viscous_sponge: true
z_elem: 63
z_max: 60000.0
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/cmip_oceananigans_climaseaice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ topography: "Earth"
viscous_sponge: true
z_elem: 39
z_max: 60000.0
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/cmip_oceananigans_climaseaice_bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ topography: "Earth"
viscous_sponge: true
z_elem: 39
z_max: 60000.0
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/scm_amip_ice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ vert_diff: "DecayWithHeightDiffusion"
z_elem: 30
z_max: 30000.0
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/scm_amip_ocean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ vert_diff: "DecayWithHeightDiffusion"
z_elem: 30
z_max: 30000.0
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/scm_slabplanet_aqua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ vert_diff: "DecayWithHeightDiffusion"
z_elem: 30
z_max: 30000.0
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/scm_slabplanet_terra_bucket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ vert_diff: "DecayWithHeightDiffusion"
z_elem: 30
z_max: 30000.0
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/scm_slabplanet_terra_land.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ vert_diff: "DecayWithHeightDiffusion"
z_elem: 30
z_max: 30000.0
z_stretch: false
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/slabplanet_albedo_function.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ share_surface_space: false
t_end: "1days"
use_itime: false
vert_diff: "true"
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/slabplanet_aqua.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ start_date: "20100101"
surface_setup: "PrescribedSurface"
t_end: "400secs"
vert_diff: "DecayWithHeightDiffusion"
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/slabplanet_atmos_diags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ microphysics_model: "0M"
t_end: "1days"
vert_diff: "true"

check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/slabplanet_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ rad: "gray"
microphysics_model: "0M"
t_end: "1days"
vert_diff: "true"
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/slabplanet_dry_norad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ rad: nothing
microphysics_model: "dry"
t_end: "1days"
vert_diff: "true"
check_nan_every: 1
1 change: 1 addition & 0 deletions config/ci_configs/slabplanet_terra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ start_date: "20100101"
surface_setup: "PrescribedSurface"
t_end: "400secs"
vert_diff: "DecayWithHeightDiffusion"
check_nan_every: 1
4 changes: 4 additions & 0 deletions docs/src/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ end
Look for: negative temperatures, extremely large or small fluxes, NaN
values in any field, or values that are zero where they shouldn't be.

!!! note
Sometimes NaNs can occur without fully breaking the simulation.
One way to ensure that NaNs are caught quickly is by setting the `check_nan_every` config option as part of the ClimaAtmos model (see [the ClimaAtmos docs](https://clima.github.io/ClimaAtmos.jl/dev/config/#Default-Configuration) for details).

### Plotting ClimaCore fields

The built-in `Plotting.debug` function produces a grid of heatmaps of all coupler and
Expand Down
Loading