Neighborhood Statistics - GridStat #1280
-
Hello MET development team! I am trying to use METplus to run the GridStat tool for neighborhood verification of WRF forecasts, specifically calculating the fractions skill score. I've followed the METplus use cases (5.2.3.1 and 5.2.3.6) and have successfully run those. However, when I edit those configuration files to run my own data and add the flags to support neighborhood statistics, the output files it produces are only including headers, without any actual calculations. I've confirmed that it will work and compute other statistics (the standard ones used in the use cases). Would you be able to help me address this issue? My guess is that I am somehow calling the flags incorrectly or maybe missing one, but I'm unsure. I've included the configuration files I'm using, my data files, and a log file from when I try to run it for you! Michelle |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi Michelle. I see in your grid_stat_gridobs.conf file you have the following set:
I see in your metplus.log.20211118184453.txt log file that only the NEIGHBORHOOD_SHAPE and NEIGHBORHOOD_WIDTH values seem to be recognized:
I tried a few different configurations for COV_THRESH, but couldn't get any to work. I will need to request some assistance from @georgemccabe . |
Beta Was this translation helpful? Give feedback.
-
Hi @spence98, I ran your use case with the files that Julie downloaded (thanks, @jprestop!) and noticed a few things in the log output.
This looks like a slight typo in the field name for one of the variables. It should be set to:
The data will still be processed, but it will likely not give you useful results. I would suggest trying to process data that are valid at the same time. Let us know if you are still unable to get useful neighborhood results and we can take another look. |
Beta Was this translation helpful? Give feedback.
-
@spence98, George asked me to take a look at this discussion. It sounds like you're interested in computing the neighborhood fractions skill score (FSS). You're definitely correct, the coverage threshold is not used in the computation of FSS. FSS is one of the columns in the NBRCNT line type. You should make sure that the NBRCNT line type is enabled in the output_flag, which you've already done:
An NBRCNT line type is written to the output for each combination of variable, categorical threshold, neighborhood, and confidence interval alpha value. However, neighborhood statistics are only computed for scalar variables, not probabilistic ones. Looking in "grid_stat_gridobs.conf" I see this:
And that is likely preventing neighborhood stats from being computed for these inputs. Here's the line of code where that condition is enforced in Grid-Stat: If you want to compute probabilistic statistics for this data, as well as neighborhood statistics, you can do it in separate calls to METplus. In the second, we would NOT use the "FCST_IS_PROB" option. |
Beta Was this translation helpful? Give feedback.
@spence98, George asked me to take a look at this discussion. It sounds like you're interested in computing the neighborhood fractions skill score (FSS). You're definitely correct, the coverage threshold is not used in the computation of FSS. FSS is one of the columns in the NBRCNT line type.
You should make sure that the NBRCNT line type is enabled in the output_flag, which you've already done:
An NBRCNT line type is written to the output for each combination of variable, categorical threshold, neighborhood, and confidence interval alpha value. However, neighborhood statistics are only computed for scalar variables, not probabilistic ones. Looking in …