Thresholding values within input files for MODE #1994
-
Hello, I have tried a few different methods of trying to threshold the reflectivity values at 25, 30, 35, 40 dbz. I tried doing this outside of MET but it seemed to mess up the file format and the lack of metadata messed with METs ability to regrid the obs file. Therefore, I am asking if there is a way to do it within MET itself. I will send my .conf file. I have tried a few different threshold inputs but I have not seen anything that looks how I expect it to look. Thanks for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hello @jcorner1 I see you have some questions about configuring the MODE tool via METplus. You're wondering in particular how to specify the object definition threshold. Please take a look at the METplus MODE: Basic Use Case documentation. And for additional details about MODE itself, please see the MODE Chapter of the MET user's guide. Objects are defined in MODE by specifying the convolution radius and threshold. The convolution radius (MODE_CONV_RADIUS) determines the amount of smoothing that should applied to the raw input data, and is specified in grid units. The higher the value, the more smoothing, while setting it to 0 disables the smoothing step entirely. The convolution threshold (MODE_CONV_THRESH) is applied to the smoothed data to define objects. Specifying MODE_CONV_RADIUS and MODE_CONV_THRESH will apply the settings to both the forecast and observation data. Or you can specify them separately for each field using FCST_MODE_CONV_RADIUS, FCST_MODE_CONV_THRESH, OBS_MODE_CONV_RADIUS, and OBS_MOD_CONV_THRESH. You could specify multiple radii and thresholds, but while you're still learning about it, I'd recommend choosing a single one. Once you have reasonable output, try increasing/decreasing the radius and threshold, rerun, and observe the effect on the resolved objects. Here's what I see in the example you sent:
So this is smoothing the data using a radius of 4. The means that the value of each raw input grid point is replaced by the mean of the values of the grid points within a circle of radius 4 around that point. The resulting values are thresholded >=0.5. For reflectivity data with values as high as 65 dBZ or so, I would imagine that threshold would likely give you one VERY big object including most or all grid points in your domain. I wonder if perhaps you're confused by the "CENSOR" options?
This is applied to the RAW input data, as it is being read. I'd recommend NOT using the data censoring options, unless you have a good reason to do so. Here's an excerpt from this section of the MET user's guide describing how it works: The “censor_thresh” entry is an array of thresholds to be applied to the input data. The “censor_val” entry is an array of numbers and must be the same length as “censor_thresh”. These arguments must appear together in the correct format (threshold and number). For each censor threshold, any input values meeting the threshold criteria will be reset to the corresponding censor value. An empty list indicates that no censoring should be performed. The censoring logic is applied prior to any regridding but after the convert function. All statistics are computed on the censored data. These entries may be used to apply quality control logic by resetting data outside of an expected range to the bad data value of -9999. These entries are not indicated in the metadata of any output files, but the user can set the “desc” entry accordingly. |
Beta Was this translation helpful? Give feedback.
Hello @jcorner1 I see you have some questions about configuring the MODE tool via METplus. You're wondering in particular how to specify the object definition threshold.
Please take a look at the METplus MODE: Basic Use Case documentation. And for additional details about MODE itself, please see the MODE Chapter of the MET user's guide.
Objects are defined in MODE by specifying the convolution radius and threshold. The convolution radius (MODE_CONV_RADIUS) determines the amount of smoothing that should applied to the raw input data, and is specified in grid units. The higher the value, the more smoothing, while setting it to 0 disables the smoothing step entirely. The convolution threshold (