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 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 upwind wind velocity. The components {lat,lon} are aligned latitudinally and longitudinally.
  • Upwind refers to the direction the wind comes from, and WindVectorData results point in that direction. Downwind vectors can be obtained by using the "DownwindGeoVector" and "DownwindGeoVectorENU" format specifications as third arguments to WindVectorData.
  • 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 "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. 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 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 direction 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].
  • 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 magnitude vector for extended locations and times
    Meanreturn mean value for extended locations and times
    Minreturn minumum magnitude vector for extended locations and times
    StandardDeviationreturn standard deviation for extended locations and times
    "DownwindGeoVector"return downwind values as a GeoVector
    "DownwindGeoVectorENU"return downwind values as a GeoVectorENU
    "Stations"return all values along with their source weather station
    "UpwindGeoVector"return upwind values as a GeoVector
    "UpwindGeoVectorENU"return upwind values as a GeoVectorENU
  • Wind vector is returned as a pair of Quantity objects 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"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.

Examples

open allclose all

Basic Examples  (1)

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

Extract the north-south wind speed measurement:

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

Obtain the wind vector reading for a specific weather station:

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

Scope  (19)

Location Specification  (6)

The current wind vector measurement from a high-reliability station at the approximate coordinates of "KBOS":

Coordinates can be supplied for a location:

Entity objects can be used:

Obtain the appropriate Entity using free-form input ():

Discover the range of wind vector readings in a 180-degree arc to the west of Paris:

Find the wind vector measurement range across a geographic region:

To return the station from coordinates or a city name, use the "StationName" property:

Station Properties  (3)

Find the name and coordinates of the station used:

Discover the relative distance of the station used from a specified location:

Learn a station's altitude:

Date Specification  (3)

Dates can be input using DateObject:

Dates can also be specified in DateList format:

Date ranges in the format {start,end} will return all data within that range:

Date specifications for a time period longer than an hour will return the Interval for the wind vectors for that time period:

Lists of Locations  (3)

Lists of locations can be provided:

Search for interpolated wind vectors for multiple locations at a specific time:

Find the calculated wind vectors of multiple locations and dates:

Format Specification  (2)

Find the wind vector range for an extended location:

Obtain the maximum or minimum wind vector by magnitude:

Use the setting Mean to obtain the average recorded wind magnitude:

Return the station for all displayed values:

Association Specification  (2)

Date and location can be specified together using Association:

Association specification works with format arguments:

Options  (1)

UnitSystem  (1)

By default, results use the format given by $UnitSystem:

Set UnitSystem to "Imperial" to specify miles per hour:

Or set UnitSystem to "Metric" to specify kilometers per hour:

Properties & Relations  (2)

By default, location is specified by $GeoLocation:

WindVectorData combines the functionality of WindDirectionData and WindSpeedData:

Possible Issues  (1)

WindVectorData returns vectors in the upwind direction by default:

Use "DownwindGeoVectorENU" or "DownwindGeoVector" to get the vector in the direction the wind blows:

Neat Examples  (1)

Look at the wind vectors across the state of Illinois convolved with white noise:

Wolfram Research (2014), WindVectorData, Wolfram Language function, https://reference.wolfram.com/language/ref/WindVectorData.html (updated 2019).

Text

Wolfram Research (2014), WindVectorData, Wolfram Language function, https://reference.wolfram.com/language/ref/WindVectorData.html (updated 2019).

CMS

Wolfram Language. 2014. "WindVectorData." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2019. https://reference.wolfram.com/language/ref/WindVectorData.html.

APA

Wolfram Language. (2014). WindVectorData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/WindVectorData.html

BibTeX

@misc{reference.wolfram_2024_windvectordata, author="Wolfram Research", title="{WindVectorData}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/WindVectorData.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_windvectordata, organization={Wolfram Research}, title={WindVectorData}, year={2019}, url={https://reference.wolfram.com/language/ref/WindVectorData.html}, note=[Accessed: 22-November-2024 ]}