Notifications
Clear all
-->September 6th, 2025<--
Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.
--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark
Topic starter
12/04/2024 3:52 pm
In version 4.501 a bug was found when the FAA doesn't provide a flight category in the returned data. The script will stop running when this happens. It can be fixed by editing the script named 'metar-v4.py'. It is located in the '/NeoSectional' directory. To get there use the command line and enter;
cd /NeoSectional sudo nano -c metar-v4.py
Then change line 1215 to;
if metar.find('flight_category').text is None or metar.find('flight_category').text == 'NONE':
Use the line that is there and add the '.text' to the 2 locations
Then enter;
ctrl-x y
to save.
This will be incorporated into the next image. - Mark
This topic was modified 2 years ago by Mark Harris
12/04/2024 4:26 pm
Thanks Mark! Good find.