Interface DarkSkyDataPoint

A data point object contains various properties, each representing the average (unless otherwise specified) of a particular weather phenomenon occurring during a period of time: an instant in the case of currently, a minute for minutely, an hour for hourly, and a day for daily.

See DarkSky API Docs 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 DataBlock.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.

temperature?: number

Forecasted temperature.

Depending on the Units selected this value will change.

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

Mapped from DataBlock.temperature

time: number

Time of the forecasted data, unix, UTC.

Mapped from DataBlock.dt

uvIndex?: number

Midday UV index

Mapped from DataBlock.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