Donations

Help support Pro_News and become a member of our Sponsors Group
The tip jar is at PayPal, but does not require a PayPal account
User Info
Wilkommen Unbekannt
Mitglieder:
Neuestes: Witewolf
Heute neu: 0
Gestern neu: 0
Gesamt: 151
Anwesende Nutzer:
Mitglieder: 0
Besucher: 43
Roboter: 3
Gesamt: 46
Wer ist wo?:
Besucher:Support Forums
Support Forums
Nedlastninger
Nedladdningar
Support Forums
Support Forums
Descargas
Support Forums
Support Forums
Support Forums
Pro News Articles
Support Forums
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
Downloads
Support Forums
Ihr Benutzerkonto
Support Forums
Pro News Articles
My Account
Support Forums
Support Forums
Pro News Articles
Support Forums
التحمي
Support Forums
Téléchargement
Pro News Articles
Pro News Articles
Pro News Articles
Pro News Articles
Pro News Articles
Support Forums
Nedlastninger
Pro News Articles
Downloads
Downloads
Support Forums
Support Forums
Pro News Articles
Support Forums
Roboter:Google > Support Forums
Baidu > Pro News Articles
YANDEX > Support Forums
Wer ist online:
Keine Mitglieder online!
Bad News! NOAA has changed its format AGAIN!
Bad News! NOAA has changed its format AGAIN!
Verfasst am: Tue Dec 18, 2007 8:58 pm
Not only has NOAA changed their format again(!) but they have - of course - done it such that it is not backward compatible - again!
But wait it gets worse... The "new" version is "Enhanced" (reasons given are an unconvincing one of letting people add their own GIS images as background, and a more probable one that it's easier for them ;-)), but the "Standard" version is NOT the old version, but a different one entirely.
The Enhanced version requires Java (states Javascript or Java, but basically doesn't work unless you have Java, version 1.4.2 or later), and has a long download time (again their wording). The Standard version has very reduced functionality - in particular no loops like we had before, which IMHO was the real value in the display.
Add to that the projection has changed giving a "distorted view" (sic - their term not mine!) with E-W stretched, so that GIS users with NAD 1983 projection can display the images without adjusting the projection (which is BS 'cos GIS users have the ability to do that, unlike us non-GIS users without projection mapping software!!!).
The Enhanced version is closest to the prior system, but the old simple system of looping - displaying the last 'n' static images under Javascript - has been replaced by some Java routine. What, I have no way of knowing as that part of the documentation listing the files and locations has not been updated, even though every other piece of documentation has, and even though the file and directory names have clearly changed (we're getting 404's).
Your US tax dollars at work.
Any how </rant>. Calming down. Taking another look.
It looks to me as if the old image files are all still there as before. However instead of being named ..._1.gif, ..._2.gif in reverse chronological order, they are now held with date and time in their names. Obviously I don't know when the images were captured, so I just need to find a way to download everything in the (new) directory and display in filename order. Might be possible... That would give us our old system back - and better functionality IMHO than their new "Enhanced" system.
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Re: Bad News! NOAA has changed its format AGAIN!
Verfasst am: Tue Dec 18, 2007 9:47 pm
OK, here's a fix, I believe...
These code changes apply only to my hacked files.
In wh_radar.php at line 548 find:
$primaryradar = ereg_replace( ":noaaradar:", $row['primaryradar'] , $radarpath );
$infopath = ereg_replace( ":noaaradar:", strtolower( $row['primaryradar'] ), $infopath );
and replace with:
$primaryradar = ereg_replace( ":noaaradar:", strtoupper(substr( $row['primaryradar'] , 1 )), $radarpath );
$infopath = ereg_replace( ":noaaradar:", strtoupper(substr( $row['primaryradar'] , 1 )), $infopath );
Note it may only work until NOAA discovers that they are still leaving the old files around (in a different directory hence the change above). If they stop saving them we're hosed. But in the meantime we still have a really useful 4 - 5 hour loop versus the short loop NOAA displays on their own sites!!!
layingback's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
2.6.32 / 1.3.39 - 2.2.12 / 4.4.7 - 5.1.37 / 5.3.0 / 9.2.1

layingback- Site Admin

- Beiträge: 1229
- Dabei seit: Mar 18, 2006
Du kannst auf Beiträge in diesem Forum nicht antworten.
Du kannst deine Beiträge in diesem Forum nicht bearbeiten.
Du kannst deine Beiträge in diesem Forum nicht löschen.
Du kannst an Umfragen in diesem Forum nicht mitmachen.
Du kannst keine Dateien anhängen.
Du kannst Dateien herunterladen.
Alle Zeitangaben sind in GMT











