sm0svx / svxlink

Advanced repeater system software with EchoLink support for Linux including a GUI, Qtel - the Qt EchoLink client
http://svxlink.org/
Other
433 stars 171 forks source link

METAR #647

Open sm5gxq opened 11 months ago

sm5gxq commented 11 months ago

Hi,

There seems to be a change at aviationweather.gov, so the "adds" resource is no longer available.

I have made these mods to /etc/svxlink/svxlink.d/ModuleMetarInfo.conf:

LINK=/cgi-bin/data/dataserver.php?requestType=retrieve&dataSource=metars&hoursBeforeNow=3&stationString=
#LINK=/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString=

Further, it seems that the man file for ModuleMetarInfo.conf is missing?

rgds Peter

f5vmr commented 11 months ago

Yes, these changes made an awful lot of apps fail to work. I made the changes in svxlink, but the flight simulator world is having to make an effort. I wonder how much it affected everyone in aviation?

On Wed, 25 Oct 2023, 10:18 sm5gxq, @.***> wrote:

Hi,

There seems to be a change at aviationweather.gov, so the "adds" resource is no longer available.

I have made these mods to /etc/svxlink/svxlink.d/ModuleMetarInfo.conf:

LINK=/cgi-bin/data/dataserver.php?requestType=retrieve&dataSource=metars&hoursBeforeNow=3&stationString=

LINK=/adds/dataserver_current/httpparam?dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString=

Further, it seems that the man file for ModuleMetarInfo.conf is missing?

rgds Peter

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5G4BG2NMBWDBDP53V3YBDKPLAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DAOJTGM3TQNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

DH3PAE commented 11 months ago

Hallo, my Name ist Stefan and today i have start the Weather Modul but it does not work. I have change for 3 Weeks an with this String from Peter it have worked fine: LINK=/cgi-bin/data/dataserver.php?requestType=retrieve&dataSource=metars&hoursBeforeNow=3&stationString= But today there is another change in the data server on avianweather.gov. Ther is no entry with beginning Link=cgi today it beginns with /api/data So what must I do now, for hearing the Flight Weather Information, Peter can you Help sm5gxq this is dh3pae..please contact me under wolken2019@web.de if you find the mistake. Thank you for all Help Best Greetings Stefan

f5vmr commented 11 months ago

AviationWEATHER.GOV HAS AN UPSTREAM Network Issue on their own website. It may resolve itself later.

Chris

On 10 Nov 2023, at 13:07, DH3PAE @.***> wrote:

Hallo, my Name ist Stefan and today i have start the Weather Modul but it does not work. I have change for 3 Weeks an with this String from Peter it have worked fine: LINK=/cgi-bin/data/dataserver.php?requestType=retrieve&dataSource=metars&hoursBeforeNow=3&stationString= But today there is another change in the data server on avianweather.gov. Ther is no entry with beginning Link=cgi today it beginns with /api/data So what must I do now, for hearing the Flight Weather Information, Peter can you Help sm5gxq this is dh3pae..please contact me under @. @.> if you find the mistake. Thank you for all Help Best Greetings Stefan

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-1805698536, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5HHWFHQ3IG7FVY2JGDYDYRJXAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVGY4TQNJTGY. You are receiving this because you commented.

f5vmr commented 11 months ago

AviationWeather is now back delivering Metar

On 10 Nov 2023, at 13:28, DH3PAE @.***> wrote:

Ok Thank your fort he Information Chris, so i will be wait fort he next time and write here back when the problem has solved.

73 de Stefan dh3pae

http://eichenwetter.homelinux.net

or

http://eichenwetter.homelinux.net/pwsWD/index.php

you can connect me via Echolink /Svxlink Node Number 528305

