MOM6 time is in days from year 1. DART time is from 1601. This pull request converts MOM6 time to DART time in read_model_time.
Documentation updated to show how to turn on leap years for CESM (the default is no leap year). Added an example in the docs to illustrate Time in days vs. YYYY-MM-DD when you do not have leap years.
The write_model_time is not converted back to MOM6 time. See #494 for discussion on this. DART created files have dart time to match the observation times.
Fixes issue
fixes #494
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
Documentation changes needed?
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
Tests
Please describe any tests you ran to verify your changes.
Checklist for merging
[ ] Updated changelog entry
[ ] Documentation updated
[ ] Update conf.py
Checklist for release
[ ] Merge into main
[ ] Create release from the main branch with appropriate tag
[ ] Delete feature-branch
Testing Datasets
[ ] Dataset needed for testing available upon request
Description:
This pull request fixes read_model_time MOM6:
MOM6 time is in days from year 1. DART time is from 1601. This pull request converts MOM6 time to DART time in read_model_time.
Documentation updated to show how to turn on leap years for CESM (the default is no leap year). Added an example in the docs to illustrate Time in days vs. YYYY-MM-DD when you do not have leap years.
The write_model_time is not converted back to MOM6 time. See #494 for discussion on this. DART created files have dart time to match the observation times.
Fixes issue
fixes #494
Types of changes
Documentation changes needed?
Tests
Please describe any tests you ran to verify your changes.
Checklist for merging
Checklist for release
Testing Datasets