GEOS-ESM / MAPL

MAPL is a foundation layer of the GEOS architecture, whose original purpose is to supplement the Earth System Modeling Framework (ESMF)
https://geos-esm.github.io/MAPL/
Apache License 2.0
26 stars 17 forks source link

Utility to combine RESTART_BY_FACE #2090

Open atrayano opened 1 year ago

atrayano commented 1 year ago

Currently, WRITE_RESTART_BY_FACE feature is working properly, and the output is "split", i.e. at the end of the run we have 6 different restarts, one for each face of the cubed sphere, and they are labeled correctly. However, such restarts cannot be used for a new run in which READ_RESTART_BY_FACE is set to NO. We need an offline utility to combine the 6 individual "face" restarts into a "regular" (i.e. all 6 faces of the cube be part of the same restart)

bena-nasa commented 1 year ago

@weiyuan-jiang Have you done this? I have a some python script lying around that could pretty much do this already with slight modification. I can clean that up if you have not done this yet.

weiyuan-jiang commented 1 year ago

Not yet. But I am working on read_restart_by_face now

bena-nasa commented 1 year ago

Ok, if you do I literally have script lying around that takes per-face files and combines them into a GEOS restart I need for the UFS topography workflow, so let me know.

bena-nasa commented 1 year ago

I have made some scripts to do this. I've confirmed they work at c24 @mathomp4, is going to try these out on the big ones at c2880, if they are adequate I will consult with him if he feels the command line arguments need tweaking and we can get these in

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days, it will be closed. You can add the "long term" tag to prevent the Stale bot from closing this issue.

stale[bot] commented 1 year ago

Closing due to inactivity

mathomp4 commented 1 year ago

I'm reopening this and marking long-term until @bena-nasa can say all is good