siphon icon indicating copy to clipboard operation
siphon copied to clipboard

Siphon data frame fron U of Wyoming does not include relative humidity

Open winash12 opened this issue 1 year ago • 3 comments

As mentioned in the title the pandas data frame includes everything else relative humidity although that data is part of the sounding.

Why ?

Index(['pressure', 'height', 'temperature', 'dewpoint', 'direction', 'speed', 'u_wind', 'v_wind', 'station', 'station_number', 'time', 'latitude', 'longitude', 'elevation', 'pw'], dtype='object'

winash12 avatar Oct 08 '24 01:10 winash12

This is largely because we considered relative humidity a derived quantity, since it is not contained within the source TTAA/TTBB reports. We have since had other contributions add the parsing of other derived values, so a PR adding the parsing of relative humidity is welcome.

dopplershift avatar Oct 08 '24 17:10 dopplershift

The code modifications will be to the file https://github.com/Unidata/siphon/blob/master/src/siphon/simplewebservice/wyoming.py and the variable will be called relative_humidity.

Well without the relative_humidity how can one calculate the LFC ?

winash12 avatar Oct 09 '24 02:10 winash12

Well without the relative_humidity how can one calculate the LFC ?

I tend to view things through the lens of using it with MetPy; the implementation of lfc in metpy takes dewpoint as input, not relative humidity.

Again, the usual data for the wyoming archive has dewpoint as the reported value, so we were originally sticking to the reported data values, and relying on downstream values to calculate all derived quantities in a consistent manner.

dopplershift avatar Oct 14 '24 23:10 dopplershift