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

WyomingUpperAir Missing Station Information #749

Closed
tkschuler opened this issue Nov 29, 2023 · 0 comments · Fixed by #853
Closed

WyomingUpperAir Missing Station Information #749

tkschuler opened this issue Nov 29, 2023 · 0 comments · Fixed by #853
Milestone

Comments

@tkschuler
Copy link

tkschuler commented Nov 29, 2023

wyoming.py fails with:

df = WyomingUpperAir.request_data(datetime(2012, 1, 1, 0), '82244')

This is because with the raw text on the server, Latitude is listed as '******' and can't be converted to a float. On further inspection, Longitude is missing, and Elevation is -9999.0 I've noticed this with multiple soundings in South America.

I think it would make the most sense to return None or Nan for Latitude, Longitude and Elevation when this problem arises.

@dopplershift dopplershift added this to the 0.10 milestone Nov 11, 2024
dopplershift added a commit to dopplershift/siphon that referenced this issue Dec 11, 2024
…#749)

The main goal is to allow for missing station information, which results
in '******' for latitude, no longitude, and -9999.0 for elevation. As a
result, avoid the fixed index parsing of this information, and instead
rely on the text to the left of the ':' to identify appropriate
sections.
dopplershift added a commit to dopplershift/siphon that referenced this issue Dec 11, 2024
…#749)

The main goal is to allow for missing station information, which results
in '******' for latitude, no longitude, and -9999.0 for elevation. As a
result, avoid the fixed index parsing of this information, and instead
rely on the text to the left of the ':' to identify appropriate
sections.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants