Products
  • Wolfram|One

    The definitive Wolfram Language and notebook experience

  • Mathematica

    The original technical computing environment

  • Wolfram Notebook Assistant + LLM Kit

    All-in-one AI assistance for your Wolfram experience

  • System Modeler
  • Wolfram Player
  • Finance Platform
  • Wolfram Engine
  • Enterprise Private Cloud
  • Application Server
  • Wolfram|Alpha Notebook Edition
  • Wolfram Cloud App
  • Wolfram Player App

More mobile apps

Core Technologies of Wolfram Products

  • Wolfram Language
  • Computable Data
  • Wolfram Notebooks
  • AI & Linguistic Understanding

Deployment Options

  • Wolfram Cloud
  • wolframscript
  • Wolfram Engine Community Edition
  • Wolfram LLM API
  • WSTPServer
  • Wolfram|Alpha APIs

From the Community

  • Function Repository
  • Community Paclet Repository
  • Example Repository
  • Neural Net Repository
  • Prompt Repository
  • Wolfram Demonstrations
  • Data Repository
  • Group & Organizational Licensing
  • All Products
Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

  • Data & Computational Intelligence
  • Model-Based Design
  • Algorithm Development
  • Wolfram|Alpha for Business
  • Blockchain Technology
  • Education Technology
  • Quantum Computation

WolframConsulting.com

Wolfram Solutions

  • Data Science
  • Artificial Intelligence
  • Biosciences
  • Healthcare Intelligence
  • Sustainable Energy
  • Control Systems
  • Enterprise Wolfram|Alpha
  • Blockchain Labs

More Wolfram Solutions

Wolfram Solutions For Education

  • Research Universities
  • Colleges & Teaching Universities
  • Junior & Community Colleges
  • High Schools
  • Educational Technology
  • Computer-Based Math

More Solutions for Education

  • Contact Us
Learning & Support

Get Started

  • Wolfram Language Introduction
  • Fast Intro for Programmers
  • Fast Intro for Math Students
  • Wolfram Language Documentation

More Learning

  • Highlighted Core Areas
  • Demonstrations
  • YouTube
  • Daily Study Groups
  • Wolfram Schools and Programs
  • Books

Grow Your Skills

  • Wolfram U

    Courses in computing, science, life and more

  • Community

    Learn, solve problems and share ideas.

  • Blog

    News, views and insights from Wolfram

  • Resources for

    Software Developers

Tech Support

  • Contact Us
  • Support FAQs
  • Support FAQs
  • Contact Us
Company
  • About Wolfram
  • Career Center
  • All Sites & Resources
  • Connect & Follow
  • Contact Us

Work with Us

  • Student Ambassador Initiative
  • Wolfram for Startups
  • Student Opportunities
  • Jobs Using Wolfram Language

Educational Programs for Adults

  • Summer School
  • Winter School

Educational Programs for Youth

  • Middle School Camp
  • High School Research Program
  • Computational Adventures

Read

  • Stephen Wolfram's Writings
  • Wolfram Blog
  • Wolfram Tech | Books
  • Wolfram Media
  • Complex Systems

Educational Resources

  • Wolfram MathWorld
  • Wolfram in STEM/STEAM
  • Wolfram Challenges
  • Wolfram Problem Generator

Wolfram Initiatives

  • Wolfram Science
  • Wolfram Foundation
  • History of Mathematics Project

Events

  • Stephen Wolfram Livestreams
  • Online & In-Person Events
  • Contact Us
  • Connect & Follow
