Skip to content

[release/public-v2] Bugfix: Pass domain name to python plotting scripts#788

Merged
gsketefian merged 2 commits into
ufs-community:release/public-v2from
gsketefian:release/public-v2
Jun 8, 2022
Merged

[release/public-v2] Bugfix: Pass domain name to python plotting scripts#788
gsketefian merged 2 commits into
ufs-community:release/public-v2from
gsketefian:release/public-v2

Conversation

@gsketefian
Copy link
Copy Markdown
Collaborator

@gsketefian gsketefian commented Jun 8, 2022

DESCRIPTION OF CHANGES:

This is the counterpart of PR #783 but to be merged into the release/public-v2 branch instead of develop. See that PR for details.

DEPENDENCIES:

PR #298 in ufs-srweather-app.

gsketefian and others added 2 commits June 7, 2022 17:17
## DESCRIPTION OF CHANGES: 
PR #[763](ufs-community#763) introduced the experiment variable `POST_OUTPUT_DOMAIN_NAME` and used it to modify the names of the UPP output files.  This PR adds `POST_OUTPUT_DOMAIN_NAME` as an argument to the python plotting scripts to enable those scripts to form the proper UPP output file names to read in.  It also modifies the batch scripts (`qsub_job.sh`, `qsub_job_diff.sh`, `sq_job.sh`, and `sq_job_diff.sh`) to add the new argument to the calls to the python plotting scripts that are called.

## TESTS CONDUCTED: 
Both python plotting scripts `plot_allvars.py` and `plot_allvars_diff.py` were run on Hera on preexisting UPP output files and completed successfully.  The batch scripts `sq_job.sh` and `sq_job_diff.sh` were also run successfully on Hera (`qsub_job.sh` and `qsub_job_diff.sh` were not run on e.g. Cheyenne).

## DEPENDENCIES:
PR # in `ufs-srweather-app`.

## DOCUMENTATION:
Modifications to the documentation are in PR #.

## ISSUE: 
Partially resolves issue ufs-community#781 (still need to introduce tests in `regional_workflow` that run the plotting scripts).

## CONTRIBUTORS: 
@mark-a-potts pointed out the problem and first made the necessary fixes in the `NOAA-EPIC` fork of `regional_workflow`; @gsketefian introduced those changes to this PR and made edits to the comments and documentation.
@gsketefian gsketefian merged commit bc85443 into ufs-community:release/public-v2 Jun 8, 2022
gsketefian added a commit to ufs-community/ufs-srweather-app that referenced this pull request Jun 8, 2022
## DESCRIPTION OF CHANGES: 
This is the counterpart of PR #289 but to be merged into the `release/public-v2` branch instead of `develop`.  See that PR for details.

## DEPENDENCIES:
PR #[788](ufs-community/regional_workflow#788) in `regional_workflow`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants