Interface DarkSkyCurrentDataPoint

A DarkSky equivelent of a Current OpenWeatherMap DataBlock.

See CurrentDataBlock for more.

Hierarchy

Properties

apparentTemperature: 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.

Mapped from CurrentDataBlock.feels_like

cloudCover: number

Cloudiness percent.

Mapped from DataBlock.clouds

dewPoint: 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.

Mapped from DataBlock.dew_point

humidity: number

Humidity percentage.

Weather condition icon id.

originalIcon: WeatherIcon

The original OpenWeatherMap condition icon id.

See Weather Condition Codes for more info.

precipIntensity?: number

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

Mapped from DataBlock.rain or DataBlock.snow

precipProbability?: number

Probability of precipitation.

Mapped from DataBlock.pop

precipType?: PrecipitationType

The type of precipitation.

Mapped from DataBlock.rain or DataBlock.snow

pressure: number

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

summary: string

A human-readable summary of this data block.

sunriseTime: number

Sunrise time as a UTC Unix timestamp.

Mapped from CurrentDataBlock.sunrise

sunsetTime: number

Sunrise time as a UTC Unix timestamp.

Mapped from CurrentDataBlock.sunrise

temperature: number

Forecasted temperature.

Depending on the Units selected this value will change.

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

Mapped from CurrentDataBlock.temp

time: number

Time of the forecasted data, unix, UTC.

Mapped from DataBlock.dt

uvIndex: number

Midday UV index

Mapped from CurrentDataBlock.uvi

visibility: number

Average visibility measured in metres (m).

windBearing: number

Wind direction in degrees (meteorological)

Mapped from DataBlock.wind_deg

windGust?: number

Wind gust.

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

Mapped from DataBlock.wind_gust

windSpeed: number

Wind speed.

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

Mapped from DataBlock.wind_speed

Generated using TypeDoc