Wolfram|Alpha
  • Your Account
  • User Portal
  • Wolfram Cloud
  • Products
    • Wolfram|One
    • Mathematica
    • Wolfram Notebook Assistant + LLM Kit
    • System Modeler
    • Wolfram Player
    • Finance Platform
    • Wolfram|Alpha Notebook Edition
    • Wolfram Engine
    • Enterprise Private Cloud
    • Application Server
    • Wolfram Cloud App
    • Wolfram Player App

    More mobile apps

    • Core Technologies
      • Wolfram Language
      • Computable Data
      • Wolfram Notebooks
      • AI & Linguistic Understanding
    • Deployment Options
      • Wolfram Cloud
      • wolframscript
      • Wolfram Engine Community Edition
      • Wolfram LLM API
      • WSTPServer
      • Wolfram|Alpha APIs
    • From the Community
      • Function Repository
      • Community Paclet Repository
      • Example Repository
      • Neural Net Repository
      • Prompt Repository
      • Wolfram Demonstrations
      • Data Repository
    • Group & Organizational Licensing
    • All Products
  • Consulting & Solutions

    We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

    WolframConsulting.com

    Wolfram Solutions

    • Data Science
    • Artificial Intelligence
    • Biosciences
    • Healthcare Intelligence
    • Sustainable Energy
    • Control Systems
    • Enterprise Wolfram|Alpha
    • Blockchain Labs

    More Wolfram Solutions

    Wolfram Solutions For Education

    • Research Universities
    • Colleges & Teaching Universities
    • Junior & Community Colleges
    • High Schools
    • Educational Technology
    • Computer-Based Math

    More Solutions for Education

    • Contact Us
  • Learning & Support

    Get Started

    • Wolfram Language Introduction
    • Fast Intro for Programmers
    • Fast Intro for Math Students
    • Wolfram Language Documentation

    Grow Your Skills

    • Wolfram U

      Courses in computing, science, life and more

    • Community

      Learn, solve problems and share ideas.

    • Blog

      News, views and insights from Wolfram

    • Resources for

      Software Developers
    • Tech Support
      • Contact Us
      • Support FAQs
    • More Learning
      • Highlighted Core Areas
      • Demonstrations
      • YouTube
      • Daily Study Groups
      • Wolfram Schools and Programs
      • Books
    • Support FAQs
    • Contact Us
  • Company
    • About Wolfram
    • Career Center
    • All Sites & Resources
    • Connect & Follow
    • Contact Us

    Work with Us

    • Student Ambassador Initiative
    • Wolfram for Startups
    • Student Opportunities
    • Jobs Using Wolfram Language

    Educational Programs for Adults

    • Summer School
    • Winter School

    Educational Programs for Youth

    • Middle School Camp
    • High School Research Program
    • Computational Adventures

    Read

    • Stephen Wolfram's Writings
    • Wolfram Blog
    • Wolfram Tech | Books
    • Wolfram Media
    • Complex Systems
    • Educational Resources
      • Wolfram MathWorld
      • Wolfram in STEM/STEAM
      • Wolfram Challenges
      • Wolfram Problem Generator
    • Wolfram Initiatives
      • Wolfram Science
      • Wolfram Foundation
      • History of Mathematics Project
    • Events
      • Stephen Wolfram Livestreams
      • Online & In-Person Events
    • Contact Us
    • Connect & Follow
  • Wolfram|Alpha
  • Wolfram Cloud
  • Your Account
  • User Portal
Wolfram Language & System Documentation Center
WindDirectionData
  • See Also
    • WeatherData
    • WeatherForecastData
    • AirPressureData
    • AirTemperatureData
    • WindSpeedData
    • WindVectorData
  • Related Guides
    • Weather Data
    • Earth Sciences: Data & Computation
    • Spatial Estimation
    • See Also
      • WeatherData
      • WeatherForecastData
      • AirPressureData
      • AirTemperatureData
      • WindSpeedData
      • WindVectorData
    • Related Guides
      • Weather Data
      • Earth Sciences: Data & Computation
      • Spatial Estimation

WindDirectionData[]

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

WindDirectionData[datespec]

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

WindDirectionData[locationspec]

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

WindDirectionData[locationspec,datespec]

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

WindDirectionData[{{location1,date1},{location2,date2},…}]

gives values for all specified locations on the specified dates.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Scope  
Location Specification  
Station Properties  
Date Specification  
Lists of Locations  
Format Specification  
Association Specification  
Options  
UnitSystem  
Applications  
Properties & Relations  
Interactive Examples  
Neat Examples  
See Also
Related Guides
History
Cite this Page
BUILT-IN SYMBOL
  • See Also
    • WeatherData
    • WeatherForecastData
    • AirPressureData
    • AirTemperatureData
    • WindSpeedData
    • WindVectorData
  • Related Guides
    • Weather Data
    • Earth Sciences: Data & Computation
    • Spatial Estimation
    • See Also
      • WeatherData
      • WeatherForecastData
      • AirPressureData
      • AirTemperatureData
      • WindSpeedData
      • WindVectorData
    • Related Guides
      • Weather Data
      • Earth Sciences: Data & Computation
      • Spatial Estimation

WindDirectionData

WindDirectionData[]

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

WindDirectionData[datespec]

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

WindDirectionData[locationspec]

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

WindDirectionData[locationspec,datespec]

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

WindDirectionData[{{location1,date1},{location2,date2},…}]

