tornado index grid #3525
-
I'm attempting to calculate the tornado index for WRF using MetPy's significant_tornado function, but it appears to only compute the index for a single point. Are there any methods to optimize the calculation process for multiple points or an entire grid? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
My guess is that |
Beta Was this translation helpful? Give feedback.
My guess is that
significant_tornado
is designed to work on a vertical profile (vector) of data rather than a 3D grid. Many of MetPy's functions are like this. You will need to loop over all x-y points and call the function for each grid cell. You can see an example of how I did this on a 3D grid of model data here: #2259, using MetPy'sprecipitable_water
function, which also only works on profiles of data and not grids.