Weather: Difference between revisions

From Public wiki of Kevin P. Inscoe
Jump to navigation Jump to search
Line 15: Line 15:
The text only HWO for MRX is at http://forecast.weather.gov/product.php?site=NWS&issuedby=MRX&product=HWO&format=txt&version=1&glossary=0
The text only HWO for MRX is at http://forecast.weather.gov/product.php?site=NWS&issuedby=MRX&product=HWO&format=txt&version=1&glossary=0


Notice the "issuedby=" in the URL. That is where you would put in the code for your local forecast office. Forecast offices nearest you and their codes can be found at  
Notice the "issuedby=" in the URL. That is where you would put in the code for your local forecast office. Forecast offices nearest you and their codes can be found at http://www.srh.noaa.gov/jetstream/nws/wfos.html.


The output of the script is sent to via email daily at 7:30am.  
The output of the script is sent to via email daily at 7:30am.  

Revision as of 17:43, 23 February 2017

This site is being migrated from my previous wiki at http://ke3vin.org/pmwiki.php/Main/Weather

Skywarn

I am a trained Skywarn spotter. See What is Skywarn for more information.

Here is a script I use to alert me on days that spotter activation may be required based on the NWS HWO product for my forecast office (WFO).

The HWO or Hazardous Weather Outlook is created daily by your local forecast office. Since I spend 90% of my time in Deltona, Florida and 10% in Greeneville, TN I monitor both offices statements.

The two office I monitor are Melbourne, FL coded as "MLB" at http://www.weather.gov/mlb/ and Morristown, TN coded as "MRX" at http://www.weather.gov/mrx/.

The text only HWO for MLB is at http://forecast.weather.gov/product.php?site=NWS&issuedby=MLB&product=HWO&format=txt&version=1&glossary=0.

The text only HWO for MRX is at http://forecast.weather.gov/product.php?site=NWS&issuedby=MRX&product=HWO&format=txt&version=1&glossary=0

Notice the "issuedby=" in the URL. That is where you would put in the code for your local forecast office. Forecast offices nearest you and their codes can be found at http://www.srh.noaa.gov/jetstream/nws/wfos.html.

The output of the script is sent to via email daily at 7:30am.

The script:

#/bin/bash

for WFO in MLB MRX
do
   echo "HWO statement for $WFO..."
   echo " "
   URL="http://forecast.weather.gov/product.php?site=NWS&issuedby=`echo $WFO`&product=HWO&format=txt&version=1&glossary=0"
   curl -s "$URL" | html2text | grep -i "Spotter activation"
   echo " "
   echo "For full outlook click on $URL"
   echo " "
done

The output which I will see in email:

./nws_spotter_activation.sh 
HWO statement for MLB...
 
Spotter activation will not be needed today.
 
For full outlook click on http://forecast.weather.gov/product.php?site=NWS&issuedby=MLB&product=HWO&format=txt&version=1&glossary=0
 
HWO statement for MRX...
 
Spotter activation will be needed Friday night into early
 
For full outlook click on http://forecast.weather.gov/product.php?site=NWS&issuedby=MRX&product=HWO&format=txt&version=1&glossary=0
 

This could also be sent to Twitter or other such alerting media.

Observation

Reporting

Forecast