Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Missing Root Element Error (NWS Weather Stations) #163

Closed
Nikolai558 opened this issue Jun 17, 2024 · 4 comments
Closed

[BUG] - Missing Root Element Error (NWS Weather Stations) #163

Nikolai558 opened this issue Jun 17, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Nikolai558
Copy link
Owner

Describe the bug
Getting AIRAC Data fails with a bug message of "Missing Root Element"

To Reproduce
Steps to reproduce the behavior:
1.Run AIRAC data
2.See bug
3.
4.

Expected behavior
Should run like any other time.

Screenshots
If applicable, add screenshots to help explain your problem.

image

@Nikolai558 Nikolai558 added the bug Something isn't working label Jun 17, 2024
@Nikolai558 Nikolai558 self-assigned this Jun 17, 2024
@Nikolai558
Copy link
Owner Author

NWS (National Weather Station) is revamping their website. In doing so they changed the link FE-Buddy Currently uses to retrieve all the Weather Stations for the NAS. Located in the Download Helpers File

The problem in FE-Buddy is this line of code in the GetAptData

This is the new link
image

However, this bug can not be resolved until NWS fixes their website.

I found that the new link does not return anything except a "Page Not Found Error" and an informational link showing that they are aware of the links not existing.

image

Further detail and a list of changes can be found here at the WX Gov Migration Link and here at the Forecast Migration Link

@KSanders7070
Copy link
Collaborator

it’s sloppy but screw it… it’s v2.x….

Change to the new link.

If download returns blank or does not exist, create a generic/blank output file with a single set of 00,00 coordinates.

This way it can continue with other functions. Don’t worry about making a fancy notification for this or anything, just include this process in the change log.

In v3.x we can keep in mind an alternative action if any file is not found or is corrupt for some reason.

@KSanders7070
Copy link
Collaborator

Also look into using this https://aviationweather.gov/data/api/#/Data/dataStationInfo

@Nikolai558
Copy link
Owner Author

Fixed in v2.7.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants