The Visual Crossing Weather Data platform provides the ability to easily access weather data sets including weather forecast data, weather history data and historical weather summary data. The data is available for download through the Weather Data Query Page and the Timeline Weather API.
Core weather columns
These columns are common to most weather data sets unless disabled. Advanced weather elements are also available including agricultural and energy elements.
Element | Description | US | metric | UK |
tempmax | Maximum Temperature | F | C | C |
tempmin | Minimum Temperature | F | C | C |
temp | Temperature (or mean temperature) | F | C | C |
dew | Dew Point | F | C | C |
feelslike | Feels like | F | C | C |
precip | Precipitation | inches | mm | mm |
precipprob | Precipitation chance | % | % | % |
precipcover | Precipitation Cover | % | % | % |
preciptype | Precipitation type | – | – | – |
snow | Snow | inches | cm | cm |
snowdepth | Snow Depth | inches | cm | cm |
windspeed | Wind Speed | mph | kph | kph |
windgust | Wind Gust | mph | kph | kph |
winddir | Wind Direction | degrees | degrees | degrees |
visibility | Visibility | miles | km | km |
cloudcover | Cloud Cover | % | % | % |
humidity | Relative Humidity | % | % | % |
pressure | Sea Level Pressure | mb | mb | mb |
solarradiation | Solar Radiation | W/m2 | W/m2 | W/m2 |
solarenergy | Solar Energy | MJ/m2 | MJ/m2 | MJ/m2 |
uvindex | UV Index | – | – | – |
severerisk | Severe Risk | – | – | – |
sunrise | Sunrise time | – | – | – |
sunset | Sunset time | – | – | – |
moonphase | Moonphase | – | – | – |
icon | A weather icon | – | – | – |
conditions | Short text about the weather | – | – | – |
description | Description of the weather for the day | – | – | – |
stations | List of weather stations sources | – | – | – |
Temperature (temp, tempmax, tempmin)
There are three main columns for indicating temperature – Minimum Temperature, Maximum Temperature and Temperature. These will return data in Fahrenheit, Celsius or Kelvin depending on the unit group. The three temperature columns indicate the minimum, maximum and average (mean) temperature for the time period in question. For example, if you request daily data then you will receive the data for minimum, maximum and mean temperature for each day. If you request data for the shortest available timeframe for that request (typically one hour), the minimum, maximum and mean are returned with the same value. All data sets will include all three columns even if the values are the same to ease consumption of the data sets and keep data set consistency.
Wind (wspd, wdir, wgust)
Wind data includes wind speed, wind gust and wind direction.
Wind speed and wind direction (wspd, wdir)
The wind speed and wind direction indicate the wind speed for the location and time period requested. The hourly speed and direction values are the average (mean) of the speed and direction for the two minutes prior to the measurement being record. Daily and other time period values display the maximum of the hourly values. In the Timeline Weather API, the mean and minimum daily windspeed values are also available.
The units of the data will be in miles per hour, kilometers per hour or m/s depending on the unit group.
Wind speed is typically measured 10m above ground in a location with no nearby obstructions.
The wind direction indicates the direction from where the wind is blowing from. The units of the wind direction is degrees from north. The value ranges from 0 degrees (from the North), to 90 degrees (from the east), 180 degrees (from the south), 270 (from the west) back to 360 degrees.
Wind gust (wgust)
Wind gust is the maximum wind speed measures over a short amount of time (typically less than 20 seconds). Note that a wind gust requires the measured short term wind speed to be significantly more than mean wind speed. Typically, the wind speed should be 10 knots more (11mph or 18kph). When the wind gust does not meet these criteria, a null/empty value is returned.
The wind direction indicates the direction from where the wind is blowing from. The units of the wind direction is degrees from north. The value ranges from 0 degrees (from the North), to 90 degrees (from the east), 180 degrees (from the south), 270 (from the west) back to 360 degrees.
Precipitation (precip, precipchance and precipcover)
Precipitation is the sum of the amount of liquid equivalent rainfall, snow or other precipitation that fell is predicted to fall in the period. Three output variables cover precipitation:
Precipitation (precip)
The amount of precipitation that fell or is predicted to fall in the specified time period. The values are indicated in inches or mm.
Chance of precipitation (precipchance)
The possibility of precipitation for the given time period expressed as a percentage change from 0-100%. This applies to the forecast queries only.
Precipitation Coverage
This is the proportion of time for which measurable precipitation was recorded during the time period, expressed as a percentage. For example, if within a 24 hour day there are six hours of measurable rainfall, the precipitation coverage is 25% (6/24*100). This information is only available for historical weather observation data and historical summaries. Note that where as trace precipitation is considered zero value for the precipitation column, a trace precipitation report will be considered as precipitation for the precipitation coverage column. Therefore it is possible to observe zero reported precipitation with a non-zero precipitation coverage.
Precipitation Type (preciptype )
(Forecast only) Provides the type(s) of precipitation expected. Possible values include rain, snow, freezing rain and ice.
Cloud cover (cloudcover)
Cloud cover is the amount of sky that is covered by cloud expressed as a percentage. The cloud coverage is for all altitudes. Daily values include the mean of the hourly cloud coverage values.
Snow and Snow Depth (snow, snowdepth)
Snow is the amount of new snow that has fallen in the time period. Snow depth is the average amount of snow currently on the ground for the time period. Snow depth will increase with additional snowfall and decrease with melting and compaction. Both snow and snow depth are expressed in inches or centimeters.
Relative Humidity, Feelslike, Heat Index and Wind Chill (humidity, heatindex, windchill)
Relative humidity (humidity)
Relative humidity is the amount of water vapor present in the air compared the maximum amount possible for a given temperature, expressed as a mean percentage. Human comfort levels are typically found between 30-70%. Values higher than 70% are considered humid. Values lower than 30% are considered dry.
Feelslike, Heat Index and Wind chill
Heat Index is a measure of how hot it feels combining the actual air temperature with the relative humidity. High humidity is associated with discomfort by making the apparent temperature hotter than it would otherwise feel. Values are expressed in the same units as temperature. Heat index values are only calculated when the temperature is greater than 80F (about 26.7C) and the relative humidity is greater than 40%. An empty value is returned outside of these ranges.
Wind chill is the measure of how cold it feels combining the actual air temperature with the wind speed. Wind makes temperatures feel colder than when the air is still. Values are expressed in the same units as temperature. Wind chill values are only calculated when the temperature is less than 50F (about 10C) and the wind speed is greater than 3mph (5kph). An empty value is returned outside of these ranges.
Temperature, heat index and wind chill are combined into a single ‘feelslike’ element for clarity and ease of use. The daily maximum (feelslikemax) and minimum (feelslikemin) are included in daily values. See What is the difference between temperature, heat index, wind chill, feels like temperature, apparent temperature and RealFeel Temperature? for more information.
Visibility
Visibility is the distance that can be seen in daylight. This accounts for weather phenomenon such as haze, mist, fog or smoke. The distance is expressed in miles or kilometers.
Sea Level Pressure (sealevelpressure)
The atmospheric pressure at a location that removes reduction in pressure due to the altitude of the location. This is expressed in millibars.
Solar radiation and energy
Solar radiation and solar energy are available in the forecast and historical observations datasets. The solar radiation measures the power (in W/m2) at the instantaneous moment of the observation (or forecast prediction). The solar energy (in MJ/m2 ) indicates the total energy from the sun that builds up over an hour or day. See the full solar radiation data documentation.
UV Index
A value between 0 and 10 indicating the level of ultra violet (UV) exposure for that hour or day. 10 represents high level of exposure, and 0 represents no exposure. The UV index is calculated based on amount of short wave solar radiation which in turn is a level the cloudiness, type of cloud, time of day, time of year and location altitude. Daily values represent the maximum value of the hourly values.
Weather Type (conditions)
Notable weather conditions reported at a particular location such as any thunderstorms, rainfall etc. The availability of this data is dependent on the weather station that observed the information and is not reported by all weather stations – the absence of a particular weather type should not be considered evidence that the weather type did not occur. Weather type is only available for historical datasets and relies on the weather stations providing the data.
See Weather Data Conditions for more information.
Astronomical information
Sunset & sunrise
The time of the sunrise and sunset for the date and location in question. Times are given in the local time zone.
Moonphase
A decimal value representing the current moon phase between 0 and 1 where 0 represents the new moon, 0.5 represents the full moon. The full cycle can be represented as:
- 0 – new moon
- 0-0.25 – waxing crescent
- 0.25 – first quarter
- 0.25-0.5 – waxing gibbous
- 0.5 – full moon
- 0.5-0.75 – waning gibbous
- 0.75 – last quarter
- 0.75 -1 – waning crescent
Icons
The icon field holds a text value that users can use to indicate which icon to show when displaying the weather data. For more information, and sample icons sets, please see Defining the icon set parameter in the Weather API.
Descriptions and language support
The text descriptions that are included can be returned in different languages using the ‘lang’ API parameter.
For more information, please see the Timeline Weather API documentations and How to create or modify language files.
Contributing Stations
For historical observations, indicates the weather stations that were used for creating the observation. This is a list of weather station names, their ID within the Visual Crossing weather data platform and the distance from the requested location to the weather station. For more information on how weather station data is combined, please read more.
General weather data structure
We aim to keep the data set structure as consistent as possible between the three main categories of data – weather forecast, historical weather observations and historical weather summaries. This allows you to easily switch between using data for weather forecast and historical records within the same data and can be useful in many applications. All the data sets include the following characteristics:
Data Set Structure
All data sets are a simple table structure which is available in multiple formats including plain text delimited such as CSV, JSON and ODATA. The data includes a single row of headers information indicating the information in the column. These column headers will either be in a human readable header that may be translated or in a single, short form which is not translated. The short form is typically used for Weather API usage to make it easier to consume the data. When using the Weather API, the shortColumnNames parameters indicates whether or not short column names will be used.
Hourly and Daily Dataset Aggregation
All data within the a system is calculated at the hourly data level for accuracy and consistency. When requests are made for longer time periods, such as daily weather forecast or monthly historical summaries, the hourly data is aggregated using average (mean), sum, minimum or maximum functions. The individual column documentation below explains the aggregation method used.
Unit group
The units of the data are specified by the overall unit group requests such as metric, US units etc. This unit group defines the unit of measure used for each column type – all columns of the same variable type will have the same unit. For example, Celsius will be used for all temperature related quantities when the unit group is set to metric.
Common columns
Data sets will typically include information about the location, period or data time. If the requested data includes address, the address information is included in the return value. In addition, the latitude and longitude of the requested locations are returned using decimals degrees. The longitude value are zero based at the prime meridian. Values west of the prime meridian are negative and east are positive.
For more information on how dates and times are returned in the Weather API results, see Dates and Times in the Weather API.
Empty values
Empty values (or null values) are used within the data set to indicate an absence of data, such as missing weather information or unknown data. They are not used to indicate a zero value. For example, an unknown precipitation value will be marked as empty or null. A zero amount of precipitation will be indicated by the value zero.
Weather element availability
We aim to include all weather elements such as temperature, wind, precipitation etc. for all locations. Unfortunately not all locations report all weather elements. In those cases the columns will be included in the data but include null values. We continue to expand the availability of weather elements as we add additional data sets and data processing.
Questions or need help?
If you have a question or need help, please post on our actively monitored forum for the fastest replies. You can also contact us via our support site or drop us an email at support@visualcrossing.com.
Does ‘snow depth’ show the average amount of snow on the ground for that day’s time period, or can that ‘average amount’ span multiple days?
Thank you for your question. Snow depth is measured hourly by most weather stations. For longer periods of time (such as daily periods), we return the average amount for all the hours in that day.Historical summaries that longer periods such as weeks or months will also use the average amount.
Regards
Visual Crossing Support
Good day,
Can I check if data for certain areas are restricted or only available in paid subscriptions? Tried extracting the data for various points in Brazil (using specific longitude/latitude coordinates) and the precipitation data were all indicated as “0” except for 1 date – which shouldn’t be the case. Or is this a limitation from the source where the data is obtained from.
Appreciate the help!
Thank you for your question. We do not limit data availability based on subscription. The problem you are seeing may be due to the local stations not reporting rainfall correctly. We have an article to help identify problems with the data. See I think that I’m seeing bad weather data. What should I do?. If that does not help, please send a note to us at info@visualcrossing.com and we can help investigate.
Regards
Visual Crossing Support
Hi Visual Crossing,
Do you have data on the global solar radiation as well? I have been searching a lot on this, but have not been able to find anyone yet, that provides forecasts on the global solar radiation. Is this not a usual parameter to forecast from a meteorological point of view?
Cheers!
Thank you for the question.
We are currently rolling out solar radiation data. It is currently available in the standard 15-day forecast results if you enable ‘Show all columns’. For API queries, you need to set the dataElements parameter to ‘all’ (ie &dataElements=all) to retrieve the Solar Radiation column. We will rolling out the solar radiation for historical datasets in the near future. If you would like an update, please email support@visualcrossing.com to be put on the notification list for when this is released.
Regards
Visual Crossing Support
What’s the refresh frequency of the weather forecast?
The weather forecasts are updated throughout the day based on the combination of multiple weather forecast models. In many places, such as North America and Europe, multiple models are used to combine the higher accuracy shorter term local models with the long term models such as the GFS model. In most locations this means the forecast is updated approximately every three hours.
For more information, see How do we create our multi-location weather forecast?.
Regards
Visual Crossing Support
Hi VisualCrossing
Will you provide some variables relating to AIQ? Copernicus keeps aggregating indecies of aerosols and chemicals on S3 Amazon forming a huge retrospective data lake. Covid19 enforces more exigent need of air quality in some metros.
Thank you.
Thank you for your question. We have been evaluating environmental variables for inclusion in our weather data. We do not currently have a release timeframe. Please contact support at support@visualcrossing.com if you would like to be notified when the feature is released.
Regards
Visual Crossing Support
Is there a list of all the possible conditions (historical weather) and icons (forecast information). I need to map these to enumerated types for calculation purposes. (i.e. clear, rain, cloudy, partly-cloudy, etc.)
Eric
Thank you for your email. The list of icons is available in the following article: Defining the icon set parameter in the Weather API.
The conditions field is documented here: Weather Data Conditions. If you are looking to access the information programmatically, we recommend you request the ‘id’ version of the language parameter as this will not change if we make corrections or improvements to our translations.
You can find the full list of current weather conditions in the language files on our public repository.
Regards
Visual Crossing Support
I’m using the API to retrieve the hourly values for the previous day. In the API query string there is a parameter called ‘dataElements’ set to a value of ‘default’.
On the web page to test a particular query string, there is a checkbox labelled ‘Show all columns.’
Are these 2 items somehow related? When I run the query and get output, I see a particular set of columns. When I click the checkbox, additional columns are added to the display.
Can I get all those columns via the API? Is that controlled by the ‘dataElements’ parameter? What are the permitted values for ‘dataElements?’
Thanks in advance
Thank you for your question. The checkbox ‘show all columns’ are different settings. The ‘show all columns’ is a UI feature to hide some lesser used columns. To request the full set of columns, use dataElements=all. The full set of dataElement values are ‘legacy’, ‘default’ and ‘all’.
It’s a little confusing but ‘legacy’ is the option used if no option is specified at all. This is keep column compatibility for clients that have a usage where the number of columns or column order change would break compatibility. If you do write a script against ‘all’ please ensure that it able to handle a change in the order of the columns or additional columns.
Regards
Visual Crossing Support