I am currently working with RAP analysis data within Metpy to calculate various parameters such as SRH, CAPE, etc. I am wondering if Metpy recognizes when pressure levels are below the ground (will automatically ignore the levels where the data is below ground level, e.g., 'negative' heights). For example, when calculating bunkers storm motion and providing the geopotential height profile, does Metpy recognize the pressure levels that are below ground level as the input fields from the RAP analysis data are on pressure levels (1000 hPa, 950 hPa, etc.). I have tried to determine this but have not been able to with any certainty. In addition, should the data provided for the height profile be height above sea-level or height above ground-level or it does not matter?
#SRH calculations bunk_right,bunk_left,mean_motion=mcalc.bunkers_storm_motion(units.Pa*upd_mask_p1[x,y,:],units.meters/units.second*mask_u_wnd1t[x,y,:],units.meters/units.second*mask_v_wnd1t[x,y,:],units.meter*mask_hgt1t[x,y,:])