pace
pace copied to clipboard
Feature/add driver checkpoint
Purpose
This PR adds driver-in/out checkpointer. Currently also supports non orchestrated backends and only tested using numpy.
Code changes:
- checkpoint: added checkpoint selector to expose checkpoint type to driver
- driver: added
checkpointer_configto driver config, defaults toNullCheckpointer - grid and initialization: for serialbox type, add option to read the netcdf file
- fv_dynamics: add checkpoint driver-in
- update_atmos_state: add checkpoint driver-out
- test_checkpoints: add test_driver driver-in/out checkpoint
Infrastructure changes:
- driver checkpoint test added
- added
allfolder for c12_6ranks_baroclinic_dycore_microphysics which combines all savepoint netcdf to one folder
Checklist
Before submitting this PR, please make sure:
- [ ] You have followed the coding standards guidelines established at Code Review Checklist.
- [ ] Docstrings and type hints are added to new and updated routines, as appropriate
- [ ] All relevant documentation has been updated or added (e.g. README, CONTRIBUTING docs)
- [ ] For each public change and fix in
pace-util, HISTORY has been updated - [ ] Unit tests are added or updated for non-stencil code changes