This page demonstrates Python tips and tricks that I use in my everyday programming as an atmospheric science graduate student.
-Brian Blaylock

Monday, August 5, 2013

Meteolib

Meteolib is a useful package for doing calculations with weather data. The script is found here.

I have found windvec very useful for averaging wind speeds and wind directions. Wind direction is difficult to average because when you average NW and NE winds by the number of degrees it averages to a South wind, and that is not correct. The function windvec will give you the correct vector averaged wind direction.


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.