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 ( )
Fresh Sensor Data

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

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] => 13.58333 [PTemp_C] => 19.60103 [PTemp_F] => 67.28186 [DT] => 34.78 [Q] => 168 [TCDT] => 36.01663 [New_Snow] => 0.24 [QM] => "Good Quality " )
Fresh Sensor Data

Q within range, caching 0.24 as good snow reading
New Snow: 0
Temp: 67
Wind:
Quality Value: 168
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] => 2020-08-05T14:53:15-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-n15-1 [start-valid-time] => Array ( [0] => 2020-08-05T16:00:00-06:00 [1] => 2020-08-05T18:00:00-06:00 [2] => 2020-08-06T06:00:00-06:00 [3] => 2020-08-06T18:00:00-06:00 [4] => 2020-08-07T06:00:00-06:00 [5] => 2020-08-07T18:00:00-06:00 [6] => 2020-08-08T06:00:00-06:00 [7] => 2020-08-08T18:00:00-06:00 [8] => 2020-08-09T06:00:00-06:00 [9] => 2020-08-09T18:00:00-06:00 [10] => 2020-08-10T06:00:00-06:00 [11] => 2020-08-10T18:00:00-06:00 [12] => 2020-08-11T06:00:00-06:00 [13] => 2020-08-11T18:00:00-06:00 [14] => 2020-08-12T06:00:00-06:00 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n8-1 [start-valid-time] => Array ( [0] => 2020-08-05T16:00:00-06:00 [1] => 2020-08-06T06:00:00-06:00 [2] => 2020-08-07T06:00:00-06:00 [3] => 2020-08-08T06:00:00-06:00 [4] => 2020-08-09T06:00:00-06:00 [5] => 2020-08-10T06:00:00-06:00 [6] => 2020-08-11T06:00:00-06:00 [7] => 2020-08-12T06: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] => 2020-08-05T18:00:00-06:00 [1] => 2020-08-06T18:00:00-06:00 [2] => 2020-08-07T18:00:00-06:00 [3] => 2020-08-08T18:00:00-06:00 [4] => 2020-08-09T18:00:00-06:00 [5] => 2020-08-10T18:00:00-06:00 [6] => 2020-08-11T18: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] => 69 [1] => 74 [2] => 67 [3] => 67 [4] => 65 [5] => 66 [6] => 67 [7] => 68 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 53 [1] => 53 [2] => 48 [3] => 50 [4] => 49 [5] => 49 [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] => 30 [1] => 20 [2] => 40 [3] => 20 [4] => 40 [5] => 20 [6] => SimpleXMLElement Object ( ) [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => SimpleXMLElement Object ( ) [11] => SimpleXMLElement Object ( ) [12] => 20 [13] => SimpleXMLElement Object ( ) [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] => Scattered T-storms ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Isolated T-storms then Mostly Clear ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny then Chance T-storms ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms then Mostly Clear ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Chance T-storms ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms then Clear ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [14] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => 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/hi_tsra30.png [1] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 [2] => http://forecast.weather.gov/DualImage.php?i=sct&j=hi_tsra&jp=40 [3] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 [4] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=40 [5] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nskc&ip=20 [6] => http://forecast.weather.gov/newimages/medium/skc.png [7] => http://forecast.weather.gov/newimages/medium/nsct.png [8] => http://forecast.weather.gov/newimages/medium/few.png [9] => http://forecast.weather.gov/newimages/medium/nfew.png [10] => http://forecast.weather.gov/newimages/medium/skc.png [11] => http://forecast.weather.gov/newimages/medium/nfew.png [12] => http://forecast.weather.gov/DualImage.php?i=skc&j=hi_tsra&jp=20 [13] => http://forecast.weather.gov/newimages/medium/nfew.png [14] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=0 ) ) [wordedForecast] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n15-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => Scattered showers and thunderstorms. Mostly sunny, with a high near 69. East wind around 7 mph. Chance of precipitation is 30%. [1] => Isolated showers and thunderstorms before midnight. Mostly clear, with a low around 53. East wind around 6 mph becoming light and variable. Chance of precipitation is 20%. [2] => A 40 percent chance of showers and thunderstorms after noon. Mostly sunny, with a high near 74. Southwest wind 5 to 7 mph becoming east in the afternoon. [3] => A 20 percent chance of showers and thunderstorms before midnight. Mostly clear, with a low around 53. South southeast wind 6 to 9 mph becoming west in the evening. [4] => A 40 percent chance of showers and thunderstorms after noon. Sunny, with a high near 67. West southwest wind around 7 mph becoming east in the morning. [5] => A 20 percent chance of showers and thunderstorms before midnight. Mostly clear, with a low around 48. [6] => Sunny, with a high near 67. [7] => Partly cloudy, with a low around 50. [8] => Sunny, with a high near 65. [9] => Mostly clear, with a low around 49. [10] => Sunny, with a high near 66. [11] => Mostly clear, with a low around 49. [12] => A 20 percent chance of showers and thunderstorms. Sunny, with a high near 67. [13] => Mostly clear, with a low around 52. [14] => A chance of showers and thunderstorms. Sunny, with a high near 68. ) ) ) ) [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.weather.gov/wrh/LocalWeather?wfo=byz&zone=MTZ067 [time-layout] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local ) [layout-key] => k-p1h-n1-1 [start-valid-time] => 2020-08-05T16:08: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] => 72 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 46 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 39 ) [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] => 96 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => NA ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => sustained [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) [pressure] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => barometer [units] => inches of mercury [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) ) ) )
fresh data string: 2020-08-05T14:53:15-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-n15-1 2020-08-05T16:00:00-06:00 2020-08-05T18:00:00-06:00 2020-08-06T06:00:00-06:00 2020-08-06T18:00:00-06:00 2020-08-07T06:00:00-06:00 2020-08-07T18:00:00-06:00 2020-08-08T06:00:00-06:00 2020-08-08T18:00:00-06:00 2020-08-09T06:00:00-06:00 2020-08-09T18:00:00-06:00 2020-08-10T06:00:00-06:00 2020-08-10T18:00:00-06:00 2020-08-11T06:00:00-06:00 2020-08-11T18:00:00-06:00 2020-08-12T06:00:00-06:00 k-p24h-n8-1 2020-08-05T16:00:00-06:00 2020-08-06T06:00:00-06:00 2020-08-07T06:00:00-06:00 2020-08-08T06:00:00-06:00 2020-08-09T06:00:00-06:00 2020-08-10T06:00:00-06:00 2020-08-11T06:00:00-06:00 2020-08-12T06:00:00-06:00 k-p24h-n7-2 2020-08-05T18:00:00-06:00 2020-08-06T18:00:00-06:00 2020-08-07T18:00:00-06:00 2020-08-08T18:00:00-06:00 2020-08-09T18:00:00-06:00 2020-08-10T18:00:00-06:00 2020-08-11T18:00:00-06:00 Daily Maximum Temperature 69 74 67 67 65 66 67 68 Daily Minimum Temperature 53 53 48 50 49 49 52 12 Hourly Probability of Precipitation 30 20 40 20 40 20 20 Weather Type, Coverage, Intensity Conditions Icon http://forecast.weather.gov/newimages/medium/hi_tsra30.png http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 http://forecast.weather.gov/DualImage.php?i=sct&j=hi_tsra&jp=40 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=40 http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nskc&ip=20 http://forecast.weather.gov/newimages/medium/skc.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/skc.png http://forecast.weather.gov/newimages/medium/nfew.png http://forecast.weather.gov/DualImage.php?i=skc&j=hi_tsra&jp=20 http://forecast.weather.gov/newimages/medium/nfew.png http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=0 Text Forecast Scattered showers and thunderstorms. Mostly sunny, with a high near 69. East wind around 7 mph. Chance of precipitation is 30%. Isolated showers and thunderstorms before midnight. Mostly clear, with a low around 53. East wind around 6 mph becoming light and variable. Chance of precipitation is 20%. A 40 percent chance of showers and thunderstorms after noon. Mostly sunny, with a high near 74. Southwest wind 5 to 7 mph becoming east in the afternoon. A 20 percent chance of showers and thunderstorms before midnight. Mostly clear, with a low around 53. South southeast wind 6 to 9 mph becoming west in the evening. A 40 percent chance of showers and thunderstorms after noon. Sunny, with a high near 67. West southwest wind around 7 mph becoming east in the morning. A 20 percent chance of showers and thunderstorms before midnight. Mostly clear, with a low around 48. Sunny, with a high near 67. Partly cloudy, with a low around 50. Sunny, with a high near 65. Mostly clear, with a low around 49. Sunny, with a high near 66. Mostly clear, with a low around 49. A 20 percent chance of showers and thunderstorms. Sunny, with a high near 67. Mostly clear, with a low around 52. A chance of showers and thunderstorms. Sunny, with a high near 68. point1 TIMBERCREST, MT 6400 https://www.weather.gov/wrh/LocalWeather?wfo=byz&zone=MTZ067 k-p1h-n1-1 2020-08-05T16:08:00 72 46 39 Weather Type, Coverage, Intensity NA Conditions Icon NULL 96 NA NA 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] => 2020-08-05T14:53:15-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-n15-1 [start-valid-time] => Array ( [0] => 2020-08-05T16:00:00-06:00 [1] => 2020-08-05T18:00:00-06:00 [2] => 2020-08-06T06:00:00-06:00 [3] => 2020-08-06T18:00:00-06:00 [4] => 2020-08-07T06:00:00-06:00 [5] => 2020-08-07T18:00:00-06:00 [6] => 2020-08-08T06:00:00-06:00 [7] => 2020-08-08T18:00:00-06:00 [8] => 2020-08-09T06:00:00-06:00 [9] => 2020-08-09T18:00:00-06:00 [10] => 2020-08-10T06:00:00-06:00 [11] => 2020-08-10T18:00:00-06:00 [12] => 2020-08-11T06:00:00-06:00 [13] => 2020-08-11T18:00:00-06:00 [14] => 2020-08-12T06:00:00-06:00 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local [summarization] => 12hourly ) [layout-key] => k-p24h-n8-1 [start-valid-time] => Array ( [0] => 2020-08-05T16:00:00-06:00 [1] => 2020-08-06T06:00:00-06:00 [2] => 2020-08-07T06:00:00-06:00 [3] => 2020-08-08T06:00:00-06:00 [4] => 2020-08-09T06:00:00-06:00 [5] => 2020-08-10T06:00:00-06:00 [6] => 2020-08-11T06:00:00-06:00 [7] => 2020-08-12T06: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] => 2020-08-05T18:00:00-06:00 [1] => 2020-08-06T18:00:00-06:00 [2] => 2020-08-07T18:00:00-06:00 [3] => 2020-08-08T18:00:00-06:00 [4] => 2020-08-09T18:00:00-06:00 [5] => 2020-08-10T18:00:00-06:00 [6] => 2020-08-11T18: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] => 69 [1] => 74 [2] => 67 [3] => 67 [4] => 65 [5] => 66 [6] => 67 [7] => 68 ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => minimum [units] => Fahrenheit [time-layout] => k-p24h-n7-2 ) [name] => Daily Minimum Temperature [value] => Array ( [0] => 53 [1] => 53 [2] => 48 [3] => 50 [4] => 49 [5] => 49 [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] => 30 [1] => 20 [2] => 40 [3] => 20 [4] => 40 [5] => 20 [6] => SimpleXMLElement Object ( ) [7] => SimpleXMLElement Object ( ) [8] => SimpleXMLElement Object ( ) [9] => SimpleXMLElement Object ( ) [10] => SimpleXMLElement Object ( ) [11] => SimpleXMLElement Object ( ) [12] => 20 [13] => SimpleXMLElement Object ( ) [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] => Scattered T-storms ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Isolated T-storms then Mostly Clear ) ) [2] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Sunny then Chance T-storms ) ) [3] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms then Mostly Clear ) ) [4] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Chance T-storms ) ) [5] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Slight Chance T-storms then Clear ) ) [6] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [7] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Partly Cloudy ) ) [8] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [9] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [10] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny ) ) [11] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [12] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Sunny then Slight Chance T-storms ) ) [13] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => Mostly Clear ) ) [14] => SimpleXMLElement Object ( [@attributes] => Array ( [weather-summary] => 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/hi_tsra30.png [1] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 [2] => http://forecast.weather.gov/DualImage.php?i=sct&j=hi_tsra&jp=40 [3] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nfew&ip=20 [4] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=40 [5] => http://forecast.weather.gov/DualImage.php?i=hi_ntsra&j=nskc&ip=20 [6] => http://forecast.weather.gov/newimages/medium/skc.png [7] => http://forecast.weather.gov/newimages/medium/nsct.png [8] => http://forecast.weather.gov/newimages/medium/few.png [9] => http://forecast.weather.gov/newimages/medium/nfew.png [10] => http://forecast.weather.gov/newimages/medium/skc.png [11] => http://forecast.weather.gov/newimages/medium/nfew.png [12] => http://forecast.weather.gov/DualImage.php?i=skc&j=hi_tsra&jp=20 [13] => http://forecast.weather.gov/newimages/medium/nfew.png [14] => http://forecast.weather.gov/DualImage.php?i=few&j=hi_tsra&jp=0 ) ) [wordedForecast] => SimpleXMLElement Object ( [@attributes] => Array ( [time-layout] => k-p12h-n15-1 [dataSource] => byzNetcdf [wordGenerator] => markMitchell ) [name] => Text Forecast [text] => Array ( [0] => Scattered showers and thunderstorms. Mostly sunny, with a high near 69. East wind around 7 mph. Chance of precipitation is 30%. [1] => Isolated showers and thunderstorms before midnight. Mostly clear, with a low around 53. East wind around 6 mph becoming light and variable. Chance of precipitation is 20%. [2] => A 40 percent chance of showers and thunderstorms after noon. Mostly sunny, with a high near 74. Southwest wind 5 to 7 mph becoming east in the afternoon. [3] => A 20 percent chance of showers and thunderstorms before midnight. Mostly clear, with a low around 53. South southeast wind 6 to 9 mph becoming west in the evening. [4] => A 40 percent chance of showers and thunderstorms after noon. Sunny, with a high near 67. West southwest wind around 7 mph becoming east in the morning. [5] => A 20 percent chance of showers and thunderstorms before midnight. Mostly clear, with a low around 48. [6] => Sunny, with a high near 67. [7] => Partly cloudy, with a low around 50. [8] => Sunny, with a high near 65. [9] => Mostly clear, with a low around 49. [10] => Sunny, with a high near 66. [11] => Mostly clear, with a low around 49. [12] => A 20 percent chance of showers and thunderstorms. Sunny, with a high near 67. [13] => Mostly clear, with a low around 52. [14] => A chance of showers and thunderstorms. Sunny, with a high near 68. ) ) ) ) [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.weather.gov/wrh/LocalWeather?wfo=byz&zone=MTZ067 [time-layout] => SimpleXMLElement Object ( [@attributes] => Array ( [time-coordinate] => local ) [layout-key] => k-p1h-n1-1 [start-valid-time] => 2020-08-05T16:08: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] => 72 ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => dew point [units] => Fahrenheit [time-layout] => k-p1h-n1-1 ) [value] => 46 ) ) [humidity] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => relative [time-layout] => k-p1h-n1-1 ) [value] => 39 ) [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] => 96 ) [wind-speed] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => gust [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => NA ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => sustained [units] => knots [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) [pressure] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => barometer [units] => inches of mercury [time-layout] => k-p1h-n1-1 ) [value] => NA ) ) ) ) )