-
Notifications
You must be signed in to change notification settings - Fork 375
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
Fix the mpaso-conservation_check testdef #6659
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.
I successfully ran the test:
./create_test --wait --walltime=1:00:00 ERS_Ld5_D.T62_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check
I see the modified mpaso
section in env_archive.xml
looks as expected:
<comp_archive_spec compclass="ocn" compname="mpaso">
<rest_file_extension>rst</rest_file_extension>
<rest_file_extension>rst.am.timeSeriesStatsMonthly</rest_file_extension>
<hist_file_extension>hist.am.conservationCheck\..*\.nc$</hist_file_extension>
<rest_history_varname>unset</rest_history_varname>
<rpointer>
<rpointer_file>rpointer.ocn$NINST_STRING</rpointer_file>
<rpointer_content>$MPAS_DATENAME</rpointer_content>
</rpointer>
<test_file_names>
<tfile disposition="copy">rpointer.ocn</tfile>
<tfile disposition="copy">casename.mpaso.rst.1976-01-01_00000.nc</tfile>
<tfile disposition="copy">casename.mpaso.rst.am.timeSeriesStatsMonthly.1976-01-01_00000.nc</tfile>
<tfile disposition="move">casename.mpaso.hist.am.conservationCheck.1976-01-01.nc</tfile>
</test_file_names>
</comp_archive_spec>
I also see that the outputs from the conservation check are successfully being compared:
$ head /lcrc/group/e3sm/ac.xasay-davis/scratch/chrys/ERS_Ld5_D.T62_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check.20241008_095746_8rndms/run/ERS_Ld5_D.T62_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check.20241008_095746_8rndms.mpaso.hist.am.conservationCheck.0001-01-01.nc.base.cprnc.out
file 1=
/lcrc/group/e3sm/ac.xasay-davis/scratch/chrys/ERS_Ld5_D.T62_oQU240.GMPAS-IAF.ch
rysalis_intel.mpaso-conservation_check.20241008_095746_8rndms/run/ERS_Ld5_D.T62
_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check.20241008_095746_8rnd
ms.mpaso.hist.am.conservationCheck.0001-01-01.nc.base
file 2=
/lcrc/group/e3sm/ac.xasay-davis/scratch/chrys/ERS_Ld5_D.T62_oQU240.GMPAS-IAF.ch
rysalis_intel.mpaso-conservation_check.20241008_095746_8rndms/run/ERS_Ld5_D.T62
_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check.20241008_095746_8rnd
ms.mpaso.hist.am.conservationCheck.0001-01-01.nc.rest
$ tail /lcrc/group/e3sm/ac.xasay-davis/scratch/chrys/ERS_Ld5_D.T62_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check.20241008_095746_8rndms/run/ERS_Ld5_D.T62_oQU240.GMPAS-IAF.chrysalis_intel.mpaso-conservation_check.20241008_095746_8rndms.mpaso.hist.am.conservationCheck.0001-01-01.nc.base.cprnc.out
and 0 had differences in fill patterns
and 0 had different dimension sizes
and 0 had different data types
A total number of 5 fields could not be analyzed
A total number of 0 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 seem to be IDENTICAL
Fix the mpaso-conservation_check testdef Add sed commands to modify env_archive.xml to correctly test the conservation am. As is, the test runs and makes the hist.am.conservationCheck files just fine, but does not run cprnc on them and include its results in the TestStatus. [BFB]
Passes:
merged to next |
merged to master and expected DIFF blessed (for new required baseline from adding the conservationCheck am file to testing) |
This merge updates the E3SM-Project submodule from [727ad81](https://github.com/E3SM-Project/E3SM/tree/727ad81) to [1442143](https://github.com/E3SM-Project/E3SM/tree/1442143). This update includes the following MPAS-Ocean and MPAS-Frameworks PRs (check mark indicates bit-for-bit with previous PR in the list): - [ ] (ocn) E3SM-Project/E3SM#6509 - [ ] (ocn) E3SM-Project/E3SM#6508 - [ ] (fwk) E3SM-Project/E3SM#6575 - [ ] (ocn) E3SM-Project/E3SM#6590 - [ ] (fwk) E3SM-Project/E3SM#6643 - [ ] (ocn) E3SM-Project/E3SM#6656 - [ ] (ocn) E3SM-Project/E3SM#6672 - [ ] (ocn) E3SM-Project/E3SM#6659 - [ ] (ocn) E3SM-Project/E3SM#6497 - [ ] (ocn) E3SM-Project/E3SM#6485 - [ ] (ocn) E3SM-Project/E3SM#6566
Add sed commands to modify env_archive.xml to correctly test the conservation am. As is, the test runs and makes the hist.am.conservationCheck files just fine, but does not run cprnc on them and include its results in the TestStatus.
[BFB]