Paste the URL you are using…
Copied / pasted your php link into a fresh Chrome browser. Get quite a few of these… I’ll give it a break for a bit.
Warning : Illegal string offset ‘astronomical_twilight_begin’ in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php** on line 532**
Notice : Uninitialized string offset: 0 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php** on line 532**
Warning : Illegal string offset ‘solar_noon’ in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php** on line 533**
same here - lat 41.98193, long - -72.35787 - CT USA. Showing value of 1.06. seems low… like the tool …thanks for creating
Did you replace the XXXX’s with YOUR info?
Added a bit 'o code to allow for the missing timestamp, which will default to “now”.
Try again, please… endpoint and HTML.
Try again, please…
Old link 8.85
php link 4.45
Yep… THAT is a timezone issue… fixing it now.
Thanks for the help!
I was a beta tester for WordPerfect way back 30 years ago. Was a good time. Whatever happened to WordPerfect’s dominance since then anyway ?)
Hi - Retest of 41.98193, long - -72.35787 - CT USA. Now shows max value of 6.91. My Tempest showed a 9.0 today - lots of sun.
This shows the theoretical max UV with full sun, more of a guideline than anything else.
Hopefully, it will improve as time goes on (LOTS of extrapolation)… and as I work on the script more.
–Sam
Try the PHP link…
Very cool. Thanks for the explanation. This is my first weather station and I really appreciate the response and this community. Learning a lot.
Always welcome.
I’ve been a fan of with WF since before they launched the SWS and Tempest. As a SW developer, I jumped on the chance to develop against emerging tech, and the opportunity to provide feedback that helps forge a path forward…
AND… it made it easy for me to develop an app that offers an alternative to the WF philosophy.
–Sam
WYSIWYG editors. Former WP user here dating back to 1985 originally !
One thing I may add is the ability to upload your current FULL SUN uv index and illumination along with your location. That way, I can tweak the database over time and have better real-world results.
This database is based on a 2010 NOAA Worldwide UV Index database. I have to do a lot of assumptions to get it even reasonably close.
–Sam
And Station ID so if WF does allow anyone to query when the last calibration was done you can eliminate data from a station which has continually had QC rejections.
I’ve actually considered adding such a functionality to btstWx… An option to send in your observations, when they are different from what the SWS or Tempest says.
tested the page once more and now I get a value though at 07:45 it says 4.97 …
I see like 0.6 now … sun is not high enough for this kinda values
but I also get a warning that might help solve
[Warning] [blocked] The page at https://beentheresailedthat.com/ws/server/uv.html was not allowed to run insecure content from http://fonts.googleapis.com/css?family=Droid+Serif.
edit : just tested the php version giving me 1.06 … I see now 0.7…
Just gave this another go. My Sky is currently reading 6.5 and the page is giving me 6.57. Pretty spot on!
. This is the first day in a while that we have had close to 100% clear skies, so it’s nice to see the UV index behaving nicely. For the last week or so we have had a lot of broken cloud cover, and this has been pushing the solar radiation/UV index way to high.
Awesome…
@eric, don’t worry about that warning, it’s a harmless bug.
This should work on OSX/iOS now… added in a little fix for the “not sending the selected time” issue.