Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
winash12 opened this issue Oct 8, 2024 · 3 comments
Open

Comments

@winash12
Copy link

winash12 commented Oct 8, 2024

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'

@dopplershift
Copy link
Member

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.

@winash12
Copy link
Author

winash12 commented Oct 9, 2024

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 ?

@dopplershift
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants