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.87525 [PTemp_C] => 3.912796 [PTemp_F] => 39.04303 [WindSpeed] => 7.2336 [WindDir] => 269.7122 [stringWindDir] => "W" [WindChillCelcius] => 33.84757 [WindChillFarenheit] => 33.84757 )
Cached Sensor Data

New Snow: 0
Temp: 39
Wind:
Quality Value:
Quality Metric:
WindSpeed: 7.672
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 ( [BattV] => 12.93558 [PTemp_C] => 2.821579 [PTemp_F] => 37.07884 [DT] => 35.86 [Q] => 169 [TCDT] => 36.04474 [New_Snow] => 0.22 [QM] => "Good Quality " )
Cached Sensor Data

New Snow: 0
Temp: 37
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-11-18T21:08:03-07: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-11-18T22:00:00-07:00 [1] => 2019-11-19T06:00:00-07:00 [2] => 2019-11-19T18:00:00-07:00 [3] => 2019-11-20T06:00:00-07:00 [4] => 2019-11-20T18:00:00-07:00 [5] => 2019-11-21T06:00:00-07:00 [6] => 2019-11-21T18:00:00-07:00 [7] => 2019-11-22T06:00:00-07:00 [8] => 2019-11-22T18:00:00-07:00 [9] => 2019-11-23T06:00:00-07:00 [10] => 2019-11-23T18:00:00-07:00 [11] => 2019-11-24T06:00:00-07:00 [12] => 2019-11-24T18:00:00-07:00 [13] => 2019-11-25T06:00:00-07:00 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-1 [start-valid-time] => Array ( [0] => 2019-11-18T22:00:00-07:00 [1] => 2019-11-19T18:00:00-07:00 [2] => 2019-11-20T18:00:00-07:00 [3] => 2019-11-21T18:00:00-07:00 [4] => 2019-11-22T18:00:00-07:00 [5] => 2019-11-23T18:00:00-07:00 [6] => 2019-11-24T18:00:00-07:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-2 [start-valid-time] => Array ( [0] => 2019-11-19T06:00:00-07:00 [1] => 2019-11-20T06:00:00-07:00 [2] => 2019-11-21T06:00:00-07:00 [3] => 2019-11-22T06:00:00-07:00 [4] => 2019-11-23T06:00:00-07:00 [5] => 2019-11-24T06:00:00-07:00 [6] => 2019-11-25T06:00:00-07: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] => 20 [2] => 17 [3] => 18 [4] => 24 [5] => 28 [6] => 19 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => maximum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 43 [1] => 23 [2] => 28 [3] => 37 [4] => 38 [5] => 35 [6] => 26 ) ) ) [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] => SimpleXMLElement Object ( ) [1] => 50 [2] => 70 [3] => 80 [4] => 40 [5] => SimpleXMLElement Object ( ) [6] => SimpleXMLElement Object ( ) [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => SimpleXMLElement Object ( ) [11] => 20 [12] => 30 [13] => 50 ) ) [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] => Mostly Cloudy ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Snow Likely ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Snow ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow then Mostly Cloudy ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance Snow ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow ) ) ) ) [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/nbkn.png [1] => http://forecast.weather.gov/newimages/medium/ra_sn50.png [2] => http://forecast.weather.gov/newimages/medium/nsn70.png [3] => http://forecast.weather.gov/newimages/medium/sn80.png [4] => http://forecast.weather.gov/DualImage.php?i=nsn&j=nbkn&ip=40 [5] => http://forecast.weather.gov/newimages/medium/few.png [6] => http://forecast.weather.gov/newimages/medium/nfew.png [7] => http://forecast.weather.gov/newimages/medium/few.png [8] => http://forecast.weather.gov/newimages/medium/nfew.png [9] => http://forecast.weather.gov/newimages/medium/few.png [10] => http://forecast.weather.gov/newimages/medium/nsct.png [11] => http://forecast.weather.gov/newimages/medium/sn20.png [12] => http://forecast.weather.gov/newimages/medium/nsn30.png [13] => http://forecast.weather.gov/newimages/medium/sn50.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] => Mostly cloudy, with a temperature rising to around 37 by 1am. Southwest wind 10 to 14 mph. [1] => A slight chance of snow before 8am, then a chance of rain and snow after 11am. Cloudy, then gradually becoming mostly sunny, with a high near 43. Southwest wind 9 to 13 mph becoming northwest in the afternoon. Chance of precipitation is 50%. New snow accumulation of less than a half inch possible. [2] => Snow likely. Mostly cloudy, with a low around 20. North wind around 14 mph. Chance of precipitation is 70%. New snow accumulation of around 3 inches. [3] => Snow. Temperature falling to around 15 by 5pm. Wind chill values as low as zero. North wind around 16 mph. Chance of precipitation is 80%. New snow accumulation of around 2 inches. [4] => A 40 percent chance of snow before 11pm. Cloudy, then gradually becoming partly cloudy, with a steady temperature around 17. North northeast wind 11 to 15 mph. New snow accumulation of less than a half inch possible. [5] => Sunny, with a high near 28. [6] => Mostly clear, with a temperature rising to around 25 by 4am. [7] => Sunny, with a high near 37. [8] => Mostly clear, with a low around 24. [9] => Sunny, with a high near 38. [10] => Partly cloudy, with a steady temperature around 28. [11] => A 20 percent chance of snow. Mostly sunny, with a high near 35. [12] => A 30 percent chance of snow. Mostly cloudy, with a low around 19. [13] => A 50 percent chance of snow. Mostly cloudy, with a temperature rising to near 26 by noon, then falling to around 16 during the remainder of the day. ) ) ) ) [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-11-18T22: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] => 35 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 22 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 59 ) [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] => 281 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 4 ) [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-11-18T21:08:03-07: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-11-18T22:00:00-07:00 2019-11-19T06:00:00-07:00 2019-11-19T18:00:00-07:00 2019-11-20T06:00:00-07:00 2019-11-20T18:00:00-07:00 2019-11-21T06:00:00-07:00 2019-11-21T18:00:00-07:00 2019-11-22T06:00:00-07:00 2019-11-22T18:00:00-07:00 2019-11-23T06:00:00-07:00 2019-11-23T18:00:00-07:00 2019-11-24T06:00:00-07:00 2019-11-24T18:00:00-07:00 2019-11-25T06:00:00-07:00 k-p24h-n7-1 2019-11-18T22:00:00-07:00 2019-11-19T18:00:00-07:00 2019-11-20T18:00:00-07:00 2019-11-21T18:00:00-07:00 2019-11-22T18:00:00-07:00 2019-11-23T18:00:00-07:00 2019-11-24T18:00:00-07:00 k-p24h-n7-2 2019-11-19T06:00:00-07:00 2019-11-20T06:00:00-07:00 2019-11-21T06:00:00-07:00 2019-11-22T06:00:00-07:00 2019-11-23T06:00:00-07:00 2019-11-24T06:00:00-07:00 2019-11-25T06:00:00-07:00 Daily Minimum Temperature 33 20 17 18 24 28 19 Daily Maximum Temperature 43 23 28 37 38 35 26 12 Hourly Probability of Precipitation 50 70 80 40 20 30 50 Weather Type, Coverage, Intensity Conditions Icon http://forecast.weather.gov/newimages/medium/nbkn.png http://forecast.weather.gov/newimages/medium/ra_sn50.png http://forecast.weather.gov/newimages/medium/nsn70.png http://forecast.weather.gov/newimages/medium/sn80.png http://forecast.weather.gov/DualImage.php?i=nsn&j=nbkn&ip=40 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/nfew.png http://forecast.weather.gov/newimages/medium/few.png http://forecast.weather.gov/newimages/medium/nsct.png http://forecast.weather.gov/newimages/medium/sn20.png http://forecast.weather.gov/newimages/medium/nsn30.png http://forecast.weather.gov/newimages/medium/sn50.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 Mostly cloudy, with a temperature rising to around 37 by 1am. Southwest wind 10 to 14 mph. A slight chance of snow before 8am, then a chance of rain and snow after 11am. Cloudy, then gradually becoming mostly sunny, with a high near 43. Southwest wind 9 to 13 mph becoming northwest in the afternoon. Chance of precipitation is 50%. New snow accumulation of less than a half inch possible. Snow likely. Mostly cloudy, with a low around 20. North wind around 14 mph. Chance of precipitation is 70%. New snow accumulation of around 3 inches. Snow. Temperature falling to around 15 by 5pm. Wind chill values as low as zero. North wind around 16 mph. Chance of precipitation is 80%. New snow accumulation of around 2 inches. A 40 percent chance of snow before 11pm. Cloudy, then gradually becoming partly cloudy, with a steady temperature around 17. North northeast wind 11 to 15 mph. New snow accumulation of less than a half inch possible. Sunny, with a high near 28. Mostly clear, with a temperature rising to around 25 by 4am. Sunny, with a high near 37. Mostly clear, with a low around 24. Sunny, with a high near 38. Partly cloudy, with a steady temperature around 28. A 20 percent chance of snow. Mostly sunny, with a high near 35. A 30 percent chance of snow. Mostly cloudy, with a low around 19. A 50 percent chance of snow. Mostly cloudy, with a temperature rising to near 26 by noon, then falling to around 16 during the remainder of the day. point1 TIMBERCREST, MT 6400 https://www.wrh.noaa.gov/total_forecast/other_obs.php?wfo=byz&zone=MTZ067 k-p1h-n1-1 2019-11-18T22:15:00 35 22 59 Weather Type, Coverage, Intensity NA Conditions Icon NULL 281 4 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-11-18T21:08:03-07: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-11-18T22:00:00-07:00 [1] => 2019-11-19T06:00:00-07:00 [2] => 2019-11-19T18:00:00-07:00 [3] => 2019-11-20T06:00:00-07:00 [4] => 2019-11-20T18:00:00-07:00 [5] => 2019-11-21T06:00:00-07:00 [6] => 2019-11-21T18:00:00-07:00 [7] => 2019-11-22T06:00:00-07:00 [8] => 2019-11-22T18:00:00-07:00 [9] => 2019-11-23T06:00:00-07:00 [10] => 2019-11-23T18:00:00-07:00 [11] => 2019-11-24T06:00:00-07:00 [12] => 2019-11-24T18:00:00-07:00 [13] => 2019-11-25T06:00:00-07:00 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-1 [start-valid-time] => Array ( [0] => 2019-11-18T22:00:00-07:00 [1] => 2019-11-19T18:00:00-07:00 [2] => 2019-11-20T18:00:00-07:00 [3] => 2019-11-21T18:00:00-07:00 [4] => 2019-11-22T18:00:00-07:00 [5] => 2019-11-23T18:00:00-07:00 [6] => 2019-11-24T18:00:00-07:00 ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n7-2 [start-valid-time] => Array ( [0] => 2019-11-19T06:00:00-07:00 [1] => 2019-11-20T06:00:00-07:00 [2] => 2019-11-21T06:00:00-07:00 [3] => 2019-11-22T06:00:00-07:00 [4] => 2019-11-23T06:00:00-07:00 [5] => 2019-11-24T06:00:00-07:00 [6] => 2019-11-25T06:00:00-07: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] => 20 [2] => 17 [3] => 18 [4] => 24 [5] => 28 [6] => 19 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => maximum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Maximum Temperature [value] => Array ( [0] => 43 [1] => 23 [2] => 28 [3] => 37 [4] => 38 [5] => 35 [6] => 26 ) ) ) [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] => SimpleXMLElement Object ( ) [1] => 50 [2] => 70 [3] => 80 [4] => 40 [5] => SimpleXMLElement Object ( ) [6] => SimpleXMLElement Object ( ) [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => SimpleXMLElement Object ( ) [11] => 20 [12] => 30 [13] => 50 ) ) [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] => Mostly Cloudy ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Rain/Snow ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Snow Likely ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Snow ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow then Mostly Cloudy ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance Snow ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Chance Snow ) ) ) ) [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/nbkn.png [1] => http://forecast.weather.gov/newimages/medium/ra_sn50.png [2] => http://forecast.weather.gov/newimages/medium/nsn70.png [3] => http://forecast.weather.gov/newimages/medium/sn80.png [4] => http://forecast.weather.gov/DualImage.php?i=nsn&j=nbkn&ip=40 [5] => http://forecast.weather.gov/newimages/medium/few.png [6] => http://forecast.weather.gov/newimages/medium/nfew.png [7] => http://forecast.weather.gov/newimages/medium/few.png [8] => http://forecast.weather.gov/newimages/medium/nfew.png [9] => http://forecast.weather.gov/newimages/medium/few.png [10] => http://forecast.weather.gov/newimages/medium/nsct.png [11] => http://forecast.weather.gov/newimages/medium/sn20.png [12] => http://forecast.weather.gov/newimages/medium/nsn30.png [13] => http://forecast.weather.gov/newimages/medium/sn50.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] => Mostly cloudy, with a temperature rising to around 37 by 1am. Southwest wind 10 to 14 mph. [1] => A slight chance of snow before 8am, then a chance of rain and snow after 11am. Cloudy, then gradually becoming mostly sunny, with a high near 43. Southwest wind 9 to 13 mph becoming northwest in the afternoon. Chance of precipitation is 50%. New snow accumulation of less than a half inch possible. [2] => Snow likely. Mostly cloudy, with a low around 20. North wind around 14 mph. Chance of precipitation is 70%. New snow accumulation of around 3 inches. [3] => Snow. Temperature falling to around 15 by 5pm. Wind chill values as low as zero. North wind around 16 mph. Chance of precipitation is 80%. New snow accumulation of around 2 inches. [4] => A 40 percent chance of snow before 11pm. Cloudy, then gradually becoming partly cloudy, with a steady temperature around 17. North northeast wind 11 to 15 mph. New snow accumulation of less than a half inch possible. [5] => Sunny, with a high near 28. [6] => Mostly clear, with a temperature rising to around 25 by 4am. [7] => Sunny, with a high near 37. [8] => Mostly clear, with a low around 24. [9] => Sunny, with a high near 38. [10] => Partly cloudy, with a steady temperature around 28. [11] => A 20 percent chance of snow. Mostly sunny, with a high near 35. [12] => A 30 percent chance of snow. Mostly cloudy, with a low around 19. [13] => A 50 percent chance of snow. Mostly cloudy, with a temperature rising to near 26 by noon, then falling to around 16 during the remainder of the day. ) ) ) ) [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-11-18T22: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] => 35 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 22 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 59 ) [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] => 281 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => 4 ) [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 ) ) ) ) )