Author Topic: 'This day' Max / Min / Avg Temperatures (NOAA) - PHP Script  (Read 4999 times)

0 Members and 1 Guest are viewing this topic.

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2314
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: 'This day' Max / Min / Avg Temperatures (NOAA) - PHP Script
« Reply #75 on: November 27, 2020, 08:47:49 PM »
It doesn't work for me in debug mode.  What did I do wrong?

https://stillwaterweather.com/wx/noaarec.php?noaabug

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/wx/2ndhome.php

Offline the beteljuice

  • the beteljuice
  • Forecaster
  • *****
  • Posts: 303
    • test site
Re: 'This day' Max / Min / Avg Temperatures (NOAA) - PHP Script
« Reply #76 on: November 27, 2020, 09:23:32 PM »
You didn't ....

If you view-source you'll see in the comments
Code: [Select]
<!-- RING NOAA -->
<!-- NOAA data FAIL -->
... and your last cache file is too old to be of any use.

Seems they are still all over the place ATM  :roll:
« Last Edit: November 27, 2020, 09:25:12 PM by the beteljuice »
Imagine what you will KNOW tomorrow !

Offline Bunty

  • Forecaster
  • *****
  • Posts: 2314
  • Stillwater, home of Oklahoma State University
    • Welcome to Stillwater Weather
Re: 'This day' Max / Min / Avg Temperatures (NOAA) - PHP Script
« Reply #77 on: December 25, 2020, 01:08:28 AM »
Sorry, but I still don't understand what I did or didn't do:

https://stillwaterweather.com/wx/noaarec.php?noaabug

Also the 2nd home page using modified AltDashboard 6.95 at http://stillwaterweather.com/wx/2ndhome.php

Offline the beteljuice

  • the beteljuice
  • Forecaster
  • *****
  • Posts: 303
    • test site
Re: 'This day' Max / Min / Avg Temperatures (NOAA) - PHP Script
« Reply #78 on: December 25, 2020, 07:44:13 AM »
Same reply as I gave before Bunty - you aren't doing anything 'wrong' - It's them having problems with their servers and either redirecting to a different source (in various formats) or returning nothing !

Read the line at the bottom ....
https://w2.weather.gov/climate/getclimate.php?pil=CLI&recent=yes&wfo=oun&sid=OKC

Imagine what you will KNOW tomorrow !

 

anything