|
Post by Jason on Apr 13, 2021 7:38:21 GMT -8
Thought it might be fun to tweet out a wind rose every so often based on wind data collected by my weather rack. After some research, coding, and testing, the proof-of-concept works. The first image shows the summary view of the tweet and the second image shows the expanded tweet itself. The Twitter handle is @climatemallory if anyone is interested in following. My thought is to push updated weather graphics every hour maybe and identify climate changes that would generate tweets such as lightning strikes. Jason Attachments:
|
|
herve
Junior Member
Posts: 54
|
Post by herve on Apr 13, 2021 10:13:30 GMT -8
Fantastic Jason! I'm following you at @climatemallory.
Hervé
|
|
|
Post by SDL on Apr 13, 2021 14:17:05 GMT -8
That is magnificent! I'm starting to follow you too!
BP
|
|
|
Post by Jason on Apr 27, 2021 11:51:11 GMT -8
Unfortunately, Plotly Express doesn't have a gauge component. As a result, I had to build my own using SVG. Gonna be tweeting this prolly every hour.
|
|
|
Post by Jason on Apr 29, 2021 13:12:52 GMT -8
Temperature gauge ready. I'm going to adapt this to show the humidity as well. Finally, I'll add a gauge for the heat index calculated from the temperature and humidity. Jason
|
|
|
Post by Jason on Apr 30, 2021 7:57:16 GMT -8
Okay so here's the combined current conditions. Jason
|
|
|
Post by Jason on Oct 8, 2021 12:45:25 GMT -8
Working on a few enhancements lately as I've felt some renewed energy to work on graphics and have run in to an interesting challenge. The batch processing is no longer handled by NodeRED. Instead, I setup Apache Airflow on a RPi4 instead and all has been running well. I've been stumped for a few months on plotting barometric trend. The first image was created on my MacOS. The second image was created on the RPi4. Another attempt looks like this. Interesting challenge for sure trying to get the x axis setup properly. Jason
|
|
|
Post by Jason on Oct 12, 2021 14:15:44 GMT -8
After some thrashing around, I had to abandon the built-in trendline functionality in the plotly.express scatterplot for scipy.stats.linregress in order to get a nice line on RPi. Time to turn the job back on in Airflow Jason
|
|
|
Post by Jason on Oct 14, 2021 8:21:06 GMT -8
Made a slight tweak to how I publish AQI data to Twitter. Jason
|
|