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

Make number of NetCDF points YAML controllable #2600

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

Sbozzolo
Copy link
Member

It would be useful to dispatch over the grid type (with CliMA/ClimaCore.jl#1567) to have more reasonable defaults.

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.

Should we add an example in ci? Maybe one of the sphere or edmf jobs?

@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_ready branch 2 times, most recently from 76ea84a to cf49041 Compare January 29, 2024 22:45
@Sbozzolo Sbozzolo force-pushed the gb/diagnostics_ready branch from cf49041 to d5b82a6 Compare January 29, 2024 23:59
@Sbozzolo
Copy link
Member Author

Should we add an example in ci? Maybe one of the sphere or edmf jobs?

I added one example for a single column where I also show that we cannot specify 1 point (it has to be at least 2). It has to be at least 2 because of how ranges work in Julia. They hare inclusive of the extremes and ill-defined when you only have one point. I could add some logic to handle this edge case, but I don't think it's worth doing it for the time being.

@szy21
Copy link
Member

szy21 commented Jan 30, 2024

Looks great, thanks!

@Sbozzolo Sbozzolo added this pull request to the merge queue Jan 30, 2024
Merged via the queue into main with commit 37677eb Jan 30, 2024
10 checks passed
@Sbozzolo Sbozzolo deleted the gb/diagnostics_ready branch January 30, 2024 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants