-
Notifications
You must be signed in to change notification settings - Fork 1
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
Create a Python visualization image for WRF output and define plotting script(s) for Hurricane Matthew test case #50
Comments
I have written a Python script to make some plots of WRF output from the Hurricane Matthew case, testing it on WRF output I generated outside of any container. Next I need to work on containerizing the script and the relevant Python environment. |
I just uploaded the main Python script, another Python script with necessary functions, and a README to https://github.com/NCAR/i-wrf/tree/feature/50-python-plotting/use_cases/Hurricane_Matthew/Visualization. There may be a few more modifications that get made to the scripts, but they're functional as long as the directory where the wrfout files live is provided on the command line. |
Met on Sept 9, 2024 for a working meeting to make progress. Considered where the Python visualization functionality should live. Options are:
For the latter, we'd need to add a Dockerfile for METplus to pull a tagged version of METplus, layer on dependencies for METplotpy, and the run the WRF visualization scripts via the UserScript (depends on Cartopy). Although rather than doing this in the I-WRF repository, perhaps METplus itself should provide this fully integrated METplus environment? Consider updating the dtcenter/metplus Docker repository (https://hub.docker.com/r/dtcenter/metplus) to provide images tagged as:
Based on directory structure in branch feature/40-build-wrf-container, recommend placing this METplus Dockerfile in For the time being, this new Dockerfile will pull the tagged METplus image along with the METplus Analysis tools. Once a "fully-loaded" METplus image is actually available, revise the logic of this Dockerfile. Also recommend stripping out as much content as possible from this image to keep it lean. |
…at includes METplotpy, METcalcpy, METdataio, and wrf python packages. Mount the Hurricane Matthew Visualization directory so the plotting scripts can be found. The WRF plotting script is called from the METplus use case run
* Initial WRF plotting script, functions, and README for the Hurricane Matthew case. * add Dockerfile to create iwrf-metplus image and update instructions to use that container * make script executable * create directory containing output file if it does not already exist * change default input and output directories to use paths assumed in Docker container * mount directory containing WRF plotting script to container * run WRF plotting script as part of METplus use case * Per #50, update instructions to use I-WRF METplus Docker container that includes METplotpy, METcalcpy, METdataio, and wrf python packages. Mount the Hurricane Matthew Visualization directory so the plotting scripts can be found. The WRF plotting script is called from the METplus use case run * remove commented code * remove characters that should not be rendered in the docs * cleanup usage statement * Per request on @Trumbore on pull request review, updated WRF log output to include updated content. --------- Co-authored-by: Jared A. Lee <jaredlee@ucar.edu> Co-authored-by: John Halley Gotway <johnhg@ucar.edu>
@jaredalee, can we close this issue since the changes from #66 were merged? Or should we include plotting of MET output as part of this issue? |
@georgemccabe, in the issue description above as currently written, we mention that some plots of the METplus stats are envisioned to be part of this issue. So either we should tweak the issue description to focus solely on the WRF output plots and close this issue (along with potentially creating a new issue specific to plots of METplus output), or keep it open until the METplotpy script is considered done-enough for the purposes of this Matthew case and then committed. It doesn't matter much to me which way we go, but it is always nice to be able to close an issue. |
Describe the Task
Create sample Python visualization script(s) to accompany the Hurricane Matthew test case and then be containerized. Plotting a few WRF fields and some verification results (using results of #49) will likely be useful for demonstration.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the task down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
7790013
Define the Metadata
Assignee
Labels
Projects and Milestone
Task Checklist
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: