Jon Portnoy

NAME

Weather::OpenWeatherMap::Result::Forecast::Day

SYNOPSIS

  # Usually retrived via a Weather::OpenWeatherMap::Result::Forecast

DESCRIPTION

A Weather::OpenWeatherMap weather forecast for a single day.

ATTRIBUTES

Conditions

cloud_coverage

The forecast cloud coverage, as a percentage.

conditions_terse

The conditions category.

conditions_verbose

The conditions description string.

conditions_code

The OpenWeatherMap conditions code.

conditions_icon

The OpenWeatherMap conditions icon.

dt

  my $date = $result->dt->mdy;

A DateTime object coerced from the timestamp attached to this forecast.

humidity

The forecast humidity, as a percentage.

pressure

The forecast atmospheric pressure, in hPa.

Temperature

temp

An object containing the returned temperature data; this object provides morn, night, eve, min, max, day accessors.

See "temp_min_f", "temp_max_f".

temp_min_f

The forecast low temperature, in degrees Fahrenheit.

temp_max_f

The forecast high temperature, in degrees Fahrenheit.

temp_min_c

The forecast low temperature, in degrees Celsius.

temp_max_c

The forecast high temperature, in degrees Celsius.

Wind

wind_speed_mph

The forecast wind speed, in MPH.

wind_speed_kph

The forecast wind speed, in KPH.

wind_direction

The forecast wind direction, as a (inter-)cardinal direction in the set [ N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW ]

wind_direction_degrees

The forecast wind direction, in degrees azimuth.

SEE ALSO

http://www.openweathermap.org

Weather::OpenWeatherMap

Weather::OpenWeatherMap::Result

Weather::OpenWeatherMap::Result::Forecast

Weather::OpenWeatherMap::Result::Current

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>