Error Using Multiple Poly Files as Mask in Grid_Diag Config File #1090
-
I am trying to disregard data for the histogram from an nc file '/hailcast-wrf/MET_verification/pcp_combine/Precip/native/24hr/2011/04/20110426_WRF_MAX_24hr_RAINNC.nc', against an observation file '/hailcast-wrf/MET_verification/pcp_combine/Precip/native/24hr/2011/04/Rain.nc' in which there is no data over NW CONUS. From the documentation, it should look something like this?:
However when using the GridDiagConfig file and setting:
[root@affd725c306c 24hr]# ( cd /fsx-rd/MET/met-10.0.0/bin/ && exec ./grid_diag -data /hailcast-wrf/MET_verification/pcp_combine/Precip/native/24hr/2011/04/20110426_WRF_MAX_24hr_RAINNC.nc -data /hailcast-wrf/MET_verification/pcp_combine/Precip/native/24hr/2011/04/Rain.nc -out /hailcast-wrf/MET_verification/pcp_combine/Precip/native/24hr/2011/04/rain_accum_hist.nc -config /fsx-rd/MET/met-10.0.0/data/config/GridDiagConfig_precip ) However removing the brackets on poly produces: So my question is, what is the correct syntax that is needed to combine the two because just having either one by itself will work? But together it has these errors |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@chasecalkins I see you have a question about configuring the Grid-Diag tool in MET. Whereas other tools, like Point-Stat and Grid-Stat, support the use of multiple masking regions in a single run, the Grid-Diag tool does not. Here's the "mask" dictionary from the default Grid-Diag configuration file:
Since these entries are formatted as strings ("") instead of square brackets ([]), they only accept a single entry. The square brackets in MET config files indicate that arrays of multiple values are supported. If left to their default values of empty strings, then the PDFs are computed using data from all points in the verification domain. If a "grid" and/or "poly" spatial region is defined, only those grid points which fall into one/both regions are used. If you need output computed separately for more than one region, you'll need to run the Grid-Diag tool multiple times. Hope that helps clarify. |
Beta Was this translation helpful? Give feedback.
@chasecalkins I see you have a question about configuring the Grid-Diag tool in MET. Whereas other tools, like Point-Stat and Grid-Stat, support the use of multiple masking regions in a single run, the Grid-Diag tool does not.
Here's the "mask" dictionary from the default Grid-Diag configuration file:
Since these entries are formatted as strings ("") instead of square brackets ([]), they only accept a single entry. The square brackets in MET config files indicate that arrays of multiple values are supported. If left to their default values of empty strings, then the PDFs are computed using data from all points in the verification domain. If a "grid"…