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

Support plotting of TDF/GDF metrics for S2S METplus use cases #48

Closed
23 tasks
DanielAdriaansen opened this issue Sep 23, 2020 · 3 comments · Fixed by #97
Closed
23 tasks

Support plotting of TDF/GDF metrics for S2S METplus use cases #48

DanielAdriaansen opened this issue Sep 23, 2020 · 3 comments · Fixed by #97
Assignees
Labels
component: plot gridded data priority: medium Medium Priority requestor: University/UIUC University of Illinois, Urbana-Champaign type: new feature Make it do something new

Comments

@DanielAdriaansen
Copy link
Contributor

Describe the New Feature

Plot the TDF/GDF metrics from the METplus use cases (dtcenter/METplus#630, dtcenter/METplus#631).

The plot will be a contour plot, of type raster or "cell" filling, on a global latitude/longitude domain. There could be multiple panels. Types of panels include:

  1. Total count of all observed genesis events
  2. Total count of all forecasted genesis events
  3. Total count of all hits
  4. Total count of all misses
  5. Total count of all false alarms
  6. Total count of all track points within the grid cell

Acceptance Testing

  • User configurable latitude bounds
  • User configurable number of panels/panel order
  • User configurable title strings per panel

Time Estimate

2-4 days of work.

Funding Source

UIUC S2S 7790971

Assignee

  • Select engineer(s) or no engineer required
  • Select scientist(s) or no scientist required

Labels

  • Select component(s)
  • Select priority
  • Select requestor(s)

Projects and Milestone

  • Review projects and select relevant Repository and Organization ones or add "alert:NEED PROJECT ASSIGNMENT" label
  • Select milestone to next major version milestone or "Future Versions"

Define Related Issue(s)

Consider the impact to the other METplus components.

New Feature Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s), Project(s), Milestone, and Linked issues
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.
@DanielAdriaansen DanielAdriaansen added type: new feature Make it do something new associated: METplus priority: medium Medium Priority component: plot gridded data requestor: NCAR National Center for Atmospheric Research labels Sep 23, 2020
@DanielAdriaansen DanielAdriaansen added this to the METplotpy-1.0 milestone Sep 23, 2020
@DanielAdriaansen DanielAdriaansen self-assigned this Sep 23, 2020
@DanielAdriaansen DanielAdriaansen added requestor: University/UIUC University of Illinois, Urbana-Champaign and removed requestor: NCAR National Center for Atmospheric Research labels Feb 9, 2021
@DanielAdriaansen
Copy link
Contributor Author

I am working in a branch:
feature_48_s2s_tdf_gdf

I created a conda environment for this work, copied from the met_test user on kiowa:
conda create --name s2stc --clone /home/met_test/.conda/envs/metplus_dev

I installed METplotpy by cloning and adding to my conda env:

git clone [email protected]/dtcenter/METplotpy
cd METplotpy
pip install -e .

I created a new directory here where I will work:
METplotpy/metplotpy/contributed/tc_s2s_panel

@DanielAdriaansen
Copy link
Contributor Author

@bikegeek what's the preferred way to import my functions?

If my script lives in:
METplotpy/metplotpy/contributed/tc_s2s_panel/plot_tc_s2s_panel.py

What would an import statement look like? Does plot_tc_s2s_panel.py have to conform to some Python standard in order to be "importable"?

@bikegeek
Copy link
Collaborator

bikegeek commented Mar 16, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: plot gridded data priority: medium Medium Priority requestor: University/UIUC University of Illinois, Urbana-Champaign type: new feature Make it do something new
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants