Trixology

WeatherCat => WeatherCat Web Templates => Topic started by: jsnell on August 02, 2021, 09:32:46 PM

Title: Python script: last 14 days of highs and lows
Post by: jsnell on August 02, 2021, 09:32:46 PM
Hi folks,

I recently wrote a Python script that directly reads the WeatherCat data folder and generates a pretty bar chart of highs and lows for the last 14 days. Requires Python, supports F and C.

I posted it to GitHub - happy to receive feedback! Hope it's useful.

https://github.com/jasonsnell/weathercat-last14

(https://snell.zone/weather/latesttemps.png)
Title: Thanks! (Re: Python script: last 14 days of highs and lows)
Post by: elagache on August 03, 2021, 10:50:18 PM
Dear Jason and WeatherCat tickerers,

I recently wrote a Python script that directly reads the WeatherCat data folder and generates a pretty bar chart of highs and lows for the last 14 days. Requires Python, supports F and C.
. . . .

Thanks for creating this and sharing it with our community!   ThU32:-)

Contributions like this are always welcome!

Cheers, Edouard  [cheers1]
Title: Re: Python script: last 14 days of highs and lows
Post by: Blicj11 on August 03, 2021, 11:48:34 PM
Jason:

Thank you for sharing this. Can't believe I'm using the same weather software for macOS as the Jason Snell.

Awesome!
Title: Re: Python script: last 14 days of highs and lows
Post by: jsnell on August 04, 2021, 06:14:27 PM
Thank you for sharing this. Can't believe I'm using the same weather software for macOS as the Jason Snell.

Ha! My data file goes back to 2009 so I've been using LWC/WeatherCat for a looooong time. (Before that it was the lousy Davis java app.)
Title: Re: Python script: last 14 days of highs and lows
Post by: wxman13 on July 20, 2022, 03:40:58 PM
Sorry to open a old thread, but I've been looking for something similar that would show the high and low for each day in a calendar format, maybe someone already has a script for this?