Publisher review:Weather.gov U.S. Current Weather Conditions - Get U.S. location specific current weather data from Weather.gov. WGOVCWC(SID) queries the XML Feeds of Current Weather Conditions as provided by NOAA's National Weather Service, and returns a struct containing current weather conditions for the area specified by the corresponding four char SID(s) (Station ID(s)).Data is available only for a limited number (about 1,800) of locations across the United States and U.S. Territories.The input argument SID can be a single Station ID, or a char or cell array of Station IDs.Data is acquired in XML format, after which it is converted into a struct using the xml_parse function. This function is available in the XML Toolbox by Marc Molinari on the MATLAB Central File Exchange (File ID 4278).EXAMPLES:Example 1: Using a single SID.wgovcwc('KNYC') returns a 1x1 struct containing fields (among others):location: 'New York City, Central Park, NY'observation_time: 'Last Updated on Mar 13, 5:51 pm EST'weather: 'Fair with Haze'temp_f: 57relative_humidity: 78Example 2: Using a char array of three SIDS.wgovcwc(['KNYC';'KJFK';'KHPN']) returns a 3x1 struct.Example 3: Using a cell array of three SIDs.wgovcwc({'KNYC';'KJFK';'KHPN'}) returns a 3x1 struct.
Weather.gov U.S. Current Weather Conditions is a Matlab script for Development Tools scripts design by Amit Belani.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris