Add support for OffsetArray in restore_prognostic_state! + minor variable name changes#5218
Conversation
…an specific to the type and state
glwagner
left a comment
There was a problem hiding this comment.
This looks good after I scanned it, though I am curious what @ali-ramadhan thinks.
Also @ali-ramadhan should we be restricting the second argument in restore_prognostic_state!? It seems like we often make assumptions about its properties, but the type is not provided. However it seems that @taimoorsohail has uncovered a case where the second type needs to be dispatched on?
Co-authored-by: Gregory L. Wagner <[email protected]>
|
This PR seems to work for checkpointing distributed GPU NumericalEarth runs now, waiting for tests to pass |
Co-authored-by: Simone Silvestri <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #5218 +/- ##
==========================================
- Coverage 73.07% 73.06% -0.02%
==========================================
Files 394 394
Lines 21976 21981 +5
==========================================
+ Hits 16060 16061 +1
- Misses 5916 5920 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Resolves #5212