Von: Chris G4NAB_F5VMR @.> Gesendet: Freitag, 10. November 2023 14:14 An: sm0svx/svxlink @.> Cc: DH3PAE @.>; Comment @.> Betreff: Re: [sm0svx/svxlink] METAR (Issue #647)

AviationWEATHER.GOV HAS AN UPSTREAM Network Issue on their own website. It may resolve itself later.

Chris

On 10 Nov 2023, at 13:07, DH3PAE @. <mailto:@.> > wrote:

Hallo, my Name ist Stefan and today i have start the Weather Modul but it does not work. I have change for 3 Weeks an with this String from Peter it have worked fine: LINK=/cgi-bin/data/dataserver.php?requestType=retrieve&dataSource=metars&hoursBeforeNow=3&stationString= But today there is another change in the data server on avianweather.gov. Ther is no entry with beginning Link=cgi today it beginns with /api/data So what must I do now, for hearing the Flight Weather Information, Peter can you Help sm5gxq this is dh3pae..please contact me under @. <mailto:@.> @. <mailto:@.> > if you find the mistake. Thank you for all Help Best Greetings Stefan

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-1805698536, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5HHWFHQ3IG7FVY2JGDYDYRJXAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVGY4TQNJTGY. You are receiving this because you commented.

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-1805706602 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ASNKGJQESWOTKJXPLBVOYFLYDYSCDAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVG4YDMNRQGI . You are receiving this because you commented. https://github.com/notifications/beacon/ASNKGJTHSCUQ3SQJJ6ZFGXDYDYSCDA5CNFSM6AAAAAA6PBBFCCWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTLUDSWU.gif Message ID: @. @.> >

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-1805726341, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5H4MI2NHMDM3DHXXPTYDYTX7AVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBVG4ZDMMZUGE. You are receiving this because you commented.

circool commented 6 months ago

hi. SvxLink v1.8.0@24.02-3-gcde00792 in ModuleMetarInfo.conf:

[ModuleMetarInfo]
NAME=MetarInfo
ID=5
TIMEOUT=120
TYPE=TXT
SERVER=https://aviationweather.gov
LINK=/cgi-bin/data/metar.php?hours=0&order=id%2C-obs&sep=true&ids=
STARTDEFAULT=UUEE
AIRPORTS=UUEE,UUDD,UUWW

run metar module:

ECHO4: Frankfurt, Germany

SimplexLogic: digit=5
SimplexLogic: digit=#
SimplexLogic: Activating module MetarInfo...
https://aviationweather.gov/cgi-bin/data/metar.php?hours=0&order=id%2C-obs&sep=true&ids=UUEE
Tx1: Turning the transmitter ON
./5: line 1:  4600 Segmentation fault      sudo -u svxlink svxlink

cat /tmp/metar

UUEE 312330Z 11003MPS CAVOK 09/06 Q1012 R24C/CLRD62 NOSIG

How to be?

circool commented 6 months ago

XML with

LINK=/cgi-bin/data/dataserver.php?requestType=retrieve&dataSource=metars&hoursBeforeNow=3&stationString=

is not problem

dl1hrc commented 6 months ago

Hi,

my last message doesn't seem to have been sent:

yes, the metar data returned has a different structure. When I developed this many years ago the structure was like this:

2009/04/07 13:20 FBJW 071300Z 09013KT 9999 FEW030 29/15 Q1023 NOSIG

The advantage is that in this structure it can be recognized whether the data is current. Without the date, you can only guess from the first sequence of numbers (FBJW 07xxxxZ ....). But regardless, it shouldn't lead to a segfault. I'll see what the problem is.

Mni 73s de Adi / DL1HRC

Am 01.04.24 um 02:08 schrieb Vladimir:

hi. SvxLink @.*** in ModuleMetarInfo.conf:

|[ModuleMetarInfo] NAME=MetarInfo ID=5 TIMEOUT=120 TYPE=TXT SERVER=https://aviationweather.gov LINK=/cgi-bin/data/metar.php?hours=0&order=id%2C-obs&sep=true&ids= STARTDEFAULT=UUEE AIRPORTS=UUEE,UUDD,UUWW |

run metar module:

|ECHO4: Frankfurt, Germany SimplexLogic: digit=5 SimplexLogic: digit=# SimplexLogic: Activating module MetarInfo... https://aviationweather.gov/cgi-bin/data/metar.php?hours=0&order=id%2C-obs&sep=true&ids=UUEE Tx1: Turning the transmitter ON ./5: line 1: 4600 Segmentation fault sudo -u svxlink svxlink |

cat /tmp/metar

|UUEE 312330Z 11003MPS CAVOK 09/06 Q1012 R24C/CLRD62 NOSIG |

How to be?

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-2028958367, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB62JQPYGGNIPVFISX4GURLY3CQPFAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRYHE2TQMZWG4. You are receiving this because you are subscribed to this thread.Message ID: @.***>

dl1hrc commented 6 months ago

I've changed something and it has been checked in into my private repository. It would be very nice if some people could test it before I make a pull request. If you have some time please check out it by git clone https://github.com/dl1hrc/svxlink.git Please notice the small change in the manual page and the changes in ModuleMetarInfo.conf Mni 73s de Adi / DL1HRC

dl1hrc commented 5 months ago

Does it work or not?

f5vmr commented 5 months ago

The 24.02 build has the up to date correct link installed. Works well. Chris

On Tue, 23 Apr 2024, 19:56 Adi Bier, @.***> wrote:

Does it work or not?

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-2073199774, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5FWSNERLA6VLLQKWADY62VEJAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGE4TSNZXGQ . You are receiving this because you commented.Message ID: @.***>

dl1hrc commented 5 months ago

ok, but there is more than just a changed link: https://github.com/dl1hrc/svxlink/commit/6687881b8544a251af38b58535ec0135ad799353

f5vmr commented 5 months ago

Ok, but I do not understand the issue. The ICAO and the current setup from SM0SVX has always worked. It has just been the link that changed. The current build on my repeater work very well. This is recorded off air moments ago.

Chris 

On 23 Apr 2024, at 20:07, Adi Bier @.***> wrote:

ok, but there is more than just a changed link: @.*** https://github.com/dl1hrc/svxlink/commit/6687881b8544a251af38b58535ec0135ad799353 — Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-2073218620, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5GYOJY26IK4FHYQ5RDY62WO5AVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGIYTQNRSGA. You are receiving this because you commented.

dl1hrc commented 5 months ago

There was a segfault in the case of a message that did not correspond to the expected structure, so I changed the way aviationweather responded slightly. Maybe someone can test this version (for example the Metar info from Moscow with the specific runway information) as I can't test all airports on my system Mni 73s de Adi / DL1HRC.

f5vmr commented 5 months ago

Wow, Ok, I’ve not encountered that, although I have noticed that after a cold start of MetarInfo where EGNT - Newcastle is the DEFAULTAIRPORT having announced all the weather the announcement continues - Met Report Not Valid…….. I suppose that this might be a manifestation of the issue with.txt I haven’t checked it myself. I might pull your code to make another effort. I have just completed a full bash script build from menu for English (GB & US), French and Spanish. It would be nice to make it absolutely perfect.

Chris

On 24 Apr 2024, at 11:30, Adi Bier @.***> wrote:

There was a segfault in the case of a message that did not correspond to the expected structure, so I changed the way aviationweather responded slightly. Maybe someone can test this version (for example the Metar info from Moscow with the specific runway information) as I can't test all airports on my system Mni 73s de Adi / DL1HRC.

— Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/647#issuecomment-2074631624, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5GTXP7X22OIEOVAAQDY66CTFAVCNFSM6AAAAAA6PBBFCCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGYZTCNRSGQ. You are receiving this because you commented.