Interface CurrentDataBlock

A DataBlock that represents the current forecast information.

Hierarchy

  • DataBlock
    • CurrentDataBlock

Properties

clouds: number

Cloudiness percent.

dew_point: number

Atmospheric temperature (varying according to pressure and humidity) below which water droplets begin to condense and dew can form.

Units – default: kelvin, metric: Celsius, imperial: Fahrenheit.

dt: number

Time of the forecasted data, unix, UTC.

feels_like: number

Temperature that accounts for the human perception of weather.

Depending on the Units selected this value will change.

Units – default: kelvin, metric: Celsius, imperial: Fahrenheit.

humidity: number

Humidity percentage.

pop?: number

Probability of precipitation.

pressure: number

Atmospheric temperature on the sea level, measured in hectopascal (hPa).

Volume of rain for the last hour, measured in mm.

Volume of snow for the last hour, measured in mm.

sunrise: number

Sunrise time as a UTC Unix timestamp.

sunset: number

Sunsise time as a UTC Unix timestamp.

temp: number

Forecasted temperature.

Depending on the Units selected this value will change.

Units – default: kelvin, metric: Celsius, imperial: Fahrenheit.

uvi: number

Midday UV index.

visibility: number

Average visibility measured in metres (m).

weather: WeatherBlock[]

A block of user-facing weather information.

wind_deg: number

Wind direction in degrees (meteorological)

wind_gust?: number

Wind gust.

Units – default: metre/sec, metric: metre/sec, imperial: miles/hour.

wind_speed: number

Wind speed.

Units – default: metre/sec, metric: metre/sec, imperial: miles/hour

Generated using TypeDoc