Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ITime issue with saveat #1208

Merged
merged 1 commit into from
Feb 28, 2025
Merged

Fix ITime issue with saveat #1208

merged 1 commit into from
Feb 28, 2025

Conversation

ph-kev
Copy link
Member

@ph-kev ph-kev commented Feb 26, 2025

When saveat = Inf, it is not possible to make an ITime. When this happens, we will instead pass in an empty array for saveat.

@ph-kev ph-kev marked this pull request as ready for review February 26, 2025 23:28
@ph-kev ph-kev requested a review from juliasloan25 February 26, 2025 23:28
Copy link
Member

@juliasloan25 juliasloan25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good! Could you also add the following lines to config/ci_configs/amip_coarse_ft32.yml please? That way we'll exercise those options in our regular CI and we can catch issues like this before they get to the benchmarks.

dt_save_state_to_disk: "Inf"
dt_save_to_sol: "Inf"

@ph-kev ph-kev force-pushed the kp/itime-bug branch 3 times, most recently from de9a6bb to 64080db Compare February 27, 2025 01:24
@ph-kev ph-kev requested a review from juliasloan25 February 27, 2025 18:57
@@ -11,3 +11,5 @@ precip_model: "0M"
rad: "allskywithclear"
t_end: "10days"
vert_diff: "true"
dt_save_state_to_disk: "Inf"
dt_save_to_sol: "Inf"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 4 of this file has dt_save_to_sol: "100days", which should be removed. Also, we try to keep the configs alphabetized so it's easier to compare them (and find duplicate entries like this). Could you alphabetize the new entries please?

@ph-kev ph-kev merged commit 969653e into main Feb 28, 2025
13 checks passed
@ph-kev ph-kev deleted the kp/itime-bug branch February 28, 2025 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants