dtcenter / METplotpy

https://metplotpy.readthedocs.io/en/latest/index.html
Apache License 2.0
12 stars 7 forks source link

Reliability diagram is connecting points incorrectly #428

Open bikegeek opened 2 months ago

bikegeek commented 2 months ago

Replace italics below with details for this issue.

Describe the Problem

Using PCT linetype output supplied by NOAA for HREF and RRFS model produces a plot that doesn't appear consistent with what is expected: href_rrfsens_apcp_24_reliability_diagram

The connection of points leading to the triangular shape in the upper portion of the plot is the region of inconsistency. This could potentially be an issue with the METcalcpy agg_stat.py that gives rise to this irregular behavior.

Expected Behavior

Provide a clear and concise description of what you expected to happen here.

Environment

Describe your runtime environment: 1. Machine: (e.g. HPC name, Linux Workstation, Mac Laptop) 2. OS: (e.g. RedHat Linux, MacOS) 3. Software version number(s)

To Reproduce

Describe the steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error Post relevant sample data following these instructions: https://dtcenter.org/community-code/model-evaluation-tools-met/met-help-desk#ftp

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Define the source of funding and account keys here or state NONE.

Define the Metadata

Assignee

Labels

Projects and Milestone

Define Related Issue(s)

Consider the impact to the other METplus components.

Bugfix Checklist

See the METplus Workflow for details.

bikegeek commented 2 months ago

Binbin made the following observation, which might help in tracking down the cause of this issue:

One thing that reminds me is HREF is a 10-member ensemble while RRFSENS is a 14-member ensemble. I looked closely at the reliability diagram and found that the last point of one model is located at the top (top point of the triangle). That point is far away from the model curve. Not sure why the last point is located at that place. Are both treated as a 10-member ensemble? I'll follow the discussion and provide further information If I find it.

BinbinZhou-NOAA commented 2 months ago

To identify if the issue is related to the multiple models, remove one of models, and generate the reliability diagram for just one model to see this issue is still there.

Binbin