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

Update etl.py for ETL from radio station sources #1

Open
hammad93 opened this issue May 13, 2024 · 6 comments
Open

Update etl.py for ETL from radio station sources #1

hammad93 opened this issue May 13, 2024 · 6 comments

Comments

@hammad93
Copy link
Contributor

This can be closed when the Python file has the ability to return structured data from the unstructured data sources below,

https://www.weather.gov/nwr/station_search
https://radio-locator.com/
https://short-wave.info/index.php
@hammad93
Copy link
Contributor Author

https://github.com/fluids-ai/weather_radio_locator/tree/scrape
This branch was created to track changes associated with the issue.

@hammad93
Copy link
Contributor Author

Currently, all NOAA stations according to the station_search are in this JSON file,

https://www.weather.gov/source/nwr/JS/xmitter.js

Using lat and lon, we can create a function that finds the nearest station ourselves

@hammad93
Copy link
Contributor Author

@hammad93
Copy link
Contributor Author

POST request to get all English stations, https://www.short-wave.info/index.php

station=Any Station
language=English
now=03
now2=43
GMT=true
submit=GO
mobile=false

@hammad93 hammad93 changed the title Update scrape.py for ETL from radio station sources Update etl.py for ETL from radio station sources May 13, 2024
@hammad93
Copy link
Contributor Author

Currently, all NOAA stations according to the station_search are in this JSON file,

https://www.weather.gov/source/nwr/JS/xmitter.js

Using lat and lon, we can create a function that finds the nearest station ourselves

This does not include the band information. It is available from further webscraping here, https://www.weather.gov/nwr/sites?site=KZZ31 by replacing the site variable with the index from xmitter.js. This link can be included in the metadata.

@hammad93
Copy link
Contributor Author

hammad93 commented May 13, 2024

POST request to get all English stations, https://www.short-wave.info/index.php

station=Any Station language=English now=03 now2=43 GMT=true submit=GO mobile=false

Latitude and longitude are included in the data for each station. The default API does not search by location but we can use the same method that we use for the NOAA weather bands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant