← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1610210] Re: All metar fetches fail due to NOAA 302 redirect

 

This bug was fixed in the package metar - 20061030.1-2ubuntu3

---------------
metar (20061030.1-2ubuntu3) xenial; urgency=medium

  * SRU of 20061030.1-2.2 from Yakkety Yak and later,
    fixes new upstream URL (LP: #1610210)

 -- Daniel Lange <dl.ml1@xxxxxxxxxxx>  Fri, 02 Dec 2016 09:58:27 +0100

** Changed in: metar (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1610210

Title:
  All metar fetches fail due to NOAA 302 redirect

Status in metar package in Ubuntu:
  Fix Released
Status in metar source package in Xenial:
  Fix Released
Status in metar package in Debian:
  Fix Released

Bug description:
  [Impact]

   * NOAA changed the URL for the service metar relies on to retrieve weather information
   * This has been fixed in 20061030.1-2.2 that is in YY and ZZ (LP: #1610210)
     but not yet in XX (16.04 LTS) and previous releases
   * justification: the metar program will not display any weather information
     anymore without the fix (complete functionality loss for users)
   * remedy: update URL in the source (it is hardcoded)
     (a work-around is to set the environment variable to the new URL
      METARURL=http://tgftp.nws.noaa.gov/data/observations/metar/stations)

  [Test Case]

   * install metar # 20061030.1-2ubuntu2
   * metar FACT # metar information for Cape Town Airport (CPT)
     -> METAR pattern not found in NOAA data
     (correct would be something like: FACT 251000Z 18020KT CAVOK 22/13 Q1017 NOSIG)

  [Regression Potential]

   * just a hardcoded URL fix, no program change otherwise
   * works in Debian sid & testing, Ubuntu YY and ZZ

  [Other Info]

   * Stable upload in progress as well for next Debian Jessie point-
  release

  -----------------------------------------------------------------------------

  All metar fetches are failing:

  $ metar LSZH
  METAR pattern not found in NOAA data.

  Requests for
  http://weather.noaa.gov/pub/data/observations/metar/stations/XXXX.TXT
  are now receiving a 302 redirect to
  http://tgftp.nws.noaa.gov/data/observations/metar/stations/XXXX.TXT

  metar needs an updated METARURL, or to set CURLOPT_FOLLOWLOCATION

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/metar/+bug/1610210/+subscriptions