Hacked together an SF parks ranking system based on current weather
Show HN: SF Microclimates
31–38 of 38 posts
Re: Show HN: SF Microclimates
#32It seems weird to me that there's no human readable version on the webpage? Usually what I want the weather for is to choose what to wear, not to put in a bash script or an LLM or something.
I made this primarily to use inside Claude Code in terminal but maybe I'll make a little demo on the website if you put in an SF zip code.
Re: Show HN: SF Microclimates
#33I use PurpleAir data for a lot of my home automations— I have a smart window vent and configure it to blow in/out depending on which side has the worse air. (Thank you to those who maintain public sensors!) I do notice that in my neighborhood (Noe Valley) a lot of the sensors are very incorrect or often offline. I've resorted to taking the median and throwing outliers away, but even this often doesn't work. This is t…
Re: Show HN: SF Microclimates
#34"Temperature, estimated using a formula temp = 1.0227 * raw_temp_f - 9.3755 developed by Lance Wallace to account for heat generated by the WiFi module and other electronics in a PurpleAir sensor. This will not be accurate for all situations. More information can be found in Lance Wallace's notes."
Re: Show HN: SF Microclimates
#35My favorite weather map for SF is PurpleAir: https://map.purpleair.com/environment-estimated-temerature-f... There are thousands of sensors around the city. You can get a sense of shade-vs-sun temperatures by the spread of numbers you see (on cloudy days, the reported temperatures will be much closer together, while on sunny days, sensors in the sun will report elevated temperatures.) You do need to make sure to disa…
This one is neat, I might actually use it. I don't understand why it includes indoor sensors at all let alone by default. Why would I want to know the temperature inside some random building?
Footer should say "Data from PurpleAir API" instead of "Data from SF Microclimates API"...
Re: Show HN: SF Microclimates
#36An interesting problem with self-reported temperature is that people just put their outdoor sensors inside for some reason or near an ambient heat source; also in neighborhoods with tall buildings, it's a bit colder higher up, so the balcony readers are a bit off from sidewalk temperature, it is interesting to see though that one block from another is super different in temp, is it because it's actually different or…
Re: Show HN: SF Microclimates
#37An interesting problem with self-reported temperature is that people just put their outdoor sensors inside for some reason or near an ambient heat source; also in neighborhoods with tall buildings, it's a bit colder higher up, so the balcony readers are a bit off from sidewalk temperature, it is interesting to see though that one block from another is super different in temp, is it because it's actually different or…
Yeah it’s not accurate at all. Not the OPs fault but the purpleair sensors are placed by users. Right now it says fidi is 9° warmer than haight. Plausible, but it could also be the only 1 sensor reporting from fidi is on a balcony near a drier vent.
I used to ride a motorcycle every day from the Haight (home) to the Financial District (work), and the temperature grade changes were palpable.
Your point is also completely correct, of course. :)
Re: Show HN: SF Microclimates
#38I use PurpleAir data for a lot of my home automations— I have a smart window vent and configure it to blow in/out depending on which side has the worse air. (Thank you to those who maintain public sensors!) I do notice that in my neighborhood (Noe Valley) a lot of the sensors are very incorrect or often offline. I've resorted to taking the median and throwing outliers away, but even this often doesn't work. This is t…
If your MEDIAN is biased, and there are 10+ inputs, the data is fundamentally garbage and biased.