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

Improve timestamp adjustment function in Glorys obc generation workflow #137

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yichengt900
Copy link
Contributor

@yichengt900 yichengt900 commented Jan 24, 2025

Several users have reported that the timestamp adjustment function in the current OBC workflow disrupts the original time variables and attributes, and will eventually mess up model run. This PR aims to address the issue by using decode_times=False when reading the files. Additionally, we have modified several boundary generation codes to further preserve the original time attributes and encoding.

I have tested these updated codes with the ARCTIC case, and they appear to run successfully through the first month.
The example obc generation workflow for Arctic can be found on ppan:
/work/ynt/develop/20250124/CEFI-regional-MOM6/tools/boundary/glorys_obc_workflow

The Arctic 1-month test case can be found here:
/gpfs/f6/ira-cefi/proj-shared/ARC12_nofk_nsrwsp_newobcs.o207584449

@yichengt900 yichengt900 marked this pull request as ready for review January 24, 2025 20:00
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.

1 participant