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 mvm paths #472

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Fix mvm paths #472

merged 2 commits into from
Aug 4, 2023

Conversation

forsyth2
Copy link
Collaborator

@forsyth2 forsyth2 commented Aug 4, 2023

Fix mvm paths. Resolves #471.

@forsyth2 forsyth2 added the semver: bug Bug fix (will increment patch version) label Aug 4, 2023
@@ -236,7 +236,7 @@ from e3sm_diags.parameter.tc_analysis_parameter import TCAnalysisParameter
from e3sm_diags.run import runner

short_name = '${short}'
test_ts = '${ts_dir_destination}'
test_ts = '${ts_dir_primary}'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without this change, the mvm test actually wasn't generating plots. Multiple errors were going unnoticed, including:

IndexError: list index out of range
RuntimeError: Invalid year range specified for test/reference time series data: end_year=1853>1851=var_end_yr
RuntimeError: Requested years are outside of available sst obs records.
IndexError: index 0 is out of bounds for axis 0 with size 0

@forsyth2 forsyth2 merged commit df02738 into main Aug 4, 2023
@forsyth2 forsyth2 deleted the issue-471 branch August 4, 2023 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: bug Bug fix (will increment patch version)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

For model vs model e3sm_diags runs incorrect time series path for test data
1 participant