WeatherCondition

Represents a weather condition for a given location at a given period of time.

Disclaimer: Weather icons and condition codes are subject to change. Google may introduce new codes and icons or update existing ones as needed. We encourage you to refer to this documentation regularly for the most up-to-date information.

JSON representation
{
  "iconBaseUri": string,
  "description": {
    object (LocalizedText)
  },
  "type": enum (Type)
}
Fields
iconBaseUri

string

The base URI for the icon not including the file type extension. To display the icon, append a theme if desired and the file type extension (.png or .svg) to this URI. By default, the icon is light themed, but _dark can be appended for dark mode. For example: "https://maps.gstatic.com/weather/v1/dust.svg" or "https://maps.gstatic.com/weather/v1/dust_dark.svg", where iconBaseUri is "https://maps.gstatic.com/weather/v1/dust".

Note: For weather condition types returned only in Japan and South Korea, iconBaseUri returns the not_available icon URI.

description

object (LocalizedText)

The textual description for this weather condition (localized).

type

enum (Type)

The type of weather condition.

Type

Marks the weather condition type in a forecast element's context.

Enums
TYPE_UNSPECIFIED The weather condition is unspecified.
CLEAR No clouds.
MOSTLY_CLEAR Periodic clouds.
PARTLY_CLOUDY Party cloudy (some clouds).
MOSTLY_CLOUDY Mostly cloudy (more clouds than sun).
CLOUDY Cloudy (all clouds, no sun).
WINDY High wind.
WIND_AND_RAIN High wind with precipitation.
LIGHT_RAIN_SHOWERS Light intermittent rain.
CHANCE_OF_SHOWERS Chance of intermittent rain.
SCATTERED_SHOWERS Intermittent rain.
RAIN_SHOWERS Showers are considered to be rainfall that has a shorter duration than rain, and is characterized by suddenness in terms of start and stop times, and rapid changes in intensity.
HEAVY_RAIN_SHOWERS Intense showers.
LIGHT_TO_MODERATE_RAIN Rain (light to moderate in quantity).
MODERATE_TO_HEAVY_RAIN Rain (moderate to heavy in quantity).
RAIN Moderate rain.
LIGHT_RAIN Light rain.
HEAVY_RAIN Heavy rain.
RAIN_PERIODICALLY_HEAVY Rain periodically heavy.
LIGHT_SNOW_SHOWERS Light snow that is falling at varying intensities for brief periods of time.
CHANCE_OF_SNOW_SHOWERS Chance of snow showers.
SCATTERED_SNOW_SHOWERS Snow that is falling at varying intensities for brief periods of time.
SNOW_SHOWERS Snow showers.
HEAVY_SNOW_SHOWERS Heavy snow showers.
LIGHT_TO_MODERATE_SNOW Light to moderate snow.
MODERATE_TO_HEAVY_SNOW Moderate to heavy snow.
SNOW Moderate snow.
LIGHT_SNOW Light snow.
HEAVY_SNOW Heavy snow.
SNOWSTORM Snow with possible thunder and lightning.
SNOW_PERIODICALLY_HEAVY Snow, at times heavy.
HEAVY_SNOW_STORM Heavy snow with possible thunder and lightning.
BLOWING_SNOW Snow with intense wind.
RAIN_AND_SNOW Rain and snow mix.
HAIL Hail.
HAIL_SHOWERS Hail that is falling at varying intensities for brief periods of time.
THUNDERSTORM Thunderstorm.
THUNDERSHOWER A shower of rain accompanied by thunder and lightning.
LIGHT_THUNDERSTORM_RAIN Light thunderstorm rain.
SCATTERED_THUNDERSTORMS Thunderstorms that has rain in various intensities for brief periods of time.
HEAVY_THUNDERSTORM Heavy thunderstorm.
CLEAR_AFTER_FOG_IN_THE_MORNING Clear after fog in the morning. This value is only returned for locations in Japan and South Korea.
CLEAR_BUT_LATER_TURNING_CLOUDY Clear but later turning cloudy. This value is only returned for locations in Japan and South Korea.
CLEAR_BUT_LATER_TURNING_TO_RAIN_AND_SNOW_MAIN_CONSTITUENT_RAIN Clear but later turning to rain and snow, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
CLEAR_BUT_LATER_TURNING_TO_SNOW_AND_RAIN_MAIN_CONSTITUENT_SNOW Clear but later turning to snow and rain, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
CLEAR_BUT_THUNDERSTORMS_LATER Clear but thunderstorms later. This value is only returned for locations in Japan and South Korea.
CLEAR_IN_THE_MORNING_BUT_CLOUDY_IN_THE_EVENING Clear in the morning but cloudy in the evening. This value is only returned for locations in Japan and South Korea.
CLEAR_IN_THE_MORNING_WITH_BRIEF_RAIN_IN_THE_EVENING Clear in the morning with brief rain in the evening. This value is only returned for locations in Japan and South Korea.
CLEAR_MORNING_WITH_BRIEF_RAIN Clear morning with brief rain. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_BRIEF_RAIN Clear with brief rain. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_BRIEF_RAIN_AND_SNOW_RAIN_AS_MAIN_CONSTITUENT Clear with brief rain and snow, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_BRIEF_RAIN_LATER Clear with brief rain later. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_BRIEF_SNOW Clear with brief snow. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_BRIEF_SNOW_AND_RAIN_SNOW_AS_MAIN_CONSTITUENT Clear with brief snow and rain, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_BRIEF_SNOW_LATER Clear with brief snow later. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_CLOUDS_LATER Clear with periodic clouds later. This field is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_RAIN Clear with periodic rain. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_RAIN_ACCOMPANIED_BY_THUNDER Clear with periodic rain accompanied by thunder. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_RAIN_AND_SNOW_RAIN_AS_MAIN_CONSTITUENT Clear with periodic rain and snow, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_RAIN_LATER Clear with periodic rain later. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_SNOW Clear with periodic snow. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_SNOW_AND_RAIN_SNOW_AS_MAIN_CONSTITUENT Clear with periodic snow and rain, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_PERIODIC_SNOW_LATER Clear with periodic snow later. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_RAIN_AFTER_MIDNIGHT Clear with rain after midnight. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_RAIN_IN_THE_NIGHT Clear with rain in the night. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_RAIN_LATER Clear with rain later. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_SNOW_ALONG_THE_MOUNTAINS Clear with snow along the mountains. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_SNOW_LATER Clear with snow later. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_THUNDERSTORMS_ALONG_THE_MOUNTAINS Clear with thunderstorms along the mountains. This value is only returned for locations in Japan and South Korea.
CLEAR_WITH_THUNDERSTORMS_IN_THE_AFTERNOON Clear with thunderstorms in the afternoon. This value is only returned for locations in Japan and South Korea.
CLOUDY_BUT_CLEAR_LATER Cloudy but clear later. This value is only returned for locations in Japan and South Korea.
CLOUDY_BUT_LATER_TURNING_TO_RAIN_AND_SNOW_MAIN_CONSTITUENT_RAIN Cloudy but later turning to rain and snow, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
CLOUDY_BUT_LATER_TURNING_TO_SNOW_AND_RAIN_MAIN_CONSTITUENT_SNOW Cloudy but later turning to snow and rain, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
CLOUDY_BUT_PERIODICALLY_CLEAR_LATER Cloudy but periodically clear later. This value is only returned for locations in Japan and South Korea.
CLOUDY_BUT_THUNDERSTORMS_LATER Cloudy but thunderstorms later. This value is only returned for locations in Japan and South Korea.
CLOUDY_MORNING_WITH_BRIEF_RAIN Cloudy morning with brief rain. This value is only returned for locations in Japan and South Korea.
CLOUDY_PERIODICALLY_CLEAR Cloudy periodically clear. This value is only returned for locations in Japan and South Korea.
CLOUDY_SNOWING_IN_THE_EVENING Cloudy, with snow in the evening. This value is only returned for locations in Japan and South Korea.
CLOUDY_SNOWING_IN_THE_NIGHT Cloudy, with snow at night. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_RAIN Cloudy with brief rain. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_RAIN_AND_SNOW_RAIN_AS_MAIN_CONSTITUENT Cloudy with brief rain and snow, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_RAIN_LATER Cloudy with brief rain later. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_SNOW Cloudy with brief snow. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_SNOW_AND_RAIN_SNOW_AS_MAIN_CONSTITUENT Cloudy with brief snow and rain, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_SNOW_LATER Cloudy with brief snow later. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_BRIEF_THUNDERSTORM Cloudy with brief thunderstorm. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_FOG_ON_THE_OCEAN_AND_AT_THE_SEASHORE Cloudy with fog on the ocean and at the seashore. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_RAIN Cloudy with periodic rain. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_RAIN_ACCOMPANIED_BY_THUNDER Cloudy with periodic rain accompanied by thunder. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_RAIN_AND_SNOW_RAIN_AS_MAIN_CONSTITUENT Cloudy with periodic rain and snow, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_RAIN_LATER Cloudy with periodic rain later. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_SNOW Cloudy with periodic snow. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_SNOW_ACCOMPANIED_BY_THUNDER Cloudy with periodic snow accompanied by thunder. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_SNOW_AND_RAIN_SNOW_AS_MAIN_CONSTITUENT Cloudy with periodic snow and rain, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_PERIODIC_SNOW_LATER Cloudy with periodic snow later. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_RAIN_AFTER_MIDNIGHT Cloudy with rain after midnight. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_RAIN_FROM_ABOUT_NOON Cloudy with rain from about noon. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_RAIN_FROM_EVENING Cloudy with rain from evening. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_RAIN_LATER Cloudy with rain later. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_SNOW_FROM_AROUND_NOON Cloudy with snow from around noon. This value is only returned for locations in Japan and South Korea.
CLOUDY_WITH_SNOW_LATER Cloudy with snow later. This value is only returned for locations in Japan and South Korea.
FOG Fog. This value is only returned for locations in Japan and South Korea.
RAINSNOW_MIX_LATER_BECOMING_CLEAR_RAIN_AS_MAIN Rain-snow mix, later becoming clear, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
RAINSNOW_MIX_RAIN_AS_MAIN Rain-snow mix, with rain as the main constituent. This value is only returned for locations in Japan and South Korea.
RAINY_BUT_PERIODICALLY_CLEAR Rainy but periodically clear. This value is only returned for locations in Japan and South Korea.
RAIN_ACCOMPANIED_BY_LIGHTNING Rain accompanied by lightning. This value is only returned for locations in Japan and South Korea.
RAIN_ACCOMPANIED_BY_WINDSTORM Rain accompanied by windstorm. This value is only returned for locations in Japan and South Korea.
RAIN_CLEAR_AT_NIGHT Rain, clearing at night. This value is only returned for locations in Japan and South Korea.
RAIN_CLEAR_FROM_AROUND_EVENING Rain, clearing from around evening. This value is only returned for locations in Japan and South Korea.
RAIN_CLEAR_FROM_AROUND_NOON Rain, clearing from around noon. This value is only returned for locations in Japan and South Korea.
RAIN_LATER_BECOMING_CLEAR Rain, later becoming clear. This value is only returned for locations in Japan and South Korea.
RAIN_LATER_BECOMING_CLOUDY Rain, later becoming cloudy. This value is only returned for locations in Japan and South Korea.
RAIN_LATER_BECOMING_SNOW Rain, later becoming snow. This value is only returned for locations in Japan and South Korea.
RAIN_LATER_WITH_PERIODIC_SNOW Rain, later with periodic snow. This value is only returned for locations in Japan and South Korea.
RAIN_SNOW_AT_NIGHT Rain and snow at night. This value is only returned for locations in Japan and South Korea.
RAIN_SNOW_IN_THE_EVENING Rain and snow in the evening. This value is only returned for locations in Japan and South Korea.
RAIN_TEMPORARILY_BECOMING_SLEET Rain, temporarily becoming sleet. This value is only returned for locations in Japan and South Korea.
RAIN_THAT_PERIODICALLY_STOPS Rain that periodically stops. This value is only returned for locations in Japan and South Korea.
RAIN_WITH_BRIEF_SNOW Rain with brief snow. This value is only returned for locations in Japan and South Korea.
RAIN_WITH_PERIODIC_SNOW Rain with periodic snow. This value is only returned for locations in Japan and South Korea.
SNOWRAIN_MIX_LATER_BECOMING_CLEAR_SNOW_AS_MAIN Snow-rain mix, later becoming clear, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
SNOWRAIN_MIX_LATER_BECOMING_CLOUDY_SNOW_AS_MAIN Snow-rain mix, later becoming cloudy, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
SNOWRAIN_MIX_SNOW_AS_MAIN Snow-rain mix, with snow as the main constituent. This value is only returned for locations in Japan and South Korea.
SNOW_ACCOMPANIED_BY_LIGHTNING Snow accompanied by lightning. This value is only returned for locations in Japan and South Korea.
SNOW_BECOMING_SLEET Snow, becoming sleet. This value is only returned for locations in Japan and South Korea.
SNOW_LATER_CLEAR Snow, later clearing. This value is only returned for locations in Japan and South Korea.
SNOW_LATER_CLOUDY Snow, later becoming cloudy. This value is only returned for locations in Japan and South Korea.
SNOW_LATER_RAIN Snow, later becoming rain. This value is only returned for locations in Japan and South Korea.
SNOW_PERIODICALLY_CLEAR Snow, periodically clearing. This value is only returned for locations in Japan and South Korea.
SNOW_THAT_PERIODICALLY_STOPS Snow that periodically stops. This value is only returned for locations in Japan and South Korea.
SNOW_TURNING_TO_RAIN_AROUND_NOON Snow turning to rain around noon. This value is only returned for locations in Japan and South Korea.
SNOW_TURNING_TO_RAIN_IN_THE_EVENING Snow turning to rain in the evening. This value is only returned for locations in Japan and South Korea.
SNOW_TURNING_TO_RAIN_IN_THE_NIGHT Snow turning to rain at night. This value is only returned for locations in Japan and South Korea.
SNOW_WITH_BRIEF_RAIN Snow with brief rain. This value is only returned for locations in Japan and South Korea.
SNOW_WITH_BRIEF_SLEET Snow with brief sleet. This value is only returned for locations in Japan and South Korea.
SNOW_WITH_PERIODIC_RAIN Snow with periodic rain. This value is only returned for locations in Japan and South Korea.
VERY_HOT Very hot. This value is only returned for locations in Japan and South Korea.
SLEET Sleet. This value is only returned for locations in Japan and South Korea.
HEAVY_RAIN_TO_RAINSTORM Heavy rain to rainstorm. This value is only returned for locations in Japan and South Korea.