gives values for all specified locations on the specified dates.

Details and Options

  • WindDirectionData gives current and historical wind direction data for all standard weather stations worldwide.
  • WindDirectionData[] makes use of $GeoLocation and $TimeZone to determine your location and time zone. It returns the most recent measurement of wind direction 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. WindDirectionData gives measurements 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 as a DateObject.
  • WindDirectionData[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].
  • WindDirectionData[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 direction is returned in degrees as measured clockwise from the north.
  • 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
  • WindDirectionData[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
  • WindDirectionData can retrieve observational wind direction data from meteorological stations throughout the world.

Examples

open all close all

Basic Examples  (1)

Find the most recent wind direction measurement near your current location as measured clockwise from due north:

Obtain the wind direction for a specific weather station:

Obtain the interpolated wind direction at a specific date for a location:

Scope  (19)

Location Specification  (6)

The current wind direction 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 appropriate Entity using free-form input ():

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

Find the wind direction 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 directions for that time period:

Lists of Locations  (3)

Lists of locations can be provided:

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

Find the calculated wind directions of multiple locations and dates:

Format Specification  (2)

Find the wind direction for an extended location:

Obtain the maximum or minimum angle of the wind:

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

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 adjust the units:

Applications  (1)

Examine the distribution of wind direction measurements over a year:

Average over the recorded wind directions for the year to find the dominant direction:

Properties & Relations  (2)

By default, location is specified by $GeoLocation:

Find all stations in a region with GeoEntities:

Find the wind direction at all stations:

Interactive Examples  (1)

Visualize the change in wind direction measurements over time:

Neat Examples  (1)

Explore how the winds shift and focus in direction during the monsoon season in southwestern India:

See Also

WeatherData  WeatherForecastData  AirPressureData  AirTemperatureData  WindSpeedData  WindVectorData

Related Guides

    ▪
  • Weather Data
  • ▪
  • Earth Sciences: Data & Computation
  • ▪
  • Spatial Estimation

History

Introduced in 2014 (10.0)

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

Text

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

CMS

Wolfram Language. 2014. "WindDirectionData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/WindDirectionData.html.

APA

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

BibTeX

@misc{reference.wolfram_2025_winddirectiondata, author="Wolfram Research", title="{WindDirectionData}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/WindDirectionData.html}", note=[Accessed: 01-December-2025]}

BibLaTeX

@online{reference.wolfram_2025_winddirectiondata, organization={Wolfram Research}, title={WindDirectionData}, year={2014}, url={https://reference.wolfram.com/language/ref/WindDirectionData.html}, note=[Accessed: 01-December-2025]}

Top
Introduction for Programmers
Introductory Book
Wolfram Function Repository | Wolfram Data Repository | Wolfram Data Drop | Wolfram Language Products
Top
  • Products
  • Wolfram|One
  • Mathematica
  • Notebook Assistant + LLM Kit
  • System Modeler

  • Wolfram|Alpha Notebook Edition
  • Wolfram|Alpha Pro
  • Mobile Apps

  • Wolfram Player
  • Wolfram Engine

  • Volume & Site Licensing
  • Server Deployment Options
  • Consulting
  • Wolfram Consulting
  • Repositories
  • Data Repository
  • Function Repository
  • Community Paclet Repository
  • Neural Net Repository
  • Prompt Repository

  • Wolfram Language Example Repository
  • Notebook Archive
  • Wolfram GitHub
  • Learning
  • Wolfram U
  • Wolfram Language Documentation
  • Webinars & Training
  • Educational Programs

  • Wolfram Language Introduction
  • Fast Introduction for Programmers
  • Fast Introduction for Math Students
  • Books

  • Wolfram Community
  • Wolfram Blog
  • Public Resources
  • Wolfram|Alpha
  • Wolfram Problem Generator
  • Wolfram Challenges

  • Computer-Based Math
  • Computational Thinking
  • Computational Adventures

  • Demonstrations Project
  • Wolfram Data Drop
  • MathWorld
  • Wolfram Science
  • Wolfram Media Publishing
  • Customer Resources
  • Store
  • Product Downloads
  • User Portal
  • Your Account
  • Organization Access

  • Support FAQ
  • Contact Support
  • Company
  • About Wolfram
  • Careers
  • Contact
  • Events
Wolfram Community Wolfram Blog
Legal & Privacy Policy
WolframAlpha.com | WolframCloud.com
© 2025 Wolfram
© 2025 Wolfram | Legal & Privacy Policy |
English