Skip to content

Allow 2x2 HSS calculations to include user-defined EC values #2147

@j-opatz

Description

@j-opatz

Describe the New Feature

During the latest working session with CPC, it was determined that the method for calculating HSS for multi-categorical thresholds differs from MET.

MET method: Fill in the NxN contingency table, using the user-defined cat_thresh on the forecast and observation fields for each gridpoint. Sum Hits and Misses across the bins, and use the HSS equation to calculate 1 HSS value for the table. If the user applied hss_ec_value, set C2 variable to what user assigned.

CPC method: Fill in the NxN contingency table, using the user-defined cat_thresh on the forecast fields. Observation fields are predetermined to be hits or misses (binary). For each forecast field threshold, calculate the 2x2 Hits and Misses and use the HSS equation to calculate an HSS value for each forecast threshold. Additionally, this will always utilize a user's hss_ec_value.

Another description of this would be that regardless of the number of bins, CPC will evaluate each threshold as a 2x2 contingency table with a predefined C2 value in the HSS equation.

As MET capability currently stands, the hss_ec_value variable is only applicable to MCTS line type. But as the description above indicates, CPC would need this functionality in the CTS line type (or alternatively, numerous columns in MCTS where each threshold has its own HSS value).

While not performed in the traditional manner of HSS, Barb Brown confirmed that this passes statistical soundness.

Acceptance Testing

Probability of Exceedance fields (fcst) and binary observation fields, which @j-opatz can provide.

The acceptance criteria would be to replicate CPC's HSS value for maximum temperature (85th percentile) with the provided data.

Time Estimate

Unknown, engineer will need to fill in
Issues should represent approximately 1 to 3 days of work.

Sub-Issues

Consider breaking the new feature down into sub-issues.
No sub-issues needed.

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

Split 2700041, 2793541

Define the Metadata

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

  • Select Repository and/or Organization level Project(s) or add alert: NEED PROJECT ASSIGNMENT label
  • Select Milestone as the next official version or Future Versions

Define Related Issue(s)

Consider the impact to the other METplus components.

  • Need to define a METdatadb issue to load new output.
  • Need to define a METviewer issue plot the new output.

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) and Linked issues
    Select: Repository level development cycle Project for the next official release
    Select: Milestone as the next official version
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.

Metadata

Metadata

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions