ai2cm / fv3net

explore the FV3 data for parameterization
MIT License
16 stars 3 forks source link

Change coarsening routines to use "open_restarts" #131

Closed frodre closed 4 years ago

frodre commented 4 years ago

The coarsen_restarts_on_* routines currently have quite a bit of logic in them that would be made easier by utilizing the open_restarts.

From discussion on #120.

From @oliverwm1
We could clean up the coarsen_restartson* functions a lot if they used the open_restarts functionality which handles renaming dimension names etc. But that function is still not quite ready for this, since it expects a path to run directory, and makes some assumptions about the exact filenames of the restart files. Maybe we make a GitHub issue about this so we don't forget.

frodre commented 4 years ago

Duplicate of #104