The Weather Array Before Formatting
Here's an example of what our $wxdata array looks like after parsing the XML data, but before we've done any formatting to the fields:
[CREDIT] => NOAA's National Weather Service [CREDIT_URL] => http://weather.gov/ [URL] => http://weather.gov/images/xml_logo.gif [TITLE] => NOAA's National Weather Service [LINK] => [SUGGESTED_PICKUP] => 15 minutes after the hour [SUGGESTED_PICKUP_PERIOD] => 60 [LOCATION] => Olathe, Johnson County Executive Airport, KS [STATION_ID] => KOJC [LATITUDE] => NA [LONGITUDE] => NA [ELEVATION] => NA [OBSERVATION_TIME] => Last Updated on May 18, 8:53 am CDT [WEATHER] => Fair and Breezy [TEMPERATURE_STRING] => 68 F (20 C) [TEMP_F] => 68 [TEMP_C] => 20 [RELATIVE_HUMIDITY] => 63 [WIND_STRING] => From the South at 21 Gusting to 28 MPH [WIND_DIR] => South [WIND_DEGREES] => 170 [WIND_MPH] => 20.7 [WIND_GUST_MPH] => 28 [PRESSURE_STRING] => 29.78" (1007.4 mb) [PRESSURE_MB] => 1007.4 [PRESSURE_IN] => 29.78 [DEWPOINT_STRING] => 55 F (13 C) [DEWPOINT_F] => 55 [DEWPOINT_C] => 13 [HEAT_INDEX_STRING] => 75 F (24 C) [HEAT_INDEX_F] => 75 [HEAT_INDEX_C] => 24 [WINDCHILL_STRING] => Not Applicable [WINDCHILL_F] => Not Applicable [WINDCHILL_C] => Not Applicable [VISIBILITY] => 8.00 mi. [TWO_DAY_HISTORY_URL] => http://www.weather.gov/data/obhistory/KOJC.html [OB_URL] => http://www.nws.noaa.gov/data/METAR/KOJC.1.txt [DISCLAIMER_URL] => http://weather.gov/disclaimer.html [COPYRIGHT_URL] => http://weather.gov/disclaimer.html [PRIVACY_POLICY_URL] =>