-
Notifications
You must be signed in to change notification settings - Fork 12
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
Checkpointer validates on C_SW and D_SW #320
Conversation
@@ -691,7 +691,7 @@ def _checkpoint_dsw_in(self, state: DycoreState): | |||
ucd=state.uc, | |||
vcd=state.vc, | |||
wd=state.w, | |||
delpcd=self.delpc, | |||
delpcd=self._vt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is wild to me that delpc is still a temporary but it's not the variable in the savepoint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add some # commenting about this? It's very confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be able to avoid changing test_translate.py, after that I think we can merge.
@@ -691,7 +691,7 @@ def _checkpoint_dsw_in(self, state: DycoreState): | |||
ucd=state.uc, | |||
vcd=state.vc, | |||
wd=state.w, | |||
delpcd=self.delpc, | |||
delpcd=self._vt, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add some # commenting about this? It's very confusing.
launch jenkins |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
launch jenkins |
2 similar comments
launch jenkins |
launch jenkins |
I approve of merging without the driver_savepoints_mpi-gt:cpu_ifirst plan, which is currently having some issues and might need a larger resource type. |
Purpose
In this PR, checkpointers are passing at
FVDynamics-In
,C_SW-In/Out
,D_SW-In/Out
, and failing onqvapor
with small error inFVDynamics-Out
(passing on all other variables) with the automatically calibrated thresholds. Further investigation is needed.Additionally, in Fortran serialized data,
FVDynamics-Out
has filled values in the halos for tracers. Instead of subsetting them, we do not serialize them out in the latest8.1.2
dataset.Code changes:
dyn_core
: fixed a mistake in the variables being passed toFVDynamics-In
checkpointertranslate_fvdynamics/driver
: we do not subset tracers since they are cropped in the serialized datatest_translate
: skip subsetting tracers when TrueChecklist
pace-util
, HISTORY has been updated