Author Topic: Python script: last 14 days of highs and lows  (Read 2675 times)

jsnell

  • Gentle Breeze
  • **
  • Posts: 26
    • KCAMILLV5
Python script: last 14 days of highs and lows
« 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


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6512
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Thanks! (Re: Python script: last 14 days of highs and lows)
« Reply #1 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]

Blicj11

  • Storm
  • *****
  • Posts: 3961
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Ventura 13.6.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Python script: last 14 days of highs and lows
« Reply #2 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!
Blick


jsnell

  • Gentle Breeze
  • **
  • Posts: 26
    • KCAMILLV5
Re: Python script: last 14 days of highs and lows
« Reply #3 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.)

wxman13

  • Gentle Breeze
  • **
  • Posts: 28
    • KNCPRINC1
  • Station Details: Davis Vantage Pro2 + 24hr fars
Re: Python script: last 14 days of highs and lows
« Reply #4 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?