Author Topic: NOAA Image of the Day source changed...  (Read 25396 times)

0 Members and 1 Guest are viewing this topic.

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3206
    • North Georgia Weather
Re: NOAA Image of the Day source changed...
« Reply #25 on: August 09, 2010, 07:21:51 PM »
I must be heavily cached somewhere. I'l cleared my browser cache, deleted the IOD cache file on the server, and I still have the little square box. When I run the file like you suggested, it works fine. So it must be somewhere (Comcast probably) that has something cached still. Plus it's all four browsers that I can try.  I'll check it later and see.

This happens a lot, when I make changes to a page, often I can't see the change for a while.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #26 on: August 09, 2010, 08:34:38 PM »
Steve,
I think it's in the header of your iod.php page .. you have
Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> -->

If you change it to
Code: [Select]
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />it should display correctly.  It does display correctly if you select ISO-8859-1(Western) character set to display the page in your browser.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3206
    • North Georgia Weather
Re: NOAA Image of the Day source changed...
« Reply #27 on: August 09, 2010, 08:38:00 PM »
Thanks, I was wondering about that. But yes, that did fix it. Thanks again!  :-)

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1647
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: NOAA Image of the Day source changed...
« Reply #28 on: August 12, 2010, 09:07:15 PM »
Thanks Ken and all !!
Very neat script!  I had never paid much attention to those pics until a few days ago.

Anyway here's mine   http://www.smythweather.net/wxiod.php


Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1647
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: NOAA Image of the Day source changed...
« Reply #29 on: August 15, 2010, 10:19:11 PM »
Hope they haven't decided to change things again...mine has displayed Aug 13 for  a while now.


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #30 on: August 15, 2010, 10:33:11 PM »
Well, the http://www.nnvl.noaa.gov/imageoftheday.php is still showing the 13-Aug-2010 image, so maybe 'Image Of The Day' is a bit of a misnomer .. it seems to be the 'Image Of The Whenever-We-Get-Around-To-Posting-A-New-One' :)
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: NOAA Image of the Day source changed...
« Reply #31 on: August 16, 2010, 12:19:56 AM »
Hope they haven't decided to change things again...mine has displayed Aug 13 for  a while now.

The old NOAA IOD did not display a new image on Saturdays & Sundays, only Monday through Friday. I think the same might be true for the new IOD web site.

Ken, you did an exceptional job on the new script. Now we have IOD-HD (high def)....   8-)
-Danny
-root is everything

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1647
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: NOAA Image of the Day source changed...
« Reply #32 on: August 16, 2010, 10:43:00 AM »
Well, the http://www.nnvl.noaa.gov/imageoftheday.php is still showing the 13-Aug-2010 image, so maybe 'Image Of The Day' is a bit of a misnomer .. it seems to be the 'Image Of The Whenever-We-Get-Around-To-Posting-A-New-One' :)

 :lol: :lol:  Hey that makes sense !
Actually I had never incorporated this particular item into my site until you wrote the new script
so evidently like Danny said they weren't too keen on weekend updating before the change either
so why change LOL!!


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1647
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: NOAA Image of the Day source changed...
« Reply #33 on: August 26, 2010, 03:38:14 PM »
Looks like they have changed the imagery somehow and it's playing havoc with the scripts. Getting a bunch of errors on mine and seeing the same on Ken's page. Maybe after Danielle they'll get back to normal #-o


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3206
    • North Georgia Weather
Re: NOAA Image of the Day source changed...
« Reply #34 on: August 26, 2010, 05:06:11 PM »
It's a video instead of an image! Nice one though! Maybe that's an easy fix. I did notice the little icon on the lower left corner is missing too.

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1647
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: NOAA Image of the Day source changed...
« Reply #35 on: August 26, 2010, 05:40:13 PM »
Yeah, I noticed that too.
Nice video loop though.. Haven't decided whether to modify or just leave it as is and see if the regularly scheduled programming returns LOL!

Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #36 on: August 26, 2010, 06:22:28 PM »
Argggh... I really don't want to cache and resize a 32MB .mp4 video file on my (or your site).   I'll see what can be done to avoid the problem when they post this again...
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3206
    • North Georgia Weather
Re: NOAA Image of the Day source changed...
« Reply #37 on: August 26, 2010, 06:32:23 PM »
LOL!!!! I feel your frustration Ken!

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #38 on: August 26, 2010, 06:59:34 PM »
Grrr... but, I've revved the script to V1.03 to resize the high-resolution .PNG file instead of trying to process the movie (MP4) links.

http://saratoga-weather.org/scripts-images.php#NOAAIOD

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3206
    • North Georgia Weather
Re: NOAA Image of the Day source changed...
« Reply #39 on: August 26, 2010, 07:04:01 PM »
Works like a champ!!!! I made mine a little larger. http://www.daculaweather.com/iod.php

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: NOAA Image of the Day source changed...
« Reply #40 on: August 26, 2010, 08:26:41 PM »
Works like a champ!!!! I made mine a little larger. http://www.daculaweather.com/iod.php

