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

Do not fail when p.start_date is not available #49

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented May 21, 2024

This is not a complete solution, but at least ClimaDiagnostics will not fail if p.start_date is not available

Closes #14

Copy link
Member

@AlexisRenchon AlexisRenchon left a comment

Choose a reason for hiding this comment

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

I think the commit message just has a title?

Since this is not a permanent solution, should we just comment issue #14 but not close it? (so that we know we will need to improve this eventually).

This commits makes having "start_date" in the cache optional. When it is
available, the calendar dates will be saved to the NetCDF file.
Otherwise, only the simulation time will be stored
@Sbozzolo
Copy link
Member Author

I think the commit message just has a title?

Since this is not a permanent solution, should we just comment issue #14 but not close it? (so that we know we will need to improve this eventually).

I updated the commit message.

I think that #14 can still be closed, but we can revisit support for start date when needs arise.

@Sbozzolo Sbozzolo merged commit 96eb613 into main May 21, 2024
7 checks passed
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.

NetCDFWriter requires p.start_date
2 participants