Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

[BUG] -Wx Stations without DATA #104

Closed
KSanders7070 opened this issue Jun 18, 2021 · 6 comments
Closed

[BUG] -Wx Stations without DATA #104

KSanders7070 opened this issue Jun 18, 2021 · 6 comments
Assignees
Labels
Complete Fixed/Added in the next release Waiting

Comments

@KSanders7070
Copy link
Collaborator

I have found numerous weather stations output by NASR2SCT that don't have the ability to pull weather from VATSIM. I don't remember the IDs but there are a few on the boarder of ZLC Sector 17 and ZDV.

I have an idea that we could use this page... and it has the station NAME on it as well.

https://www.cnrfc.noaa.gov/metar.php

@KSanders7070 KSanders7070 added the bug Something isn't working label Jun 18, 2021
@KSanders7070
Copy link
Collaborator Author

K97M and KM46 are two station examples that show up on the Wx filter but is not actually a station we can get metar data from on VATSIM.

K97M even shows up in the link that I sent but if you select it, it returns a "Station does not exist". Maybe we can check for that and just not print it, if it does that.

Nikolai558 added a commit that referenced this issue Aug 3, 2021
This may lead to WX stations not being included if the WX Stations are not on the Vatism Metar website.
We might have to go back to the original way of doing things.
#104
@Nikolai558
Copy link
Owner

Added / Fixed in version 0.8.1

Pulls WX stations from Vatsim Metar Website. We might want to try this for a while and see if it is working properly....

@Nikolai558 Nikolai558 added Complete Fixed/Added in the next release and removed bug Something isn't working labels Aug 3, 2021
@Nikolai558 Nikolai558 mentioned this issue Aug 4, 2021
@Nikolai558
Copy link
Owner

Keep Issue open for a while.

@KSanders7070
Copy link
Collaborator Author

KSanders7070 commented Oct 20, 2021

Foundational Data:

  • Find all of the METAR stations from https://metar.vatsim.net/metar.php?id=all that also match with the NOAA_METAR_STATION list and print them to a METAR_MASTER list.

  • Create a STATION_HISTORY list that matches the METAR_MASTER list but comma separated with the current date/time as the second item.

Normal Run:

Ideally, the following script would run once an hour, on the half hour (30min) mark:

  • Make a duplicate METAR_MASTER list to be used in case of an unexpected crash or corrupt resource file.

  • Print all station IDs from the NOAA METAR station site to the NOAA_METAR_STATION list.

  • Print all the station IDs from https://metar.vatsim.net/metar.php?id=all that match with an ID from the NOAA_METAR_STATION list to a NOAA_VATSIM_TEMP list.

  • Every station ID that was printed to the NOAA_VATSIM_TEMP list, should be cross referenced with the STATION_HISTORY list. If the station ID is found in the STATION_HISTORY list, then the date/time will be replaced with the current data/time. If the station ID was not found in the STATION_HISTORY list, then the station ID should be added to the STATION_HISTORY list with the current date/time.

  • Clear the METAR_MASTER list.

  • Read the STATION_HISTORY list. For every station that has a date/time reading less than 28 days, print that station ID to the METAR_MASTER list.

  • Print the METAR_MASTER list to a resource file on the GitHub repo.

Note: NASR2SCT should pull from the METAR_MASTER list for a source of station IDs to look for.

@KSanders7070 KSanders7070 added bug Something isn't working and removed Complete Fixed/Added in the next release Waiting labels Nov 3, 2021
@KSanders7070
Copy link
Collaborator Author

UDPATE:
We are going to utilize this source for the wx stations from now on: https://w1.weather.gov/xml/current_obs/index.xml

@Nikolai558 Nikolai558 added Complete Fixed/Added in the next release Waiting labels Nov 3, 2021
@Nikolai558
Copy link
Owner

Fixed / Added 0.8.3

@Nikolai558 Nikolai558 removed the bug Something isn't working label Nov 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Complete Fixed/Added in the next release Waiting
Projects
None yet
Development

No branches or pull requests

2 participants