Thanks Ken!!!   :-)

Looks nice Steve. For the proper proportion of your over sized image:
You might want it to be - 860px x 484px instead of 860px × 470px

I know, I know, I'm real anal.. I just happened to notice when I considered resizing mine, but I already had a oversized page...
http://www.eldoradocountyweather.com/noaa-pic-o-day-large.html
« Last Edit: August 26, 2010, 08:57:03 PM by ELDoradoWx »
-Danny
-root is everything

Offline DaculaWeather

  • WxElement panel
  • Forecaster
  • *****
  • Posts: 3206
    • North Georgia Weather
Re: NOAA Image of the Day source changed...
« Reply #41 on: August 26, 2010, 08:35:11 PM »
You know what, when I copied Ken's script over mine I kept repeating the dimensions over and over in my head. When I went to type them back in I KNEW I had it wrong. Man, my mind is going!

Thanks Danny!

Fixed!

Offline ELDoradoWx

  • El Dorado Weather
  • Senior Contributor
  • ****
  • Posts: 298
  • Gentoo X = Complete_Control
    • El Dorado Weather
Re: NOAA Image of the Day source changed...
« Reply #42 on: August 26, 2010, 08:46:16 PM »
You know what, when I copied Ken's script over mine I kept repeating the dimensions over and over in my head. When I went to type them back in I KNEW I had it wrong. Man, my mind is going!

Wish I had a nickel for every time I've done that...
-Danny
-root is everything

Offline W Thomas

  • Welcome to my area!
  • Forecaster
  • *****
  • Posts: 1647
  • In Loving Memory Of Hooker The Weather Dog !
    • Smyth-Grayson Weather
Re: NOAA Image of the Day source changed...
« Reply #43 on: August 26, 2010, 08:51:16 PM »
Grrr... but, I've revved the script to V1.03 to resize the high-resolution .PNG file instead of trying to process the movie (MP4) links.

http://saratoga-weather.org/scripts-images.php#NOAAIOD

Best regards,
Ken

Thanks so much Ken!!  It works perfectly!!!
Now maybe they'll stay this was for a week or two anyway before changing again LOL!


Wayne


     Best Regards
     Wayne

CWOP CW8217
KVAWHITE22 Wunderground   Davis VUE &  Davis Vantage Pro 2  /   Dedicated Server
GR Level 3 ,Level 2 AE Radars  Weather Display 10.37P  Mid Atlantic Weather Network Member
SkyWarn & Spotter Network 6092

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: NOAA Image of the Day source changed...
« Reply #44 on: August 26, 2010, 09:07:03 PM »
Im getting this error after updating to the new script..

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 6220800 bytes) in /virtual/users/e16108-17165/web/get-nnvl-iod.php on line 263


 Line 263 is blank, but this is line 262 print $Debug;

http://www.snoqualmieweather.com/wxnoaa.php
"Nature can do without man, but man cannot do without nature."


Software: WeatherDisplay
Hardware: Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam + Soil temp + Soil Moisture

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #45 on: August 26, 2010, 09:08:00 PM »
Hopefully, when they revert to just offering an image, the script will revert too (I think I handled it that way) :)

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #46 on: August 26, 2010, 09:14:45 PM »
Im getting this error after updating to the new script..

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 6220800 bytes) in /virtual/users/e16108-17165/web/get-nnvl-iod.php on line 263


 Line 263 is blank, but this is line 262 print $Debug;

http://www.snoqualmieweather.com/wxnoaa.php
Hmmm... seems to be working fine now Mark.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ALITTLEweird1

  • Mark
  • Global Moderator
  • Forecaster
  • *****
  • Posts: 923
    • North Bend Weather
Re: NOAA Image of the Day source changed...
« Reply #47 on: August 26, 2010, 09:16:32 PM »
lol.. thats funny. maybe it just needed you to go to the page. It hasnt been working for about an hour now. I'll take it though. Thanks.
"Nature can do without man, but man cannot do without nature."


Software: WeatherDisplay
Hardware: Davis VP2 + VP2 Solar + VP2 UV + Lightning Detector + Logitech Webcam + Soil temp + Soil Moisture

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9277
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: NOAA Image of the Day source changed...
« Reply #48 on: August 27, 2010, 12:17:48 AM »
Mark,
It may be that the very large PNG used with today's image (1,920px × 1,080px, 1.8MB) combined with the small allowed memory (16MB ) in your PHP has caused the fatal error .. running the script itself seems to require less overhead memory than when embedded in your template.. don't know why

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline up10ad N9RJH

  • USA Weather Finder
  • WxElement panel
  • Forecaster
  • *****
  • Posts: 578
  • Station will be back up someday...
    • Forecaster without a site
Re: NOAA Image of the Day source changed...
« Reply #49 on: August 27, 2010, 11:26:20 AM »
Another great update, thanks Ken.
Rick (N9RJH)
Have you joined USAWeatherFinder.com yet?

 

anything