Just enter your Lat, Lon (decimal degrees, please) and select a Date/Time…
NOTE… changing to a past or future YEAR will have no affect, since this utilizes Monthly data, and assumes that a month will be the same year-to-year.
I think I crashed your script already, used time ‘the now button’
Warning: DateTime::setTimestamp() expects parameter 1 to be integer, string given in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 72
Warning: A non-numeric value encountered in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 77
Warning: date() expects parameter 2 to be integer, string given in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 458
Warning: Division by zero in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 461
Warning: date() expects parameter 2 to be integer, string given in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 470
Warning: date() expects parameter 2 to be integer, string given in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 522
Warning: date() expects parameter 2 to be integer, string given in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 548
1.06
Sorry, I’ve gone and broken it too. I live so close to the Greenwich Meridian that I often put my longitude as zero for testing. I don’t think the code likes that though…
Warning: Illegal string offset 'astronomical_twilight_begin' in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 495
Notice: Uninitialized string offset: 0 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 495
Warning: Illegal string offset 'solar_noon' in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 496
Notice: Uninitialized string offset: 0 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 496
Warning: Illegal string offset 'astronomical_twilight_end' in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 497
Notice: Uninitialized string offset: 0 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 497
Notice: Undefined offset: 1 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 499
Notice: Undefined offset: 1 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 502
Notice: Undefined offset: 1 in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 505
Warning: Division by zero in /home/beenth12/public_html/ws/server/php/getUvByCoordWeb.php on line 517
1.06
But, if I set the longitude to my actual location (-0.0603) it doesn’t provide a UV value: