***closed*** weather34 for WeatherDisplay (clientraw and WDapi)

I do not understand the sun block on your site.
These should be the settings (for Melbourne) in pwsWD/w34_settings1.php. Could you check them?

                   $TZ = "Australia/Melbourne";
                  $lat = (float) "-37.813611";
                  $lon = (float) "144.963056";

I attach the latest version of the script, for easier reference it displays the hours around the 24-hr clock.
You have to add the azimuth script also.
At noon there should be sun, at midnight it should be dark.

Wim


sun_block.php.zip (2.94 KB)

azimuth.php.zip (3.64 KB)