Skip to content
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 hovmoller plot comparison #900

Merged
merged 1 commit into from
Sep 25, 2022
Merged

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Sep 24, 2022

Sometimes, runs have slightly different Time values in timeSeriesStatsMonthly (seemingly related to restarts). When this happens, the hovmoller differences are only at times that match exactly, leading to a diff field with the wrong size.

This merge fixes the issue by first checking to make sure the two runs start and end at (approximately) the same time, then using the time from the "main" run for the "reference" run, too.

@xylar
Copy link
Collaborator Author

xylar commented Sep 24, 2022

Need to wait for #901 so we have a clean run of the test suite.

Sometimes, runs have slightly different Time values in
timeSeriesStatsMonthly (seemingly related to restarts). When
this happens, the hovmoller differences are only at times that
match exactly, leading to a diff field with the wrong size.

This merge fixes the issue by first checking to make sure the
two runs start and end at (approximately) the same time, then
using the time from the "main" run for the "reference" run, too.
@xylar
Copy link
Collaborator Author

xylar commented Sep 25, 2022

Testing

Results of the test suite on Anvil are here:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.xylar/analysis_testing/chrysalis/fix_hovmoller/

Following #901 and #902, the test suite runs all analysis successfully.

The hovmoller comparison looks right:
image

However, the bigger test is that the comparison that @jonbob was running also works now, whereas it failed with E3SM-Unified 1.7.0 and a recent version of develop. Results are not on the web portal but can be found here:

/lcrc/group/e3sm/ac.xylar/analysis/chrysalis/20220920.PR5172.chrysalis_develop/

@xylar xylar merged commit 679f1b6 into MPAS-Dev:develop Sep 25, 2022
@xylar xylar deleted the fix_hovmoller branch September 25, 2022 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant