Announcement

Collapse
No announcement yet.

How get four letter four digit weather id and old numbers site

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How get four letter four digit weather id and old numbers site

    There are several "weather applets" abroad in LinuxLand and the developers thereof seem to not be able to settle on just how to get "your location" into the applet.

    There is discussion on the net about Yahoo weather ID, Weather.com, U.S. National Weather service, etc.

    Some ask for your "zip code" and others ask for the "weather id" number, but, apparently there are several different kinds of weather "ids".

    The "four letter, four digit" weather id can be easily found, for the U.S. at least, by typing in the the zip code of the desired location in the "national weather service" search box or just doing it on Google and, if one looks at the URL in the search bar, one "should" see the url for the national weather service, then the city and state of the location and then lastly the "four letter four digit" id.

    APPARENTLY, when one uses the old id in some applets it "will work" the first time, but then sits and spins after a reboot. It happened to me, it is not a bug, it is just that the devs of the applet did not explicitely state that the four letter four digit is what is needed.

    Sometimes a few extra bytes of information about an application could save untold hours of complaints on the fora littering the internet and thereby contribute to the greenness of the Linux world! .

    The "fix" is to use the "four letter and four digit" id, it works immediatly.

    Here is an example using Boise Idaho, United States:


    AichTeeTeeP /weather/today/USID0025

    It is: USID0025

    The things immediately following US are the letters "I"as in A, E....."I".....O ...U... and "D".

    Simply copy and paste the four letters four digits into whatever box is displayed on the weather applet.

    The "old numbers" for the U.S. can be found here:

    https://gist.github.com/353493

    A site which has links to Yahoo, nws etc. and look at the BOTTOM also for various countries.

    http://edg3.co.uk/snippets/weather-location-codes/

    LInk to U.S. National weather service Boise Idaho page:

    http://www.weather.com/weather/today/USID0025

    woodsmoke

    #2
    I have to expand on my above post. I, by a fluke, got the proper information, but....

    From the Weather Channel:

    If you type in the zip code for Dallas TX this is the url that is returned.

    http://www.weather.com/weather/today/Dallas+TX+75211

    If you type in the NAME, Dallas TX, you get a drop down and click it and you get the following:

    http://www.weather.com/weather/today/USTX0327

    And you will notice that USTX0327 is the four letters and four numbers to copy and paste into the weather applet.

    woodsmoke

    Comment

    Working...
    X