-
Notifications
You must be signed in to change notification settings - Fork 19
Additional fields in diag_table and turn off RESTART_CHECKSUMS_REQUIRED for non-test runs #241
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
Conversation
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.
Two comments (these are both things I did in #104 that you've copied over, but now I'm wondering if I did them wrong):
-
The
kpp_test
variables are a mix of 2D and 3D fields:KPP_QminusSW
andKPP_netSalt
are 2D, butKPP_NLT_dTdt
,KPP_NLT_dSdt
,KPP_NLT_temp_budget
, andKPP_NLT_saln_budget
are 3D. Should those last four be duplicated in a separatekpp_test_z
list and added tohist_z_space
? That would be in line withprognostic
andprognostic_z
. -
Are these files case sensitive? Because you have
KPP_NLT_dSdT
instead ofKPP_NLT_dSdt
(last character should be lowercase)
@mnlevy1981 I'll update |
I question the need to have these 3d fields duplicated in a z stream in testing. Having the 3d fields in a native stream verifies that the diagnostic computation is preserved in PRs. Duplicating the fields in a z stream would vet the regridding to z. However, the infrastructure of regridding to z is already being exercised with other fields in z streams. |
@klindsay28 raises a good point -- |
I just corrected KPP_NLT_dSdt and also turned on the sfc stream for test runs. Not sure why it was turned off before. I also turned of RESTART_CHECKSUMS_REQUIRED for non-test runs as per #221 (I was planning to submit a separate PR for it but my changes in MOM_input.json got inadvertently added to the previous commit, so might as well ...) |
I ran into #242 while testing this... but comparing the unresolved diag tables looks like there are 19 new variables being output:
This matches my expectation: 6 new KPP variables, |
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.
I finally got the test suite results I was looking for:
FAIL SMS.TL319_t232.G1850MARBL_JRA.derecho_intel BASELINE alpha06e_control4: MULTIPLE ISSUES: field lists differ and some baseline files were missing
With
==> mom6.h.native.0001-01-05.nc.cprnc.out <==
SUMMARY of cprnc:
A total number of 112 fields were compared
of which 0 had non-zero differences
and 0 had differences in fill patterns
and 0 had different dimension sizes
and 0 had different data types
A total number of 0 fields could not be analyzed
A total number of 13 time-varying fields on file 1 were not found on file 2.
A total number of 0 time-constant fields on file 1 were not found on file 2.
A total number of 0 time-varying fields on file 2 were not found on file 1.
A total number of 0 time-constant fields on file 2 were not found on file 1.
diff_test: the two files DIFFER only in their field lists
==> mom6.h.rho2.0001-01-05.nc.cprnc.out <==
SUMMARY of cprnc:
A total number of 23 fields were compared
of which 0 had non-zero differences
and 0 had differences in fill patterns
and 0 had different dimension sizes
and 0 had different data types
A total number of 0 fields could not be analyzed
A total number of 1 time-varying fields on file 1 were not found on file 2.
A total number of 0 time-constant fields on file 1 were not found on file 2.
A total number of 0 time-varying fields on file 2 were not found on file 1.
A total number of 0 time-constant fields on file 2 were not found on file 1.
diff_test: the two files DIFFER only in their field lists
==> mom6.h.z.0001-01-05.nc.cprnc.out <==
SUMMARY of cprnc:
A total number of 32 fields were compared
of which 0 had non-zero differences
and 0 had differences in fill patterns
and 0 had different dimension sizes
and 0 had different data types
A total number of 0 fields could not be analyzed
A total number of 5 time-varying fields on file 1 were not found on file 2.
A total number of 0 time-constant fields on file 1 were not found on file 2.
A total number of 0 time-varying fields on file 2 were not found on file 1.
A total number of 0 time-constant fields on file 2 were not found on file 1.
diff_test: the two files DIFFER only in their field lists
The some baseline files were missing
refers to the mom6.h.sfc
stream, which was not generated in the control run because of the missing %
Also, turn off
RESTART_CHECKSUMS_REQUIRED
for non-test runs.