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.85762 [PTemp_C] => 4.427906 [PTemp_F] => 39.97023 [WindSpeed] => 8.9872 [WindDir] => 271.0064 [stringWindDir] => "W" [WindChillCelcius] => 34.06264 [WindChillFarenheit] => 34.06264 )
Fresh Sensor Data

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

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-05-24T20:22:20-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-p12h-n14-1 [start-valid-time] => Array ( [0] => 2019-05-25T00:00:00-06:00 [1] => 2019-05-25T06:00:00-06:00 [2] => 2019-05-25T18:00:00-06:00 [3] => 2019-05-26T06:00:00-06:00 [4] => 2019-05-26T18:00:00-06:00 [5] => 2019-05-27T06:00:00-06:00 [6] => 2019-05-27T18:00:00-06:00 [7] => 2019-05-28T06:00:00-06:00 [8] => 2019-05-28T18:00:00-06:00 [9] => 2019-05-29T06:00:00-06:00 [10] => 2019-05-29T18:00:00-06:00 [11] => 2019-05-30T06:00:00-06:00 [12] => 2019-05-30T18:00:00-06:00 [13] => 2019-05-31T06:00:00-06:00 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-1 [start-valid-time] => Array ( [0] => 2019-05-25T00:00:00-06:00 [1] => 2019-05-25T18:00:00-06:00 [2] => 2019-05-26T18:00:00-06:00 [3] => 2019-05-27T18:00:00-06:00 [4] => 2019-05-28T18:00:00-06:00 [5] => 2019-05-29T18:00:00-06:00 [6] => 2019-05-30T18:00:00-06:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-2 [start-valid-time] => Array ( [0] => 2019-05-25T06:00:00-06:00 [1] => 2019-05-26T06:00:00-06:00 [2] => 2019-05-27T06:00:00-06:00 [3] => 2019-05-28T06:00:00-06:00 [4] => 2019-05-29T06:00:00-06:00 [5] => 2019-05-30T06:00:00-06:00 [6] => 2019-05-31T06:00:00-06:00 ) ) ) [parameters] => SimpleXMLElement Object ( [@attributes] => Array ( [applicable-location] => point1 ) [temperature] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n7-1 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 33 [1] => 37 [2] => 37 [3] => 34 [4] => 34 [5] => 38 [6] => 40 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => maximum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 51 [1] => 51 [2] => 41 [3] => 46 [4] => 53 [5] => 55 [6] => 54 ) ) ) [probability-of-precipitation] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => 12 hour [units] => percent [time-layout] => k-p12h-n14-1 ) [name] => 12 Hourly Probability of Precipitation [value] => Array ( [0] => 30 [1] => 50 [2] => 50 [3] => 80 [4] => 80 [5] => 70 [6] => 70 [7] => 50 [8] => SimpleXMLElement Object ( ) [9] => 20 [10] => 20 [11] => 30 [12] => 30 [13] => 40 ) ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n14-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Scattered Rain/Snow ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny then Chance Showers ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Showers then Chance Rain/Snow ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then T-storms ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => T-storms then Rain/Snow ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow Likely ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow Likely then Chance Snow Showers ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then Slight Chance Rain/Snow ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Sunny then Slight Chance T-storms ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance Showers then Chance T-storms ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance T-storms ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Showers ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p12h-n14-1 ) [name] => Conditions Icon [icon-link] => Array ( [0] => http://forecast.weather.gov/newimages/medium/nra_sn30.png [1] => http://forecast.weather.gov/DualImage.php?i=sct&j=shra&jp=50 [2] => http://forecast.weather.gov/DualImage.php?i=nshra&j=nra_sn&ip=50&jp=30 [3] => http://forecast.weather.gov/DualImage.php?i=ra_sn&j=tsra&ip=40&jp=80 [4] => http://forecast.weather.gov/DualImage.php?i=ntsra&j=nra_sn&ip=80&jp=80 [5] => http://forecast.weather.gov/newimages/medium/ra_sn70.png [6] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=70&jp=50 [7] => http://forecast.weather.gov/DualImage.php?i=ra_sn&j=ra_sn&ip=50&jp=20 [8] => http://forecast.weather.gov/newimages/medium/nsct.png [9] => http://forecast.weather.gov/DualImage.php?i=bkn&j=scttsra&jp=20 [10] => http://forecast.weather.gov/newimages/medium/nscttsra20.png [11] => http://forecast.weather.gov/DualImage.php?i=shra&j=scttsra&ip=20&jp=30 [12] => http://forecast.weather.gov/newimages/medium/nscttsra30.png [13] => http://forecast.weather.gov/newimages/medium/shra40.png ) ) [hazards] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => ) [name] => Watches, Warnings, and Advisories [hazard-conditions] => SimpleXMLElement Object ( [hazard] => SimpleXMLElement Object ( [@attributes] => Array ( [headline] => Hazardous Weather Outlook ) [hazardTextURL] => http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Hazardous+Weather+Outlook ) ) ) [wordedForecast] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n14-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => Scattered rain and snow showers before 1am. Mostly cloudy, with a low around 33. South southwest wind around 10 mph. Chance of precipitation is 30%. Little or no snow accumulation expected. [1] => A 50 percent chance of showers and thunderstorms after 1pm. Partly sunny, with a high near 51. South southeast wind 5 to 13 mph. [2] => A chance of rain showers before 1am, then a slight chance of rain and snow showers. Some thunder is also possible. Mostly cloudy, with a low around 37. South southeast wind 8 to 14 mph becoming southwest after midnight. Chance of precipitation is 50%. Little or no snow accumulation expected. [3] => A slight chance of rain and snow showers before 7am, then rain showers. Some thunder is also possible. High near 51. Southwest wind 8 to 11 mph becoming east in the afternoon. Chance of precipitation is 80%. Little or no snow accumulation expected. [4] => Rain showers before 1am, then rain and snow showers likely. Some thunder is also possible. Low around 37. East wind 11 to 15 mph becoming north in the evening. Chance of precipitation is 80%. New snow accumulation of less than one inch possible. [5] => Rain and snow showers likely. Cloudy, with a high near 41. Chance of precipitation is 70%. New snow accumulation of around an inch possible. [6] => Rain and snow showers likely before 7pm, then a chance of snow showers. Mostly cloudy, with a low around 34. Chance of precipitation is 70%. New snow accumulation of around an inch possible. [7] => A chance of snow showers, possibly mixing with rain after 7am, then gradually ending. Partly sunny, with a high near 46. Chance of precipitation is 50%. [8] => Partly cloudy, with a low around 34. [9] => A 20 percent chance of showers and thunderstorms after 1pm. Partly sunny, with a high near 53. [10] => A 20 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 38. [11] => A 30 percent chance of showers and thunderstorms. Partly sunny, with a high near 55. [12] => A 30 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 40. [13] => A 40 percent chance of showers. Partly sunny, with a high near 54. ) ) ) ) [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-05-24T23: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] => 39 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 36 ) ) [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] => 303 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 6 ) [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-05-24T20:22:20-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-p12h-n14-1 2019-05-25T00:00:00-06:00 2019-05-25T06:00:00-06:00 2019-05-25T18:00:00-06:00 2019-05-26T06:00:00-06:00 2019-05-26T18:00:00-06:00 2019-05-27T06:00:00-06:00 2019-05-27T18:00:00-06:00 2019-05-28T06:00:00-06:00 2019-05-28T18:00:00-06:00 2019-05-29T06:00:00-06:00 2019-05-29T18:00:00-06:00 2019-05-30T06:00:00-06:00 2019-05-30T18:00:00-06:00 2019-05-31T06:00:00-06:00 k-p24h-n7-1 2019-05-25T00:00:00-06:00 2019-05-25T18:00:00-06:00 2019-05-26T18:00:00-06:00 2019-05-27T18:00:00-06:00 2019-05-28T18:00:00-06:00 2019-05-29T18:00:00-06:00 2019-05-30T18:00:00-06:00 k-p24h-n7-2 2019-05-25T06:00:00-06:00 2019-05-26T06:00:00-06:00 2019-05-27T06:00:00-06:00 2019-05-28T06:00:00-06:00 2019-05-29T06:00:00-06:00 2019-05-30T06:00:00-06:00 2019-05-31T06:00:00-06:00 Daily Minimum Temperature 33 37 37 34 34 38 40 Daily Maximum Temperature 51 51 41 46 53 55 54 12 Hourly Probability of Precipitation 30 50 50 80 80 70 70 50 20 20 30 30 40 Weather Type, Coverage, Intensity Conditions Icon http://forecast.weather.gov/newimages/medium/nra_sn30.png http://forecast.weather.gov/DualImage.php?i=sct&j=shra&jp=50 http://forecast.weather.gov/DualImage.php?i=nshra&j=nra_sn&ip=50&jp=30 http://forecast.weather.gov/DualImage.php?i=ra_sn&j=tsra&ip=40&jp=80 http://forecast.weather.gov/DualImage.php?i=ntsra&j=nra_sn&ip=80&jp=80 http://forecast.weather.gov/newimages/medium/ra_sn70.png http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=70&jp=50 http://forecast.weather.gov/DualImage.php?i=ra_sn&j=ra_sn&ip=50&jp=20 http://forecast.weather.gov/newimages/medium/nsct.png http://forecast.weather.gov/DualImage.php?i=bkn&j=scttsra&jp=20 http://forecast.weather.gov/newimages/medium/nscttsra20.png http://forecast.weather.gov/DualImage.php?i=shra&j=scttsra&ip=20&jp=30 http://forecast.weather.gov/newimages/medium/nscttsra30.png http://forecast.weather.gov/newimages/medium/shra40.png 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=Hazardous+Weather+Outlook Text Forecast Scattered rain and snow showers before 1am. Mostly cloudy, with a low around 33. South southwest wind around 10 mph. Chance of precipitation is 30%. Little or no snow accumulation expected. A 50 percent chance of showers and thunderstorms after 1pm. Partly sunny, with a high near 51. South southeast wind 5 to 13 mph. A chance of rain showers before 1am, then a slight chance of rain and snow showers. Some thunder is also possible. Mostly cloudy, with a low around 37. South southeast wind 8 to 14 mph becoming southwest after midnight. Chance of precipitation is 50%. Little or no snow accumulation expected. A slight chance of rain and snow showers before 7am, then rain showers. Some thunder is also possible. High near 51. Southwest wind 8 to 11 mph becoming east in the afternoon. Chance of precipitation is 80%. Little or no snow accumulation expected. Rain showers before 1am, then rain and snow showers likely. Some thunder is also possible. Low around 37. East wind 11 to 15 mph becoming north in the evening. Chance of precipitation is 80%. New snow accumulation of less than one inch possible. Rain and snow showers likely. Cloudy, with a high near 41. Chance of precipitation is 70%. New snow accumulation of around an inch possible. Rain and snow showers likely before 7pm, then a chance of snow showers. Mostly cloudy, with a low around 34. Chance of precipitation is 70%. New snow accumulation of around an inch possible. A chance of snow showers, possibly mixing with rain after 7am, then gradually ending. Partly sunny, with a high near 46. Chance of precipitation is 50%. Partly cloudy, with a low around 34. A 20 percent chance of showers and thunderstorms after 1pm. Partly sunny, with a high near 53. A 20 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 38. A 30 percent chance of showers and thunderstorms. Partly sunny, with a high near 55. A 30 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 40. A 40 percent chance of showers. Partly sunny, with a high near 54. point1 TIMBERCREST, MT 6400 https://www.wrh.noaa.gov/total_forecast/other_obs.php?wfo=byz&zone=MTZ067 k-p1h-n1-1 2019-05-24T23:15:00 39 36 89 Weather Type, Coverage, Intensity NA Conditions Icon NULL 303 6 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-05-24T20:22:20-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-p12h-n14-1 [start-valid-time] => Array ( [0] => 2019-05-25T00:00:00-06:00 [1] => 2019-05-25T06:00:00-06:00 [2] => 2019-05-25T18:00:00-06:00 [3] => 2019-05-26T06:00:00-06:00 [4] => 2019-05-26T18:00:00-06:00 [5] => 2019-05-27T06:00:00-06:00 [6] => 2019-05-27T18:00:00-06:00 [7] => 2019-05-28T06:00:00-06:00 [8] => 2019-05-28T18:00:00-06:00 [9] => 2019-05-29T06:00:00-06:00 [10] => 2019-05-29T18:00:00-06:00 [11] => 2019-05-30T06:00:00-06:00 [12] => 2019-05-30T18:00:00-06:00 [13] => 2019-05-31T06:00:00-06:00 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-1 [start-valid-time] => Array ( [0] => 2019-05-25T00:00:00-06:00 [1] => 2019-05-25T18:00:00-06:00 [2] => 2019-05-26T18:00:00-06:00 [3] => 2019-05-27T18:00:00-06:00 [4] => 2019-05-28T18:00:00-06:00 [5] => 2019-05-29T18:00:00-06:00 [6] => 2019-05-30T18:00:00-06:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-2 [start-valid-time] => Array ( [0] => 2019-05-25T06:00:00-06:00 [1] => 2019-05-26T06:00:00-06:00 [2] => 2019-05-27T06:00:00-06:00 [3] => 2019-05-28T06:00:00-06:00 [4] => 2019-05-29T06:00:00-06:00 [5] => 2019-05-30T06:00:00-06:00 [6] => 2019-05-31T06:00:00-06:00 ) ) ) [parameters] => SimpleXMLElement Object ( [@attributes] => Array ( [applicable-location] => point1 ) [temperature] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n7-1 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 33 [1] => 37 [2] => 37 [3] => 34 [4] => 34 [5] => 38 [6] => 40 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => maximum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 51 [1] => 51 [2] => 41 [3] => 46 [4] => 53 [5] => 55 [6] => 54 ) ) ) [probability-of-precipitation] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => 12 hour [units] => percent [time-layout] => k-p12h-n14-1 ) [name] => 12 Hourly Probability of Precipitation [value] => Array ( [0] => 30 [1] => 50 [2] => 50 [3] => 80 [4] => 80 [5] => 70 [6] => 70 [7] => 50 [8] => SimpleXMLElement Object ( ) [9] => 20 [10] => 20 [11] => 30 [12] => 30 [13] => 40 ) ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n14-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Scattered Rain/Snow ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny then Chance Showers ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Showers then Chance Rain/Snow ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then T-storms ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => T-storms then Rain/Snow ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow Likely ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow Likely then Chance Snow Showers ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then Slight Chance Rain/Snow ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Sunny then Slight Chance T-storms ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance Showers then Chance T-storms ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance T-storms ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Showers ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p12h-n14-1 ) [name] => Conditions Icon [icon-link] => Array ( [0] => http://forecast.weather.gov/newimages/medium/nra_sn30.png [1] => http://forecast.weather.gov/DualImage.php?i=sct&j=shra&jp=50 [2] => http://forecast.weather.gov/DualImage.php?i=nshra&j=nra_sn&ip=50&jp=30 [3] => http://forecast.weather.gov/DualImage.php?i=ra_sn&j=tsra&ip=40&jp=80 [4] => http://forecast.weather.gov/DualImage.php?i=ntsra&j=nra_sn&ip=80&jp=80 [5] => http://forecast.weather.gov/newimages/medium/ra_sn70.png [6] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=70&jp=50 [7] => http://forecast.weather.gov/DualImage.php?i=ra_sn&j=ra_sn&ip=50&jp=20 [8] => http://forecast.weather.gov/newimages/medium/nsct.png [9] => http://forecast.weather.gov/DualImage.php?i=bkn&j=scttsra&jp=20 [10] => http://forecast.weather.gov/newimages/medium/nscttsra20.png [11] => http://forecast.weather.gov/DualImage.php?i=shra&j=scttsra&ip=20&jp=30 [12] => http://forecast.weather.gov/newimages/medium/nscttsra30.png [13] => http://forecast.weather.gov/newimages/medium/shra40.png ) ) [hazards] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => ) [name] => Watches, Warnings, and Advisories [hazard-conditions] => SimpleXMLElement Object ( [hazard] => SimpleXMLElement Object ( [@attributes] => Array ( [headline] => Hazardous Weather Outlook ) [hazardTextURL] => http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Hazardous+Weather+Outlook ) ) ) [wordedForecast] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n14-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => Scattered rain and snow showers before 1am. Mostly cloudy, with a low around 33. South southwest wind around 10 mph. Chance of precipitation is 30%. Little or no snow accumulation expected. [1] => A 50 percent chance of showers and thunderstorms after 1pm. Partly sunny, with a high near 51. South southeast wind 5 to 13 mph. [2] => A chance of rain showers before 1am, then a slight chance of rain and snow showers. Some thunder is also possible. Mostly cloudy, with a low around 37. South southeast wind 8 to 14 mph becoming southwest after midnight. Chance of precipitation is 50%. Little or no snow accumulation expected. [3] => A slight chance of rain and snow showers before 7am, then rain showers. Some thunder is also possible. High near 51. Southwest wind 8 to 11 mph becoming east in the afternoon. Chance of precipitation is 80%. Little or no snow accumulation expected. [4] => Rain showers before 1am, then rain and snow showers likely. Some thunder is also possible. Low around 37. East wind 11 to 15 mph becoming north in the evening. Chance of precipitation is 80%. New snow accumulation of less than one inch possible. [5] => Rain and snow showers likely. Cloudy, with a high near 41. Chance of precipitation is 70%. New snow accumulation of around an inch possible. [6] => Rain and snow showers likely before 7pm, then a chance of snow showers. Mostly cloudy, with a low around 34. Chance of precipitation is 70%. New snow accumulation of around an inch possible. [7] => A chance of snow showers, possibly mixing with rain after 7am, then gradually ending. Partly sunny, with a high near 46. Chance of precipitation is 50%. [8] => Partly cloudy, with a low around 34. [9] => A 20 percent chance of showers and thunderstorms after 1pm. Partly sunny, with a high near 53. [10] => A 20 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 38. [11] => A 30 percent chance of showers and thunderstorms. Partly sunny, with a high near 55. [12] => A 30 percent chance of showers and thunderstorms. Mostly cloudy, with a low around 40. [13] => A 40 percent chance of showers. Partly sunny, with a high near 54. ) ) ) ) [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-05-24T23: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] => 39 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 36 ) ) [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] => 303 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 6 ) [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 ) ) ) ) )