Unidata / siphon

Siphon - A collection of Python utilities for retrieving atmospheric and oceanic data from remote sources, focusing on being able to retrieve data from Unidata data technologies, such as the THREDDS data server.
https://unidata.github.io/siphon
BSD 3-Clause "New" or "Revised" License
215 stars 75 forks source link

WyomingUpperAir Missing Station Information #749

Open tkschuler opened 10 months ago

tkschuler commented 10 months ago

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.