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

Use t_end to determine output frequency #2605

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Conversation

Sbozzolo
Copy link
Member

The logic is as follows:

If t_end < 1 day take hourly means,
if t_end < 1 year take daily means,
If t_end >= 1 year take monthly means.

@Sbozzolo Sbozzolo requested a review from szy21 January 29, 2024 22:39
@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_frequency branch from b1cd9d9 to 926459e Compare January 29, 2024 22:40
@szy21
Copy link
Member

szy21 commented Jan 29, 2024

This will still cause issues for the current longrun, as they are less than a year with daily output. I will get back to you with a better logic later this afternoon.

@szy21
Copy link
Member

szy21 commented Jan 30, 2024

How about:
If t_end < 1 day take hourly means,
if t_end < 30 day take daily means,
if t_end < 120 day take 10 day means,
If t_end >= 120 day take monthly (30 day) means.

Is this too complicated?

@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_frequency branch from 926459e to 9497f90 Compare January 30, 2024 00:10
@Sbozzolo
Copy link
Member Author

How about: If t_end < 1 day take hourly means, if t_end < 30 day take daily means, if t_end < 120 day take 10 day means, If t_end >= 120 day take monthly (30 day) means.

Is this too complicated?

No, easy peasy

@szy21 szy21 mentioned this pull request Jan 30, 2024
1 task
@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_frequency branch 15 times, most recently from b416a11 to c646272 Compare January 30, 2024 18:36
@Sbozzolo Sbozzolo requested a review from szy21 January 30, 2024 19:45
Copy link
Member

@szy21 szy21 left a comment

Choose a reason for hiding this comment

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

Thank you!

@Sbozzolo Sbozzolo added this pull request to the merge queue Jan 30, 2024
@Sbozzolo Sbozzolo removed this pull request from the merge queue due to a manual request Jan 30, 2024
@Sbozzolo
Copy link
Member Author

Just realized that some of the longruns will fail because their output changed.

@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_frequency branch 8 times, most recently from 1810fe5 to e7e4acb Compare January 31, 2024 16:28
The logic is as follows:

If `t_end < 1 day` take hourly means,
if `t_end < 30 days` take daily means,
if `t_end < 120 days` take means over ten days,
If `t_end >= 120 year` take monthly means.
@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_frequency branch from e7e4acb to c693763 Compare January 31, 2024 17:48
@Sbozzolo Sbozzolo enabled auto-merge January 31, 2024 17:48
@Sbozzolo Sbozzolo added this pull request to the merge queue Jan 31, 2024
Merged via the queue into main with commit d9272d1 Jan 31, 2024
10 checks passed
@Sbozzolo Sbozzolo deleted the gb/diagnostics_frequency branch January 31, 2024 20:44
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