Author Topic: Is weathercat affected by the June 15 termination of weather.noaa.gov?  (Read 2985 times)

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Info at:
http://www.nws.noaa.gov/om/notification/scn16-16wng.htm
http://www.wxforum.net/index.php?topic=29429.msg288782 => radar maps
http://www.wxforum.net/index.php?topic=29502.0 => METAR

At June 15 all kind of noaa.gov sites seem to stop and the data is relocated to new URL's
I was checking if weatherCat used any link to the METAR site, it seems that one is not used.

I am not sure but according to the links  in preferences => Imagery there are changes needed in those links.

Wim

Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

xairbusdriver

  • Storm
  • *****
  • Posts: 3127
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Looks like the only thing that even uses "moaa.gov" is the noaaSettings.php in your old, stand-alone noaafct group. And that setting is only for the NWS Logo (http://www.srh.noaa.gov/images/jan/Icons/NWS_Logo.png).

Frankly, I'm not sure where the actual data for the forecast is coming from except for this bit of text in the Forecast info section. "Weather forecast from the NDFD SOAP - National Digital Forecast Database, delivered by the National Weather Service." I fear the actual url(s) are somewhere in the javascript files (which were coded by some one else). [banghead] I don't have time to search those right now, have to make a quick trip out of town. It will be so much fun tracking that down. NOT!

As you've said, you are no longer supporting any of those stand-alone templates. Unfortunate, in my personal opinion, since that's the only templates I now use. However, I understand the difficulties in maintaining different groups of files, especially those used by the "fringe users" like me! [lol]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Looks like the only thing that even uses "moaa.gov" is the noaaSettings.php in your old, stand-alone noaafct group. And that setting is only for the NWS Logo (http://www.srh.noaa.gov/images/jan/Icons/NWS_Logo.png).
. .  shortened . .
As you've said, you are no longer supporting any of those stand-alone templates. Unfortunate, in my personal opinion, since that's the only templates I now use. However, I understand the difficulties in maintaining different groups of files, especially those used by the "fringe users" like me! [lol]
Thanks for pointing to the soon obsolete link. If they do not implement a redirect  the image link has to be changed to http://www.srh.weather.gov/images/jan/Icons/NWS_Logo.png

===
I do not understand your remark "As you've said, you are no longer supporting any of those stand-alone templates."

I fully support the latest 3 releases of the Leuven-Template ( 2.6 2.7 and 2.8 ) and will try to support older releases.  But I have no running demo sites for all older releases, so that can take some time to reinstall one when there is a problem.

I fully support all Leuven-scripts as shown on
http://www.weerstation-leuven.be/ => tab "Leuven PHP scripts for use on your own website"
That includes therefor also two NOAA/NWS forecast scripts.

I probably was not clear when expressing what support is available for all Leuven-scripts. Full support is available:
1. for the scripts running in Leuven-Template
2. for the scripts running in Saratoga-Template
3. for unchanged scripts running stand-alone.

I will try to help with modifying the scripts to run in some other website structure. But in that case support becomes very difficult and I advise users to run those scripts in an iframe.

I always ask if the new user is aware of the ipad option for all Leuven-Template pages.
It is nowadays far easier to install the template as it has Q&A pages where a lot answers are done with drop-down selections.
If someone wants to use 2 or more scripts the total time spent is less when using the template and run the scripts in ones own site with the ipad option.

Example two of my own site pages but by using the ipad option, without headers menu footers a.s.o.
http://www.weerstation-wilsele.be/index.php?p=wsForecast&lang=en&ipad
http://www.weerstation-wilsele.be/index.php?p=wsReports&lang=en&ipad

And one can do that with every page. That is the easy way to  integrate Leuven-scripts in ones own site .

But this said, if someone wants to use a Leuven-script using the stand-alone version, I will support that always.

Wim

Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
As multiple script developers face a lot of support calls after Wednesday, caused by the changes in weather.noaa.gov => weather.gov I was only posting this topic to warn about the changes this week.

. . . shortened . . .
Frankly, I'm not sure where the actual data for the forecast is coming from except for this bit of text in the Forecast info section. "Weather forecast from the NDFD SOAP - National Digital Forecast Database, delivered by the National Weather Service." I fear the actual url(s) are somewhere in the javascript files (which were coded by some one else). [banghead] I don't have time to search those right now, have to make a quick trip out of town. It will be so much fun tracking that down. NOT!
. . . shortened . . .
There is no javascript involved in loading a forecast. All is done in PHP on your webserver.
The data is loaded from the NWS server: http://graphical.weather.gov/xml/SOAP_server/ndfdXML.htm
You can make your own selections on that html page once and then save the request for retrieving later the forecast as an xml.
The Leuven-NOAA script retrieves its information that way, then  generates the compressed forecast data and stores the result in a cache file.
All done in PHP line 600 - 1070 in noaaDigitalGenerateHtml.php, you can check the script as always with sce=view:
http://weather-template.nl/weather28/usa/noaafct/noaaDigitalGenerateHtml.php?sce=view

This is the running script http://weather-template.nl/weather28/?p=noaa_full_page&lang=en&wp=VW&ipad
Can you please point me to the javascript which as you state "were coded by some one else"?

==

It would be a decent thing to do to ask and check before you make negative remarks such as: "you are no longer supporting any of those stand-alone templates."  or "somewhere in the javascript files (which were coded by some one else)".


Wim

Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

xairbusdriver

  • Storm
  • *****
  • Posts: 3127
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Last things fi)st:
How is stating that "the javascript files (which were coded by some one else)" in any way a negative remark? I was as clearly as possible stating that you were not, in any way, responsible for any javascript that purports to have anything to do with the forecast display. Beats me!

There are three javascript files in the "noaafct" folder. One is a probably modified, but normal "jquery.js" to enable some data building routines for later use. I suspected that I might find some use of the various noaa urls in there, but I was restricted to my iPhone, so investigation would have been very difficult, if not impossible. The second file is "highcharts.js' which some text from your template states is used to generate the charts. The last file appears to be a way of using javascript to add methods of tabbing while building the charts. I have absolutely no javascript read skills and even less desire to learn anything about the language. That the forecasts and your template do not use javascript to download or display the forecast is great news, as far as I'm concerned. Thanks for that confirmation and correction to my understanding.

Next to last question: Back on April 12, 2016, I suggested that a WC user who stated; "I am working on the Leuven template.  Still not the way I want it yet." try some of your 'stand-alone' script sets. Your reply <Reply #8 on: April 13, 2016, 04:44:03 AM>:
Quote
[emphasis added]There will be no newly developed  stand-alone scripts from me, and although the current stand-alone scripts are still available, the best way to go is to use the template to load the needed scripts in your own website.  With one installation all available scripts can be used. If one does not want realtime data, there is no upload from WeatherCat needed. 

Another example, you want to use the Davis console: upload of weather-data  is necessary to get this:
http://www.weerstation-wilsele.be/index.php?p=console&lang=en&ipad
The green colors and box is CSS. One time change to fit into your website.

[emphasis added]Disadvantages when using stand-alone scripts:
1. Every script needs some, often the same settings, done in PHP
2. For every script the same CSS changes has to be made to blend the script in your own web-site
3. Every script needs to be maintained

And it is far easier to give support as the scripts inside your own website can be tested by me in your (hidden) template environment.
Perhaps you have made other posts stating your "continued support" for these 'stand-alone' scripts, I just have not seen them. Nor do I deduce that from the quoted statement above. That statement seems to saying in rather explicit terms that we should use your general, and improved, website template and not the stand-alone parts. Perhaps I don't understand English enough to read your intentions into what I saw in that quoted statement you made on April 13. It would not be the first time I've misunderstood what someone said. I do apologize for my misunderstanding, if that is what happened.

Your list of "Disadvantages" seems to agree with my statement that I understand why you might not want to continue working on the 'stand-alone' scripts: "Every script needs to be maintained".

However, I much more appreciate your latest statement in reply #2 above.
Quote
Full support is available:
1. for the scripts running in Leuven-Template
2. for the scripts running in Saratoga-Template
3. for unchanged scripts running stand-alone.
That's plain enough even for me! ;) And great news, as far as I'm concerned, since that's exactly what I am doing.

As for looking in the javascript, which you so kindly pointed out is not at all involved, I quoted the text, which includes a link, that is in your template as the source or developer of some javascript [please refer to that quotation in my reply just before yours]. I did not have my computer available nor the file searching apps on it at the time of my reply. As I now have discovered, the link is simply to the "National Digital Forecast Database (NDFD) Digital Weather Markup Language (DWML)
Generator" page at the weather.gov/xml/SOAP_server. I will endeavor to search for exactly how and where your template uses that info. Probably in your info on lines 600 - 1070 of the noaaDigitalGenerateHtml.php.

I've only recently returned home and was surprised to see myself being accused of being negative to a developer on a par with that of the WC developer. I think I have made my respect and appreciation of you evident in my various postings here and certainly in the few emails we've exchanged. I am deeply saddened that you would think I am even implying anything derogative toward you, sir.

I hope I have made the reasons for my statements and even misstatements clear and to your satisfaction.
Perhaps the admin(s) should simply remove/delete my reply that seems to have many ererz and is easily mis-understood. [banghead] [tup]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


xairbusdriver

  • Storm
  • *****
  • Posts: 3127
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Quote
Thanks for pointing to the soon obsolete link. If they do not implement a redirect  the image link has to be changed to http://www.srh.weather.gov/images/jan/Icons/NWS_Logo.png
Or we could simply download and store it on our own site space? It's a 600 x 600 83.6 png. One could easily edit to many different sizes for a much smaller file and avoid the microsecond delay of fetching it from NOAA/NWS. Assuming it is even affected by their changes.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2911
    • CW9739
    • ISCOTLAN25
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, soil/leaf station, extra temp stations, no U.V. WeatherLink IP.
Info at:
http://www.nws.noaa.gov/om/notification/scn16-16wng.htm
http://www.wxforum.net/index.php?topic=29429.msg288782 => radar maps
http://www.wxforum.net/index.php?topic=29502.0 => METAR

At June 15 all kind of noaa.gov sites seem to stop and the data is relocated to new URL's
I was checking if weatherCat used any link to the METAR site, it seems that one is not used.

I am not sure but according to the links  in preferences => Imagery there are changes needed in those links.

Wim

Hi Wim,
There are two NOAA links in the defaults for the imagery - these are:
http://www.goes.noaa.gov/GIFS/WCIR.JPG
http://www.goes.noaa.gov/GIFS/ECIR.JPG

I don't think these are affected by the change (they still seem to be working today).

On a related note, there has been a change in the default EU imagery URL, which has been incorporated into version 2.4.0:
https://i.imwx.com/images/sat/europesat_600x405.jpg

Cheers,
Stu.