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.73817 [PTemp_C] => 8.810856 [PTemp_F] => 47.85954 [WindSpeed] => 8.9872 [WindDir] => 103.0799 [stringWindDir] => "E" [WindChillCelcius] => 43.75826 [WindChillFarenheit] => 43.75826 )
Fresh Sensor Data

Q out of range, using instead of as last good snow reading
New Snow: 0
Temp: 48
Wind:
Quality Value:
Quality Metric:
WindSpeed: 8.9872
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 ( [BattV] => 14.06501 [PTemp_C] => 9.479595 [PTemp_F] => 49.06327 [DT] => 35.67 [Q] => 168 [TCDT] => 36.28368 [New_Snow] => -0.02 [QM] => "Good Quality " )
Cached Sensor Data

New Snow: 0
Temp: 49
Wind:
Quality Value: 169
Quality Metric: "Good Quality "
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-03-22T09:56:53-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-n13-1 [start-valid-time] => Array ( [0] => 2019-03-22T13:00:00-06:00 [1] => 2019-03-22T18:00:00-06:00 [2] => 2019-03-23T06:00:00-06:00 [3] => 2019-03-23T18:00:00-06:00 [4] => 2019-03-24T06:00:00-06:00 [5] => 2019-03-24T18:00:00-06:00 [6] => 2019-03-25T06:00:00-06:00 [7] => 2019-03-25T18:00:00-06:00 [8] => 2019-03-26T06:00:00-06:00 [9] => 2019-03-26T18:00:00-06:00 [10] => 2019-03-27T06:00:00-06:00 [11] => 2019-03-27T18:00:00-06:00 [12] => 2019-03-28T06: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-03-22T13:00:00-06:00 [1] => 2019-03-23T06:00:00-06:00 [2] => 2019-03-24T06:00:00-06:00 [3] => 2019-03-25T06:00:00-06:00 [4] => 2019-03-26T06:00:00-06:00 [5] => 2019-03-27T06:00:00-06:00 [6] => 2019-03-28T06:00:00-06:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n6-2 [start-valid-time] => Array ( [0] => 2019-03-22T18:00:00-06:00 [1] => 2019-03-23T18:00:00-06:00 [2] => 2019-03-24T18:00:00-06:00 [3] => 2019-03-25T18:00:00-06:00 [4] => 2019-03-26T18:00:00-06:00 [5] => 2019-03-27T18: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-n7-1 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 43 [1] => 46 [2] => 42 [3] => 46 [4] => 50 [5] => 47 [6] => 37 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n6-2 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 32 [1] => 32 [2] => 29 [3] => 32 [4] => 34 [5] => 28 ) ) ) [probability-of-precipitation] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => 12 hour [units] => percent [time-layout] => k-p12h-n13-1 ) [name] => 12 Hourly Probability of Precipitation [value] => Array ( [0] => 20 [1] => 30 [2] => 40 [3] => 40 [4] => 80 [5] => 80 [6] => 50 [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => 40 [11] => 60 [12] => 60 ) ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n13-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance Showers ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then Chance Snow Showers ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then Rain/Snow ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow then Snow Showers Likely ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow Showers then Mostly Sunny ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Cloudy ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Showers ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow Likely then Snow Showers Likely ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Snow Showers Likely ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p12h-n13-1 ) [name] => Conditions Icon [icon-link] => Array ( [0] => http://forecast.weather.gov/newimages/medium/hi_shwrs20.png [1] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=30&jp=30 [2] => http://forecast.weather.gov/newimages/medium/ra_sn40.png [3] => http://forecast.weather.gov/newimages/medium/nra_sn40.png [4] => http://forecast.weather.gov/DualImage.php?i=ra_sn&j=ra_sn&ip=50&jp=80 [5] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=80&jp=70 [6] => http://forecast.weather.gov/DualImage.php?i=sn&j=sct&ip=50 [7] => http://forecast.weather.gov/newimages/medium/nsct.png [8] => http://forecast.weather.gov/newimages/medium/sct.png [9] => http://forecast.weather.gov/newimages/medium/nbkn.png [10] => http://forecast.weather.gov/newimages/medium/shra40.png [11] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=60&jp=60 [12] => http://forecast.weather.gov/newimages/medium/sn60.png ) ) [hazards] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => ) [name] => Watches, Warnings, and Advisories [hazard-conditions] => SimpleXMLElement Object ( [hazard] => SimpleXMLElement Object ( [@attributes] => Array ( [headline] => Hydrologic Outlook ) [hazardTextURL] => http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Hydrologic+Outlook ) ) ) [1] => 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-n13-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => A 20 percent chance of showers. Mostly sunny, with a high near 43. East southeast wind 8 to 13 mph. [1] => A slight chance of rain showers before 7pm, then a chance of snow showers. Mostly cloudy, with a low around 32. South southeast wind 8 to 11 mph becoming southwest in the evening. Chance of precipitation is 30%. Little or no snow accumulation expected. [2] => A slight chance of snow showers before 7am, then a slight chance of rain and snow showers between 7am and 1pm, then a chance of rain showers after 1pm. Mostly cloudy, with a high near 46. Southwest wind around 13 mph becoming west northwest in the afternoon. Chance of precipitation is 40%. Little or no snow accumulation expected. [3] => A chance of rain showers before 7pm, then a chance of snow showers between 7pm and 1am, then a chance of rain and snow showers after 1am. Mostly cloudy, with a low around 32. West northwest wind 9 to 11 mph. Chance of precipitation is 40%. New snow accumulation of less than one inch possible. [4] => A chance of rain and snow showers before 1pm, then rain showers between 1pm and 4pm, then rain and snow showers after 4pm. High near 42. West northwest wind 8 to 14 mph becoming north in the afternoon. Chance of precipitation is 80%. New snow accumulation of less than a half inch possible. [5] => Rain and snow showers, becoming all snow after 7pm. Low around 29. Chance of precipitation is 80%. New snow accumulation of around an inch possible. [6] => A 50 percent chance of snow showers before 7am. Mostly sunny, with a high near 46. New snow accumulation of less than a half inch possible. [7] => Partly cloudy, with a low around 32. [8] => Mostly sunny, with a high near 50. [9] => Mostly cloudy, with a low around 34. [10] => A 40 percent chance of showers. Partly sunny, with a high near 47. [11] => Rain and snow showers likely. Mostly cloudy, with a low around 28. Chance of precipitation is 60%. [12] => Snow showers likely. Mostly cloudy, with a high near 37. Chance of precipitation is 60%. ) ) ) ) [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-03-22T12: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] => 49 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 21 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 33 ) [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] => 97 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 20 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => sustained [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 10 ) ) [pressure] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => barometer [units] => inches of mercury [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) ) ) )
fresh data string: 2019-03-22T09:56:53-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-n13-1 2019-03-22T13:00:00-06:00 2019-03-22T18:00:00-06:00 2019-03-23T06:00:00-06:00 2019-03-23T18:00:00-06:00 2019-03-24T06:00:00-06:00 2019-03-24T18:00:00-06:00 2019-03-25T06:00:00-06:00 2019-03-25T18:00:00-06:00 2019-03-26T06:00:00-06:00 2019-03-26T18:00:00-06:00 2019-03-27T06:00:00-06:00 2019-03-27T18:00:00-06:00 2019-03-28T06:00:00-06:00 k-p24h-n7-1 2019-03-22T13:00:00-06:00 2019-03-23T06:00:00-06:00 2019-03-24T06:00:00-06:00 2019-03-25T06:00:00-06:00 2019-03-26T06:00:00-06:00 2019-03-27T06:00:00-06:00 2019-03-28T06:00:00-06:00 k-p24h-n6-2 2019-03-22T18:00:00-06:00 2019-03-23T18:00:00-06:00 2019-03-24T18:00:00-06:00 2019-03-25T18:00:00-06:00 2019-03-26T18:00:00-06:00 2019-03-27T18:00:00-06:00 Daily Maximum Temperature 43 46 42 46 50 47 37 Daily Minimum Temperature 32 32 29 32 34 28 12 Hourly Probability of Precipitation 20 30 40 40 80 80 50 40 60 60 Weather Type, Coverage, Intensity Conditions Icon http://forecast.weather.gov/newimages/medium/hi_shwrs20.png http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=30&jp=30 http://forecast.weather.gov/newimages/medium/ra_sn40.png http://forecast.weather.gov/newimages/medium/nra_sn40.png http://forecast.weather.gov/DualImage.php?i=ra_sn&j=ra_sn&ip=50&jp=80 http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=80&jp=70 http://forecast.weather.gov/DualImage.php?i=sn&j=sct&ip=50 http://forecast.weather.gov/newimages/medium/nsct.png http://forecast.weather.gov/newimages/medium/sct.png http://forecast.weather.gov/newimages/medium/nbkn.png http://forecast.weather.gov/newimages/medium/shra40.png http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=60&jp=60 http://forecast.weather.gov/newimages/medium/sn60.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=Hydrologic+Outlook 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 A 20 percent chance of showers. Mostly sunny, with a high near 43. East southeast wind 8 to 13 mph. A slight chance of rain showers before 7pm, then a chance of snow showers. Mostly cloudy, with a low around 32. South southeast wind 8 to 11 mph becoming southwest in the evening. Chance of precipitation is 30%. Little or no snow accumulation expected. A slight chance of snow showers before 7am, then a slight chance of rain and snow showers between 7am and 1pm, then a chance of rain showers after 1pm. Mostly cloudy, with a high near 46. Southwest wind around 13 mph becoming west northwest in the afternoon. Chance of precipitation is 40%. Little or no snow accumulation expected. A chance of rain showers before 7pm, then a chance of snow showers between 7pm and 1am, then a chance of rain and snow showers after 1am. Mostly cloudy, with a low around 32. West northwest wind 9 to 11 mph. Chance of precipitation is 40%. New snow accumulation of less than one inch possible. A chance of rain and snow showers before 1pm, then rain showers between 1pm and 4pm, then rain and snow showers after 4pm. High near 42. West northwest wind 8 to 14 mph becoming north in the afternoon. Chance of precipitation is 80%. New snow accumulation of less than a half inch possible. Rain and snow showers, becoming all snow after 7pm. Low around 29. Chance of precipitation is 80%. New snow accumulation of around an inch possible. A 50 percent chance of snow showers before 7am. Mostly sunny, with a high near 46. New snow accumulation of less than a half inch possible. Partly cloudy, with a low around 32. Mostly sunny, with a high near 50. Mostly cloudy, with a low around 34. A 40 percent chance of showers. Partly sunny, with a high near 47. Rain and snow showers likely. Mostly cloudy, with a low around 28. Chance of precipitation is 60%. Snow showers likely. Mostly cloudy, with a high near 37. Chance of precipitation is 60%. point1 TIMBERCREST, MT 6400 https://www.wrh.noaa.gov/total_forecast/other_obs.php?wfo=byz&zone=MTZ067 k-p1h-n1-1 2019-03-22T12:15:00 49 21 33 Weather Type, Coverage, Intensity NA Conditions Icon NULL 97 20 10 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-03-22T09:56:53-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-n13-1 [start-valid-time] => Array ( [0] => 2019-03-22T13:00:00-06:00 [1] => 2019-03-22T18:00:00-06:00 [2] => 2019-03-23T06:00:00-06:00 [3] => 2019-03-23T18:00:00-06:00 [4] => 2019-03-24T06:00:00-06:00 [5] => 2019-03-24T18:00:00-06:00 [6] => 2019-03-25T06:00:00-06:00 [7] => 2019-03-25T18:00:00-06:00 [8] => 2019-03-26T06:00:00-06:00 [9] => 2019-03-26T18:00:00-06:00 [10] => 2019-03-27T06:00:00-06:00 [11] => 2019-03-27T18:00:00-06:00 [12] => 2019-03-28T06: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-03-22T13:00:00-06:00 [1] => 2019-03-23T06:00:00-06:00 [2] => 2019-03-24T06:00:00-06:00 [3] => 2019-03-25T06:00:00-06:00 [4] => 2019-03-26T06:00:00-06:00 [5] => 2019-03-27T06:00:00-06:00 [6] => 2019-03-28T06:00:00-06:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n6-2 [start-valid-time] => Array ( [0] => 2019-03-22T18:00:00-06:00 [1] => 2019-03-23T18:00:00-06:00 [2] => 2019-03-24T18:00:00-06:00 [3] => 2019-03-25T18:00:00-06:00 [4] => 2019-03-26T18:00:00-06:00 [5] => 2019-03-27T18: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-n7-1 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 43 [1] => 46 [2] => 42 [3] => 46 [4] => 50 [5] => 47 [6] => 37 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n6-2 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 32 [1] => 32 [2] => 29 [3] => 32 [4] => 34 [5] => 28 ) ) ) [probability-of-precipitation] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => 12 hour [units] => percent [time-layout] => k-p12h-n13-1 ) [name] => 12 Hourly Probability of Precipitation [value] => Array ( [0] => 20 [1] => 30 [2] => 40 [3] => 40 [4] => 80 [5] => 80 [6] => 50 [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => 40 [11] => 60 [12] => 60 ) ) [weather] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n13-1 ) [name] => Weather Type, Coverage, Intensity [weather-conditions] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance Showers ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then Chance Snow Showers ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow then Rain/Snow ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow then Snow Showers Likely ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow Showers then Mostly Sunny ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Cloudy ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Showers ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Rain/Snow Likely then Snow Showers Likely ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Snow Showers Likely ) ) ) ) [conditions-icon] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => forecast-NWS [time-layout] => k-p12h-n13-1 ) [name] => Conditions Icon [icon-link] => Array ( [0] => http://forecast.weather.gov/newimages/medium/hi_shwrs20.png [1] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=30&jp=30 [2] => http://forecast.weather.gov/newimages/medium/ra_sn40.png [3] => http://forecast.weather.gov/newimages/medium/nra_sn40.png [4] => http://forecast.weather.gov/DualImage.php?i=ra_sn&j=ra_sn&ip=50&jp=80 [5] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=80&jp=70 [6] => http://forecast.weather.gov/DualImage.php?i=sn&j=sct&ip=50 [7] => http://forecast.weather.gov/newimages/medium/nsct.png [8] => http://forecast.weather.gov/newimages/medium/sct.png [9] => http://forecast.weather.gov/newimages/medium/nbkn.png [10] => http://forecast.weather.gov/newimages/medium/shra40.png [11] => http://forecast.weather.gov/DualImage.php?i=nra_sn&j=nsn&ip=60&jp=60 [12] => http://forecast.weather.gov/newimages/medium/sn60.png ) ) [hazards] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => ) [name] => Watches, Warnings, and Advisories [hazard-conditions] => SimpleXMLElement Object ( [hazard] => SimpleXMLElement Object ( [@attributes] => Array ( [headline] => Hydrologic Outlook ) [hazardTextURL] => http://forecast.weather.gov/showsigwx.php?warnzone=MTZ067&warncounty=MTC009&firewxzone=MTZ126&local_place1=5+Miles+W+Red+Lodge+MT&product1=Hydrologic+Outlook ) ) ) [1] => 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-n13-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => A 20 percent chance of showers. Mostly sunny, with a high near 43. East southeast wind 8 to 13 mph. [1] => A slight chance of rain showers before 7pm, then a chance of snow showers. Mostly cloudy, with a low around 32. South southeast wind 8 to 11 mph becoming southwest in the evening. Chance of precipitation is 30%. Little or no snow accumulation expected. [2] => A slight chance of snow showers before 7am, then a slight chance of rain and snow showers between 7am and 1pm, then a chance of rain showers after 1pm. Mostly cloudy, with a high near 46. Southwest wind around 13 mph becoming west northwest in the afternoon. Chance of precipitation is 40%. Little or no snow accumulation expected. [3] => A chance of rain showers before 7pm, then a chance of snow showers between 7pm and 1am, then a chance of rain and snow showers after 1am. Mostly cloudy, with a low around 32. West northwest wind 9 to 11 mph. Chance of precipitation is 40%. New snow accumulation of less than one inch possible. [4] => A chance of rain and snow showers before 1pm, then rain showers between 1pm and 4pm, then rain and snow showers after 4pm. High near 42. West northwest wind 8 to 14 mph becoming north in the afternoon. Chance of precipitation is 80%. New snow accumulation of less than a half inch possible. [5] => Rain and snow showers, becoming all snow after 7pm. Low around 29. Chance of precipitation is 80%. New snow accumulation of around an inch possible. [6] => A 50 percent chance of snow showers before 7am. Mostly sunny, with a high near 46. New snow accumulation of less than a half inch possible. [7] => Partly cloudy, with a low around 32. [8] => Mostly sunny, with a high near 50. [9] => Mostly cloudy, with a low around 34. [10] => A 40 percent chance of showers. Partly sunny, with a high near 47. [11] => Rain and snow showers likely. Mostly cloudy, with a low around 28. Chance of precipitation is 60%. [12] => Snow showers likely. Mostly cloudy, with a high near 37. Chance of precipitation is 60%. ) ) ) ) [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-03-22T12: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] => 49 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 21 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 33 ) [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] => 97 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 20 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => sustained [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 10 ) ) [pressure] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => barometer [units] => inches of mercury [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) ) ) )