Notifications
Clear all

10/18/2023 Map Stopped Working?
Visit this post for the fix

Airport ID undefined

7 Posts
2 Users
0 Reactions
613 Views
(@captain_ron)
Estimable Member
Joined: 5 years ago
Posts: 162
Topic starter  

I have 3 airports that show up as undefined KO32, KCPU and KJAQ. I know those are valid codes so did something change in the way it gets the weather?


   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

When you say unidentified, is it the weather on the airport page, or is the LED showing white? There are 2 different weather products being used, the one for the airport editor page is different than the one for the LED's and can show unidentified. If its the LED coming up as white, then that's usually a temporary issue as the METAR is temporarily not being reported.

I have 2 airports on my board where the airports editor shows unidentified also. I'm not sure why the FAA weather product doesn't return the data, but if you click on the link in the description it will take you to a page that does show the weather. This was done as a backup. - Mark


   
ReplyQuote
(@captain_ron)
Estimable Member
Joined: 5 years ago
Posts: 162
Topic starter  

@markyharris The editor says the ID is undefined and it shows up as weather not reporting in my case is yellow.

Screen Shot 2021 10 26 at 10.45.33 AM

 


   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

Yep. I'm not sure why the FAA isn't returning the data. It's using an api from weather.gov. Run this in a web browser;

 https://api.weather.gov/stations/K032/observations/latest 

Now substitute another airport for the K032 and try it again. You'll see the data returned is now complete. - Mark


   
ReplyQuote
(@captain_ron)
Estimable Member
Joined: 5 years ago
Posts: 162
Topic starter  

@markyharris I got this back for KJAQ 

{
    "correlationId": "66845a89",
    "title": "Not Found",
    "type": "https://api.weather.gov/problems/NotFound",
    "status": 404,
    "detail": "Not Found",
    "instance": "https://api.weather.gov/requests/66845a89"
}

   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 5 years ago
Posts: 557
 

Yep, try an airport from your airports editor that is showing a flight category. You will receive a bunch of data about it. - Mark


   
ReplyQuote
(@captain_ron)
Estimable Member
Joined: 5 years ago
Posts: 162
Topic starter  

I was more concerned about it not recognizing the airport code verses getting the weather.


   
ReplyQuote
Share: