Difference between revisions of "Parse RSS Feeds from NHC"

From Jay's Cafe' Wiki
m
m
Line 22: Line 22:
</pre>
</pre>
# Download RSS
# Download RSS
# Parse looking for link to Forecast Discussion
# Parse looking for link to Forecast Discussion <pre>result=`grep -A 3 Discussion *.xml | grep link`</pre>
# Retrieve Discussion
# Retrieve Discussion
# Parse for Track and Strength Data
# Parse for Track and Strength Data

Revision as of 04:02, 10 September 2019

RSS URLs from NOAA

# Atlantic Wallets
https://www.nhc.noaa.gov/nhc_at1.xml
https://www.nhc.noaa.gov/nhc_at2.xml
https://www.nhc.noaa.gov/nhc_at3.xml
https://www.nhc.noaa.gov/nhc_at4.xml
https://www.nhc.noaa.gov/nhc_at5.xml
# Eastern Pacific Wallets
https://www.nhc.noaa.gov/nhc_ep1.xml
https://www.nhc.noaa.gov/nhc_ep2.xml
https://www.nhc.noaa.gov/nhc_ep3.xml
https://www.nhc.noaa.gov/nhc_ep4.xml
https://www.nhc.noaa.gov/nhc_ep5.xml
# Central Pacific Wallets
https://www.nhc.noaa.gov/nhc_cp1.xml
https://www.nhc.noaa.gov/nhc_cp2.xml
https://www.nhc.noaa.gov/nhc_cp3.xml
https://www.nhc.noaa.gov/nhc_cp4.xml
https://www.nhc.noaa.gov/nhc_cp5.xml
  1. Download RSS
  2. Parse looking for link to Forecast Discussion
    result=`grep -A 3 Discussion *.xml | grep link`
  3. Retrieve Discussion
  4. Parse for Track and Strength Data
  5. Format file as needed for track data
  6. Generate tracking map and email-post to hurricanes.jayscafe.net (combine multiple storms into one post?)
  • Need to find a resource for South Pacific, North and South Indian Oceans.