Skip to content

Instantly share code, notes, and snippets.

@phobson
Last active March 3, 2024 07:17
Show Gist options
  • Star 29 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save phobson/41b41bdd157a2bcf6e14 to your computer and use it in GitHub Desktop.
Save phobson/41b41bdd157a2bcf6e14 to your computer and use it in GitHub Desktop.
Making a wind rose in pandas/matplotlib
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phobson
Copy link
Author

phobson commented Feb 29, 2020

@Matthias84 -- that's not enough info for me to provide manful advice. I recommend you look at cloudside, where I put all of this into a single function

@BDJensen
Copy link

I'm getting:
sta = metar.WeatherStation('KPDX')
AttributeError: module 'metar' has no attribute 'WeatherStation'
..?

@phobson
Copy link
Author

phobson commented Jun 14, 2021

I'm getting:
sta = metar.WeatherStation('KPDX')
AttributeError: module 'metar' has no attribute 'WeatherStation'
..?

@BDJensen -- checkout https://github.com/geosyntec/cloudside -- that's where all of this stuff lives now. More to the point, the purpose of that section of code was to download the data. You can skip it and get the data anyway you want.

@ElenaTerzic
Copy link

Great code, thanks a lot!

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