WindVectorData

WindVectorData[]
gives the most recent weather station measurement for wind vector near the current location.

WindVectorData[datespec]
gives the wind vector value for the specified time near the current location.

WindVectorData[locationspec]
gives the most recent measurement for wind vector near the specified location.

WindVectorData[locationspec,datespec]
gives the value or values for the specified date and location.

WindVectorData[{{location1,date1},{location2,date2},}]
gives values for all specified locations on the specified dates.

Details and OptionsDetails and Options

  • WindVectorData gives current and historical wind vector data for all standard weather stations worldwide. Wind vectors combine wind direction and speed into a two-component wind velocity. The components are aligned latitudinally and longitudinally.
  • WindVectorData[] makes use of $GeoLocation and $TimeZone to determine your location and time zone. It returns the most recent measurement of the wind vector for the nearest high-reliability weather station to the location specified by $GeoLocation.
  • The location can be specified as an ICAO code such as , a WMO code such as , an NCDC ID such as , an amateur weather station code such as , 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. WindVectorData 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.
  • WindVectorData[locationspec,datespec] by default takes datespec to be given in UTC 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 direction measurements.
  • datespec can be specified as for compatibility with DateRange specifications. step can be All, , , , or . All gives all recorded observations. If omitted, step is assumed to have the value All.
  • WindVectorData[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 vector is returned as a pair of Quantity objects in either kilometers per hour or miles per hour.
  • The following options are available:
  • TimeZone$TimeZonetime zone used for date specification
    UnitSystem$UnitSystemunits system for returned results
  • The following settings for TimeZone can be used:
  • 0UTC
    $TimeZonethe current time zone for your computer system
    zoffset z for UTC
  • The following settings for UnitSystem can be used:
  • "Imperial"return results in imperial units
    "Metric"return results in metric units
  • WindVectorData[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
  • WindVectorData can retrieve observational wind vector data from meteorological stations throughout the world.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

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

In[1]:=
Click for copyable input
Out[1]=

Extract the north-south wind speed measurement:

In[2]:=
Click for copyable input
Out[2]=

Wind vector results can be returned in kilometers per hour or miles per hour:

In[3]:=
Click for copyable input
Out[3]=

Obtain the wind vector reading for a specific weather station:

In[4]:=
Click for copyable input
Out[4]=

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

In[5]:=
Click for copyable input
Out[5]=
Introduced in 2014
(10.0)