[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[python #QUY-577638]: Data Retrieval



Greetings!

So here's some example code downloading a single sounding for a particular site 
(OUN in this case) for one time (01.01.2016):

    from datetime import datetime
    from siphon.simplewebservice.wyoming import WyomingUpperAir

    station = 'OUN'
    dt = datetime(2016, 1, 1, 12)
    df = WyomingUpperAir.request_data(dt, station)
    print(df['pressure'], df['temperature'], df['dewpoint'], df['pw'])

This gets pressure, temperature, dewpoint (that's what's provided for a 
humidity measurement), and precipitable water (pw). If you need it for that 
many dates, you'll need to make many individual requests. If you go to their 
web interface:

  http://weather.uwyo.edu/upperair/sounding.html

You can request multiple days for a single site.

> Hello, I am doing my doctorate in the field of remote sensing at AtatÃrk 
> University. I need precipitation water vapor data obtained through rainsonde 
> for my thesis. I was trying to download Wyoming Upper Air Data but couldn't. 
> I checked the link below, but I could not understand the codes very much. 
> Could you please tell me how I can extract temperature, humidity, pressure 
> and precipitation water vapor data with Phyton between 01.01.2016 and 
> 12.31.2016? Or can you provide a clear source? This is very important for me.
> 
> https://unidata.github.io/siphon/latest/examples/upperair/Wyoming_Request.html#sphx-glr-examples-upperair-wyoming-request-py
> 
> Good work
> 
> 



Ticket Details
===================
Ticket ID: QUY-577638
Department: Support Python
Priority: Low
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.