Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


gives the most recent measurement for wind speed near the current location.

gives the wind speed value for the specified time near the current location.

gives the most recent measurement for wind speed near the specified location.

gives the value or values for the specified date and location.

gives values for all specified locations on the specified dates.

Details and OptionsDetails and Options

  • WindSpeedData gives current and historical wind speed data for all standard weather stations worldwide.
  • WindSpeedData[] makes use of $GeoLocation and $TimeZone to determine your location and time zone. It returns the most recent measurement of wind speed for the nearest high-reliability weather station to the location specified by $GeoLocation.
  • The location can be specified as an ICAO code such as "KNYC", a WMO code such as "WMO12345", an amateur weather station code such as "C1234", or another standardized weather station identifier.
  • The location can also be specified by latitude/longitude pairs, assuming degrees as units, a GeoPosition specification, or Entity objects, assuming they represent objects with geographic coordinates. They can also be GeoGraphics primitives such as GeoDisk, or a city specification of the type used in CityData. WindSpeedData gives results for the nearest high-reliability weather station to the location.
  • locationspec can be either individual locations or lists of them.
  • datespec can be specified as a date list, a string in DateString format, or a DateObject.
  • WindSpeedData[locationspec,datespec] by default takes datespec to be given in local time and uses UTC for all output times.
  • When specific times are given, an interpolated result for that time is returned. datespec specifications for a day or longer period return the interval of wind speed measurements.
  • datespec can be specified as {start,end,step} for compatibility with DateRange specifications. step can be All, "Day", "Week", "Month", or "Year". All gives all recorded observations. If omitted, step is assumed to have the value All.
  • Location and date can also be specified together as Association["Location"->locationspec,"Date"datespec].
  • WindSpeedData[locationspec,datespec,func] is used to specify the format of output when locations are specified.
  • Possible settings for func include:
  • Allreturn all values for extended locations and times
    Automaticreturn intervals for extended locations and indeterminate times
    Intervalreturn intervals for extended locations and times
    Maxreturn maximum values for extended locations and times
    Meanreturn mean value for extended locations and times
    Minreturn minumum values for extended locations and times
    StandardDeviationreturn standard deviation for extended locations and times
    "Stations"return all values along with their source weather station
  • Wind speed is returned as a Quantity in either kilometers per hour or miles per hour.
  • The option UnitSystem controls output units. The default value is set by $UnitSystem. The following settings can also be used:
  • "Imperial"returns results in imperial units
    "Metric"returns results in metric units
  • WindSpeedData[locationspec,"property"] returns the specified weather station property for the location corresponding to locationspec.
  • Properties related to identifying weather stations include:
  • "Coordinates"weather station coordinates as a GeoPosition
    "Memberships"WMO, NCDC, and CWOP reporting network membership
    "NearestStation"the nearest weather station
    "StationDistance"distance in km between specified location and station given
    "StationName"weather station name
  • WindSpeedData can retrieve observational air temperature data from meteorological stations throughout the world.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Find the most recent wind speed measurement near your current location:

Click for copyable input

Wind speeds can be returned in kilometers per hour or miles per hour:

Click for copyable input

Obtain the wind speed reading for a specific weather station:

Click for copyable input

Find the interpolated wind speed at a specific date near a specified location:

Click for copyable input
Introduced in 2014