_images/SynopticPy_logo.png

The Synoptic API for Python (unofficial)#

The Synoptic Mesonet API (formerly MesoWest) gives you access to real-time and historical surface-based weather and environmental observations for thousands of stations. Synoptic data access is free for open-access data. More data and enhances services are available through a paid tier (available through Synoptic, not me).

Note

🌐 Register for a free account at the Synoptic API Webpage. You will need to obtain an API token before using this python package.

_images/synoptic_logo.png

Note

You can create timeseries of observations from weather stations using the Station Timeseries Web App. This is a quick way to use SynopticPy without writing any code yourself.

SynopticPy is a collection of functions I use to conveniently access data from the Synoptic API and convert the JSON data to a Pandas DataFrame. This may be helpful to others who are getting started with the Synoptic API and Python. The idea is loosely based on the obsolete MesoPy python wrapper, but returning the data as a Pandas DataFrame instead of a simple dictionary, making the retrieved data more ready-to-use.

If you have stumbled across this package, I hope it is useful to you or at least gives you some ideas.

Best of Luck 🍀

-Brian