metar icon indicating copy to clipboard operation
metar copied to clipboard

last(???) vs newest metar

Open genys123 opened this issue 2 years ago • 1 comments

The test was done on 11th day of the month: :~$ metar -n 2 -m plq

EYPA (PLQ) Palanga International Airport (Palanga), Lithuania LT (EU) EYPA 111720Z 02009KT 9999 OVC006 M06/M07 Q1006 [-12 -6 93%] EYPA 111650Z 02010KT 9999 BKN006 M06/M07 Q1007 [-12 -6 93%]

2.4.1 | Download: 0.554 sec. | Process: 0.020 sec. | Total: 0.574 sec. :~$ metar -n 1 -m plq

EYPA (PLQ) Palanga International Airport (Palanga), Lithuania LT (EU) EYPA 101750Z 13005KT CAVOK M08/M09 Q1011 [-13 -8 93%]

2.4.1 | Download: 0.507 sec. | Process: 0.021 sec. | Total: 0.528 sec.

As you see in the case where -n equals to 1, the metar is from "yesterday" - 10th of the month (perhaps the last available???), if -n is 2, then the two latest metar's are downloaded.

genys123 avatar Dec 11 '22 18:12 genys123

it appears I get random results, e.g. from the 23rd day of the month (day of query - 11th):

:~$ metar -n 1 -m plq kun vno

EYPA (PLQ) Palanga International Airport (Palanga), Lithuania LT (EU) EYPA 231920Z 10006KT 070V140 9999 OVC007 M04/M06 Q1013 [-8 -4 86%]

EYKA (KUN) Kaunas International Airport (Kaunas), Lithuania LT (EU) EYKA 231920Z 12004KT 080V150 4800 BR OVC003 M04/M05 Q1013 [-7 -4 93%]

EYVI (VNO) Vilnius International Airport (Vilnius), Lithuania LT (EU) EYVI 231920Z 11005KT 080V150 9999 OVC002 M05/M05 Q1013 NOSIG [-9 -5 100%]

2.4.1 | Download: 0.633 sec. | Process: 0.020 sec. | Total: 0.652 sec.

genys123 avatar Dec 11 '22 19:12 genys123