marinawheel-pages
Red Lodge Mountain

Snow Sensor Test Page

snow sensor data:

Test with static html

Base

location:base
mypath:
the ID: " 2554
sensor url: |http://border.redlodgemountain.com:8005/?command=NewestRecord&table=Public|

sensor settings :Array ( [sensor_url] => http://border.redlodgemountain.com:8005/?command=NewestRecord&table=Public [quality_metric_min] => 150 [quality_metric_max] => 210 )
Array ( [BattV] => 13.50043 [PTemp_C] => 17.66486 [PTemp_F] => 63.79674 [WindSpeed] => 0.6576 [WindDir] => 107.3571 [stringWindDir] => "E" [WindChillCelcius] => 63.79674 [WindChillFarenheit] => 63.79674 )
Fresh Sensor Data

Q out of range, using instead of as last good snow reading
New Snow: 0
Temp: 64
Wind:
Quality Value:
Quality Metric:
WindSpeed: 0.4384
WindSpeed Avg:
stringWindDir: "E"

Mid Mountain

location:mid-mountain
mypath:
the ID: " 2553
sensor url: |http://166.167.241.76:8094/?command=NewestRecord&table=Public|

sensor settings :Array ( [sensor_url] => http://166.167.241.76:8094/?command=NewestRecord&table=Public [quality_metric_min] => 150 [quality_metric_max] => 210 )
Array ( )
Fresh Sensor Data

New Snow: 0
Temp: 0
Wind:
Quality Value:
Quality Metric:
WindSpeed:
WindSpeed Avg:
stringWindDir:

noaa weather

Location slug: " red-lodgethe ID: " 2552
feed url: |https://forecast.weather.gov/MapClick.php?lat=45.1902223&lon=-109.3507143&unit=0&lg=english&FcstType=dwml|

fresh array
SimpleXMLElement Object ( [@attributes] => Array ( [version] => 1.0 ) [head] => SimpleXMLElement Object ( [product] => SimpleXMLElement Object ( [@attributes] => Array ( [concise-name] => dwmlByDay [operational-mode] => developmental [srsName] => WGS 1984 ) [creation-date] => 2019-07-16T15:46:57-06:00 [category] => current observations and forecast ) [source] => SimpleXMLElement Object ( [production-center] => Billings, MT [credit] => https://www.weather.gov/byz [more-information] => http://www.nws.noaa.gov/forecasts/xml/ ) ) [data] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast ) [location] => SimpleXMLElement Object ( [location-key] => point1 [point] => SimpleXMLElement Object ( [@attributes] => Array ( [latitude] => 45.2 [longitude] => -109.35 ) ) [area-description] => 5 Miles W Red Lodge MT [height] => 7395 ) [moreWeatherInformation] => http://forecast.weather.gov/MapClick.php?lat=45.2&lon=-109.35 [time-layout] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p6h-n1-1 [start-valid-time] => 2019-07-16T17:00:00-06:00 [end-valid-time] => 2019-07-23T18:00:00-06:00 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p12h-n15-1 [start-valid-time] => Array ( [0] => 2019-07-16T17:00:00-06:00 [1] => 2019-07-16T18:00:00-06:00 [2] => 2019-07-17T06:00:00-06:00 [3] => 2019-07-17T18:00:00-06:00 [4] => 2019-07-18T06:00:00-06:00 [5] => 2019-07-18T18:00:00-06:00 [6] => 2019-07-19T06:00:00-06:00 [7] => 2019-07-19T18:00:00-06:00 [8] => 2019-07-20T06:00:00-06:00 [9] => 2019-07-20T18:00:00-06:00 [10] => 2019-07-21T06:00:00-06:00 [11] => 2019-07-21T18:00:00-06:00 [12] => 2019-07-22T06:00:00-06:00 [13] => 2019-07-22T18:00:00-06:00 [14] => 2019-07-23T06:00:00-06:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n8-1 [start-valid-time] => Array ( [0] => 2019-07-16T17:00:00-06:00 [1] => 2019-07-17T06:00:00-06:00 [2] => 2019-07-18T06:00:00-06:00 [3] => 2019-07-19T06:00:00-06:00 [4] => 2019-07-20T06:00:00-06:00 [5] => 2019-07-21T06:00:00-06:00 [6] => 2019-07-22T06:00:00-06:00 [7] => 2019-07-23T06:00:00-06:00 ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-2 [start-valid-time] => Array ( [0] => 2019-07-16T18:00:00-06:00 [1] => 2019-07-17T18:00:00-06:00 [2] => 2019-07-18T18:00:00-06:00 [3] => 2019-07-19T18:00:00-06:00 [4] => 2019-07-20T18:00:00-06:00 [5] => 2019-07-21T18:00:00-06:00 [6] => 2019-07-22T18:00:00-06:00 ) ) ) [parameters] => SimpleXMLElement Object ( [@attributes] => Array ( [applicable-location] => point1 ) [temperature] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => maximum [units] => Fahrenheit [time-layout] => k-p24h-n8-1 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 58 [1] => 64 [2] => 67 [3] => 65 [4] => 61 [5] => 63 [6] => 68 [7] => 71 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 47 [1] => 50 [2] => 48 [3] => 46 [4] => 45 [5] => 48 [6] => 52 ) ) ) [probability-of-precipitation] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => 12 hour [units] => percent [time-layout] => k-p12h-n15-1 ) [name] => 12 Hourly Probability of Precipitation [value] => Array ( [0] => 70 [1] => 70 [2] => 30 [3] => SimpleXMLElement Object ( ) [4] => SimpleXMLElement Object ( ) [5] => SimpleXMLElement Object ( ) [6] => SimpleXMLElement Object ( ) [7] => 20 [8] => 20 [9] => 20 [10] => 20 [11] => 20 [12] => 20 [13] => 20 [14] => SimpleXMLElement Object ( ) ) ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n15-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Severe Thunderstorms ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Severe Thunderstorms ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance T-storms ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms then Mostly Clear ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [14] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny then Chance T-storms ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p12h-n15-1 ) [name] => Conditions Icon [icon-link] => Array ( [0] => http://forecast.weather.gov/newimages/medium/tsra70.png [1] => http://forecast.weather.gov/newimages/medium/ntsra70.png [2] => http://forecast.weather.gov/newimages/medium/hi_tsra30.png [3] => http://forecast.weather.gov/newimages/medium/nsct.png [4] => http://forecast.weather.gov/newimages/medium/few.png [5] => http://forecast.weather.gov/newimages/medium/nfew.png [6] => http://forecast.weather.gov/newimages/medium/few.png [7] => http://forecast.weather.gov/newimages/medium/hi_ntsra20.png [8] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 [9] => http://forecast.weather.gov/newimages/medium/hi_ntsra20.png [10] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 [11] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 [12] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 [13] => http://forecast.weather.gov/newimages/medium/hi_ntsra20.png [14] => http://forecast.weather.gov/DualImage.php?i=sct&j=hi_tsra&jp=0 ) ) [hazards] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p6h-n1-1 ) [name] => Watches, Warnings, and Advisories [hazard-conditions] => SimpleXMLElement Object ( [hazard] => SimpleXMLElement Object ( [@attributes] => Array ( [headline] => Severe Thunderstorm Watch ) [hazardTextURL] => http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Severe+Thunderstorm+Watch ) ) ) [wordedForecast] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n15-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => Showers and thunderstorms likely. Some storms could be severe, with large hail, damaging winds, and heavy rain. Mostly cloudy, with a steady temperature around 58. North northeast wind around 7 mph. Chance of precipitation is 70%. [1] => Showers and thunderstorms likely, mainly before 1am. Some storms could be severe, with large hail, damaging winds, and heavy rain. Mostly cloudy, with a low around 47. North wind 6 to 10 mph becoming west after midnight. Chance of precipitation is 70%. [2] => A 30 percent chance of showers and thunderstorms, mainly before 1pm. Mostly sunny, with a high near 64. West southwest wind 5 to 7 mph becoming calm in the morning. [3] => Partly cloudy, with a low around 50. Northwest wind 5 to 13 mph becoming west southwest after midnight. [4] => Sunny, with a high near 67. West wind 9 to 17 mph. [5] => Mostly clear, with a low around 48. [6] => Sunny, with a high near 65. [7] => A slight chance of showers and thunderstorms between 7pm and 1am. Partly cloudy, with a low around 46. Chance of precipitation is 20%. [8] => A 20 percent chance of showers and thunderstorms after 1pm. Sunny, with a high near 61. [9] => A 20 percent chance of showers and thunderstorms before 1am. Mostly clear, with a low around 45. [10] => A 20 percent chance of showers and thunderstorms. Sunny, with a high near 63. [11] => A 20 percent chance of showers and thunderstorms. Mostly clear, with a low around 48. [12] => A 20 percent chance of showers and thunderstorms. Sunny, with a high near 68. [13] => A 20 percent chance of showers and thunderstorms. Partly cloudy, with a low around 52. [14] => A chance of showers and thunderstorms. Mostly sunny, with a high near 71. ) ) ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => current observations ) [location] => SimpleXMLElement Object ( [location-key] => point1 [point] => SimpleXMLElement Object ( [@attributes] => Array ( [latitude] => 45.156944 [longitude] => -109.360556 ) ) [area-description] => TIMBERCREST, MT [height] => 6400 ) [moreWeatherInformation] => https://www.wrh.noaa.gov/total_forecast/other_obs.php?wfo=byz&zone=MTZ067 [time-layout] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local ) [layout-key] => k-p1h-n1-1 [start-valid-time] => 2019-07-16T16:15:00 ) [parameters] => SimpleXMLElement Object ( [@attributes] => Array ( [applicable-location] => point1 ) [temperature] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => apparent [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 59 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 56 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 89 ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p1h-n1-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => NA ) ) [1] => SimpleXMLElement Object ( [value] => SimpleXMLElement Object ( [visibility] => NA ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p1h-n1-1 ) [name] => Conditions Icon [icon-link] => NULL ) [direction] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => wind [units] => degrees true [time-layout] => k-p1h-n1-1 ) [value] => 150 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 12 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => sustained [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 2 ) ) [pressure] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => barometer [units] => inches of mercury [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) ) ) )
fresh data string: 2019-07-16T15:46:57-06:00 current observations and forecast Billings, MT https://www.weather.gov/byz http://www.nws.noaa.gov/forecasts/xml/ point1 5 Miles W Red Lodge MT 7395 http://forecast.weather.gov/MapClick.php?lat=45.2&lon=-109.35 k-p6h-n1-1 2019-07-16T17:00:00-06:00 2019-07-23T18:00:00-06:00 k-p12h-n15-1 2019-07-16T17:00:00-06:00 2019-07-16T18:00:00-06:00 2019-07-17T06:00:00-06:00 2019-07-17T18:00:00-06:00 2019-07-18T06:00:00-06:00 2019-07-18T18:00:00-06:00 2019-07-19T06:00:00-06:00 2019-07-19T18:00:00-06:00 2019-07-20T06:00:00-06:00 2019-07-20T18:00:00-06:00 2019-07-21T06:00:00-06:00 2019-07-21T18:00:00-06:00 2019-07-22T06:00:00-06:00 2019-07-22T18:00:00-06:00 2019-07-23T06:00:00-06:00 k-p24h-n8-1 2019-07-16T17:00:00-06:00 2019-07-17T06:00:00-06:00 2019-07-18T06:00:00-06:00 2019-07-19T06:00:00-06:00 2019-07-20T06:00:00-06:00 2019-07-21T06:00:00-06:00 2019-07-22T06:00:00-06:00 2019-07-23T06:00:00-06:00 k-p24h-n7-2 2019-07-16T18:00:00-06:00 2019-07-17T18:00:00-06:00 2019-07-18T18:00:00-06:00 2019-07-19T18:00:00-06:00 2019-07-20T18:00:00-06:00 2019-07-21T18:00:00-06:00 2019-07-22T18:00:00-06:00 Daily Maximum Temperature 58 64 67 65 61 63 68 71 Daily Minimum Temperature 47 50 48 46 45 48 52 12 Hourly Probability of Precipitation 70 70 30 20 20 20 20 20 20 20 Weather Type, Coverage, Intensity Conditions Icon http://forecast.weather.gov/newimages/medium/tsra70.png http://forecast.weather.gov/newimages/medium/ntsra70.png http://forecast.weather.gov/newimages/medium/hi_tsra30.png http://forecast.weather.gov/newimages/medium/nsct.png http://forecast.weather.gov/newimages/medium/few.png http://forecast.weather.gov/newimages/medium/nfew.png http://forecast.weather.gov/newimages/medium/few.png http://forecast.weather.gov/newimages/medium/hi_ntsra20.png http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 http://forecast.weather.gov/newimages/medium/hi_ntsra20.png http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 http://forecast.weather.gov/newimages/medium/hi_ntsra20.png http://forecast.weather.gov/DualImage.php?i=sct&j=hi_tsra&jp=0 Watches, Warnings, and Advisories http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Severe+Thunderstorm+Watch Text Forecast Showers and thunderstorms likely. Some storms could be severe, with large hail, damaging winds, and heavy rain. Mostly cloudy, with a steady temperature around 58. North northeast wind around 7 mph. Chance of precipitation is 70%. Showers and thunderstorms likely, mainly before 1am. Some storms could be severe, with large hail, damaging winds, and heavy rain. Mostly cloudy, with a low around 47. North wind 6 to 10 mph becoming west after midnight. Chance of precipitation is 70%. A 30 percent chance of showers and thunderstorms, mainly before 1pm. Mostly sunny, with a high near 64. West southwest wind 5 to 7 mph becoming calm in the morning. Partly cloudy, with a low around 50. Northwest wind 5 to 13 mph becoming west southwest after midnight. Sunny, with a high near 67. West wind 9 to 17 mph. Mostly clear, with a low around 48. Sunny, with a high near 65. A slight chance of showers and thunderstorms between 7pm and 1am. Partly cloudy, with a low around 46. Chance of precipitation is 20%. A 20 percent chance of showers and thunderstorms after 1pm. Sunny, with a high near 61. A 20 percent chance of showers and thunderstorms before 1am. Mostly clear, with a low around 45. A 20 percent chance of showers and thunderstorms. Sunny, with a high near 63. A 20 percent chance of showers and thunderstorms. Mostly clear, with a low around 48. A 20 percent chance of showers and thunderstorms. Sunny, with a high near 68. A 20 percent chance of showers and thunderstorms. Partly cloudy, with a low around 52. A chance of showers and thunderstorms. Mostly sunny, with a high near 71. point1 TIMBERCREST, MT 6400 https://www.wrh.noaa.gov/total_forecast/other_obs.php?wfo=byz&zone=MTZ067 k-p1h-n1-1 2019-07-16T16:15:00 59 56 89 Weather Type, Coverage, Intensity NA Conditions Icon NULL 150 12 2 NA
weather array:
SimpleXMLElement Object ( [@attributes] => Array ( [version] => 1.0 ) [head] => SimpleXMLElement Object ( [product] => SimpleXMLElement Object ( [@attributes] => Array ( [concise-name] => dwmlByDay [operational-mode] => developmental [srsName] => WGS 1984 ) [creation-date] => 2019-07-16T15:46:57-06:00 [category] => current observations and forecast ) [source] => SimpleXMLElement Object ( [production-center] => Billings, MT [credit] => https://www.weather.gov/byz [more-information] => http://www.nws.noaa.gov/forecasts/xml/ ) ) [data] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast ) [location] => SimpleXMLElement Object ( [location-key] => point1 [point] => SimpleXMLElement Object ( [@attributes] => Array ( [latitude] => 45.2 [longitude] => -109.35 ) ) [area-description] => 5 Miles W Red Lodge MT [height] => 7395 ) [moreWeatherInformation] => http://forecast.weather.gov/MapClick.php?lat=45.2&lon=-109.35 [time-layout] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p6h-n1-1 [start-valid-time] => 2019-07-16T17:00:00-06:00 [end-valid-time] => 2019-07-23T18:00:00-06:00 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p12h-n15-1 [start-valid-time] => Array ( [0] => 2019-07-16T17:00:00-06:00 [1] => 2019-07-16T18:00:00-06:00 [2] => 2019-07-17T06:00:00-06:00 [3] => 2019-07-17T18:00:00-06:00 [4] => 2019-07-18T06:00:00-06:00 [5] => 2019-07-18T18:00:00-06:00 [6] => 2019-07-19T06:00:00-06:00 [7] => 2019-07-19T18:00:00-06:00 [8] => 2019-07-20T06:00:00-06:00 [9] => 2019-07-20T18:00:00-06:00 [10] => 2019-07-21T06:00:00-06:00 [11] => 2019-07-21T18:00:00-06:00 [12] => 2019-07-22T06:00:00-06:00 [13] => 2019-07-22T18:00:00-06:00 [14] => 2019-07-23T06:00:00-06:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n8-1 [start-valid-time] => Array ( [0] => 2019-07-16T17:00:00-06:00 [1] => 2019-07-17T06:00:00-06:00 [2] => 2019-07-18T06:00:00-06:00 [3] => 2019-07-19T06:00:00-06:00 [4] => 2019-07-20T06:00:00-06:00 [5] => 2019-07-21T06:00:00-06:00 [6] => 2019-07-22T06:00:00-06:00 [7] => 2019-07-23T06:00:00-06:00 ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-2 [start-valid-time] => Array ( [0] => 2019-07-16T18:00:00-06:00 [1] => 2019-07-17T18:00:00-06:00 [2] => 2019-07-18T18:00:00-06:00 [3] => 2019-07-19T18:00:00-06:00 [4] => 2019-07-20T18:00:00-06:00 [5] => 2019-07-21T18:00:00-06:00 [6] => 2019-07-22T18:00:00-06:00 ) ) ) [parameters] => SimpleXMLElement Object ( [@attributes] => Array ( [applicable-location] => point1 ) [temperature] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => maximum [units] => Fahrenheit [time-layout] => k-p24h-n8-1 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 58 [1] => 64 [2] => 67 [3] => 65 [4] => 61 [5] => 63 [6] => 68 [7] => 71 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 47 [1] => 50 [2] => 48 [3] => 46 [4] => 45 [5] => 48 [6] => 52 ) ) ) [probability-of-precipitation] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => 12 hour [units] => percent [time-layout] => k-p12h-n15-1 ) [name] => 12 Hourly Probability of Precipitation [value] => Array ( [0] => 70 [1] => 70 [2] => 30 [3] => SimpleXMLElement Object ( ) [4] => SimpleXMLElement Object ( ) [5] => SimpleXMLElement Object ( ) [6] => SimpleXMLElement Object ( ) [7] => 20 [8] => 20 [9] => 20 [10] => 20 [11] => 20 [12] => 20 [13] => 20 [14] => SimpleXMLElement Object ( ) ) ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n15-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Severe Thunderstorms ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Severe Thunderstorms ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance T-storms ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms then Mostly Clear ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [14] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny then Chance T-storms ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p12h-n15-1 ) [name] => Conditions Icon [icon-link] => Array ( [0] => http://forecast.weather.gov/newimages/medium/tsra70.png [1] => http://forecast.weather.gov/newimages/medium/ntsra70.png [2] => http://forecast.weather.gov/newimages/medium/hi_tsra30.png [3] => http://forecast.weather.gov/newimages/medium/nsct.png [4] => http://forecast.weather.gov/newimages/medium/few.png [5] => http://forecast.weather.gov/newimages/medium/nfew.png [6] => http://forecast.weather.gov/newimages/medium/few.png [7] => http://forecast.weather.gov/newimages/medium/hi_ntsra20.png [8] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 [9] => http://forecast.weather.gov/newimages/medium/hi_ntsra20.png [10] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 [11] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 [12] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=20 [13] => http://forecast.weather.gov/newimages/medium/hi_ntsra20.png [14] => http://forecast.weather.gov/DualImage.php?i=sct&j=hi_tsra&jp=0 ) ) [hazards] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p6h-n1-1 ) [name] => Watches, Warnings, and Advisories [hazard-conditions] => SimpleXMLElement Object ( [hazard] => SimpleXMLElement Object ( [@attributes] => Array ( [headline] => Severe Thunderstorm Watch ) [hazardTextURL] => http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Severe+Thunderstorm+Watch ) ) ) [wordedForecast] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n15-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => Showers and thunderstorms likely. Some storms could be severe, with large hail, damaging winds, and heavy rain. Mostly cloudy, with a steady temperature around 58. North northeast wind around 7 mph. Chance of precipitation is 70%. [1] => Showers and thunderstorms likely, mainly before 1am. Some storms could be severe, with large hail, damaging winds, and heavy rain. Mostly cloudy, with a low around 47. North wind 6 to 10 mph becoming west after midnight. Chance of precipitation is 70%. [2] => A 30 percent chance of showers and thunderstorms, mainly before 1pm. Mostly sunny, with a high near 64. West southwest wind 5 to 7 mph becoming calm in the morning. [3] => Partly cloudy, with a low around 50. Northwest wind 5 to 13 mph becoming west southwest after midnight. [4] => Sunny, with a high near 67. West wind 9 to 17 mph. [5] => Mostly clear, with a low around 48. [6] => Sunny, with a high near 65. [7] => A slight chance of showers and thunderstorms between 7pm and 1am. Partly cloudy, with a low around 46. Chance of precipitation is 20%. [8] => A 20 percent chance of showers and thunderstorms after 1pm. Sunny, with a high near 61. [9] => A 20 percent chance of showers and thunderstorms before 1am. Mostly clear, with a low around 45. [10] => A 20 percent chance of showers and thunderstorms. Sunny, with a high near 63. [11] => A 20 percent chance of showers and thunderstorms. Mostly clear, with a low around 48. [12] => A 20 percent chance of showers and thunderstorms. Sunny, with a high near 68. [13] => A 20 percent chance of showers and thunderstorms. Partly cloudy, with a low around 52. [14] => A chance of showers and thunderstorms. Mostly sunny, with a high near 71. ) ) ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => current observations ) [location] => SimpleXMLElement Object ( [location-key] => point1 [point] => SimpleXMLElement Object ( [@attributes] => Array ( [latitude] => 45.156944 [longitude] => -109.360556 ) ) [area-description] => TIMBERCREST, MT [height] => 6400 ) [moreWeatherInformation] => https://www.wrh.noaa.gov/total_forecast/other_obs.php?wfo=byz&zone=MTZ067 [time-layout] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local ) [layout-key] => k-p1h-n1-1 [start-valid-time] => 2019-07-16T16:15:00 ) [parameters] => SimpleXMLElement Object ( [@attributes] => Array ( [applicable-location] => point1 ) [temperature] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => apparent [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 59 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 56 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 89 ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p1h-n1-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => NA ) ) [1] => SimpleXMLElement Object ( [value] => SimpleXMLElement Object ( [visibility] => NA ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p1h-n1-1 ) [name] => Conditions Icon [icon-link] => NULL ) [direction] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => wind [units] => degrees true [time-layout] => k-p1h-n1-1 ) [value] => 150 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 12 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => sustained [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 2 ) ) [pressure] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => barometer [units] => inches of mercury [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) ) ) )