<div dir="ltr">I don't have a coding error, but a question: how does wgt_vertical_n deal with values beneath the surface. In other words, for a location with a surface pressure of 980 hPa, would the extrapolated value on the 1000 hPa surface be included in the vertical integral? Based on my testing of the script (by setting enormous values to a variable at the 1000 hPa level), this appears to be the case. Is there a justification for including subsurface values in the vertical integral or should the user avoid this by setting subsurface values to zero?<br><br><div>Thanks!<br><br>Joseph</div></div>