Skip to content

Commit

Permalink
Enhance METviewer to plot new CNT columns for the Scatter Index. #317
Browse files Browse the repository at this point in the history
  • Loading branch information
TatianaBurek committed Aug 17, 2021
1 parent 796e1ef commit bac8fc6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions R_work/include/statistics.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ calcRMSE = function(d){ return( sqrt(calcMSE(d)) ); }
calcESTDEV = function(d){ return( calcStdDev( calcME(d) * d$total, calcMSE(d) * d$total, d$total) ); }
calcBCMSE = function(d){ return( calcMSE(d) - (d$fbar - d$obar)^2 ); }
calcBCRMSE = function(d){ return( sqrt(calcBCMSE(d)) ); }
calcSI = function(d){return( calcRMSE(d)/ calcOBAR(d));}

# SSVAR stat calculations
calcSSVAR_FBAR = function(d){ return( calcFBAR(d) ); }
Expand Down
1 change: 1 addition & 0 deletions java/edu/ucar/metviewer/MVUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@ public class MVUtil {
statsCnt.put("MSESS", new String[]{"bc", SL1L2});
statsCnt.put("RMSFA", new String[]{"bc", SAL1L2});
statsCnt.put("RMSOA", new String[]{"bc", SAL1L2});
statsCnt.put("SI", new String[]{"bc", SL1L2});
}

static {
Expand Down
1 change: 1 addition & 0 deletions webapp/metviewer/js/metviewer_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ value_to_desc_map['FGBAR'] = 'Mean of absolute value of forecast gradients';
value_to_desc_map['MGBAR'] = 'Mean of maximum of absolute values of forecast and observed gradients';
value_to_desc_map['EGBAR'] = 'Mean of absolute value of forecast minus observed gradients';
value_to_desc_map['S1'] = 'S1 score';
value_to_desc_map['SI'] = 'Scatter Index';
value_to_desc_map['S1_OG'] = 'S1 score with respect to observed gradient';
value_to_desc_map['FGOG_RATIO'] = 'Ratio of forecast and observed gradients';
value_to_desc_map['SSVAR_SPREAD'] = 'RHIST_SPREAD is preferred';
Expand Down
2 changes: 1 addition & 1 deletion webapp/metviewer/js/metviewer_common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bac8fc6

Please sign in to comment.