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

display variable values in UI filtered by Dependent (Forecast) Variable and the line type (statistic) #178

Open
TatianaBurek opened this issue Mar 24, 2020 · 2 comments
Assignees
Labels
requestor: NOAA/EMC NOAA Environmental Modeling Center type: enhancement Improve something that it is currently doing

Comments

@TatianaBurek
Copy link
Collaborator

Currently we use Dependent (Forecast) Variable to find values for the field (fcst_thresh).
This is the example of the query:
SELECT DISTINCT fcst_thresh FROM stat_header WHERE BINARY fcst_var IN ('HGT') ORDER BY fcst_thresh
Include the line type (statistic) to make the result list shorter and more meaningful

@TatianaBurek TatianaBurek added type: enhancement Improve something that it is currently doing requestor: NOAA/EMC NOAA Environmental Modeling Center labels Mar 24, 2020
@TatianaBurek TatianaBurek added this to the METviewer 3.1 milestone Mar 24, 2020
@TatianaBurek TatianaBurek self-assigned this Mar 24, 2020
@TatianaBurek
Copy link
Collaborator Author

From Ying:
An example is the AWS database mv_ylin_metplus, which contains thresholds for 24h and 3h CTC stats and 24h/6h FSS. Thresholds for the 24h CTC are

gt0.254, gt2.54, gt6.35, gt12.7, gt19.05, gt25.4, gt38.1, gt50.8, gt76.2, gt101.6; (threshold group 1)

For 3h CTC they are
gt0.254,gt0.508,gt1.27,gt2.54,gt6.35,gt12.7,gt19.05,gt25.4; (threshold group 2)

For FSS (6h or 24h) they are
gt1, gt2, gt5, gt10, gt20, gt50 (threshold group 3)

In the current METviewer, when I choose the threshold as independent variable, all the above values show up in the selection window. If there’s a way to use the Y dependent variable to sort the thresholds that’d be great, e.g. if the attribute stat selected is NBR_*, then only thresholds in "group 3" above shows up; for non-neighborhood CTC scores, “group 1” for Dependent variable of APCP_24 and “group 2” for APCP_03.

@TatianaBurek
Copy link
Collaborator Author

This will increase the time to find values and display them in the UI. It can bring other complications such as:
Possible complications:
-user did not select a statistic
-user selected more than one statistic
-user selected a statistic that can be calculated with or without aggregation (for example, BASER)

@TatianaBurek TatianaBurek modified the milestones: METviewer 3.0.1, METviewer 3.1 Jul 1, 2020
@TatianaBurek TatianaBurek removed this from the METviewer 4.1 milestone Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requestor: NOAA/EMC NOAA Environmental Modeling Center type: enhancement Improve something that it is currently doing
Projects
None yet
Development

No branches or pull requests

1 participant