@Value.Immutable public abstract class FioDataPoint extends Object
minutely data points are always aligned to the top of the minute, hourly points to the top of the hour, and daily points to midnight of the day, all according to the local time zone.
Data points in the daily data block are special: instead of representing the weather phenomena at a given instant of time, they are an aggregate point representing (unless otherwise noted) the average weather conditions that will occur over the entire day.
All of the numeric, non-time fields may, optionally, have an associated Error value defined (with the property precipIntensityError, windSpeedError, pressureError, etc.), representing our system's confidence in its prediction. Such properties represent standard deviations of the value of their associated property; small error values therefore represent a strong confidence, while large error values represent a weak confidence. These properties are omitted where the confidence is not precisely known.
| Constructor and Description |
|---|
FioDataPoint() |
| Modifier and Type | Method and Description |
|---|---|
abstract BigDecimal |
apparentTemperature()
A numerical value representing the apparent (or "feels like") temperature at the
given time in degrees Fahrenheit.
|
abstract BigDecimal |
apparentTemperatureMax()
A numerical value representing the maximumum apparent temperature on the given day
in degrees Fahrenheit.
|
abstract Long |
apparentTemperatureMaxTime()
The UNIX time at which
apparentTemperatureMax() occurs. |
abstract BigDecimal |
apparentTemperatureMin()
A numerical value representing the minimum apparent temperature on the given day in
degrees Fahrenheit.
|
abstract Long |
apparentTemperatureMinTime()
The UNIX time at which
apparentTemperatureMin() occurs. |
abstract BigDecimal |
cloudCover()
A numerical value between 0 and 1 (inclusive) representing the percentage of sky
occluded by clouds.
|
abstract BigDecimal |
dewPoint()
A numerical value representing the dew point at the given time in degrees
Fahrenheit.
|
Map<String,Object> |
getAdditionalProperties() |
Object |
getAdditionalProperty(String key) |
abstract BigDecimal |
humidity()
A numerical value between 0 and 1 (inclusive) representing the relative humidity.
|
abstract FioIcon |
icon()
A machine-readable text summary of this data point, suitable for selecting an icon
for display.
|
abstract BigDecimal |
moonPhase()
A number representing the fractional part of the lunation number of the given day:
a value of 0 corresponds to a new moon, 0.25 to a first quarter moon, 0.5 to a full
moon, and 0.75 to a last quarter moon.
|
abstract BigDecimal |
nearestStormBearing()
A numerical value representing the direction of the nearest storm in degrees, with
true north at 0° and progressing clockwise.
|
abstract BigDecimal |
nearestStormDistance()
A numerical value representing the distance to the nearest storm in miles.
|
abstract BigDecimal |
ozone()
A numerical value representing the columnar density of total atmospheric ozone at
the given time in Dobson units.
|
abstract BigDecimal |
precipAccumulation()
The amount of snowfall accumulation expected to occur on the given day, in inches.
|
abstract BigDecimal |
precipIntensity()
A numerical value representing the average expected intensity (in inches of liquid
water per hour) of precipitation occurring at the given time conditional on
probability (that is, assuming any precipitation occurs at all).
|
abstract BigDecimal |
precipIntensityMax()
Numerical values representing the maximumum expected intensity of precipitation on
the given day in inches of liquid water per hour.
|
abstract Long |
precipIntensityMaxTime()
The UNIX time at which
precipIntensityMax() occurs on the given day |
abstract BigDecimal |
precipProbability()
A numerical value between 0 and 1 (inclusive) representing the probability of
precipitation occurring at the given time.
|
abstract FioPrecipType |
precipType()
The type of precipitation occurring at the given time.
|
abstract BigDecimal |
pressure()
A numerical value representing the sea-level air pressure in millibars.
|
abstract String |
summary()
A human-readable text summary of this data point.
|
abstract Long |
sunriseTime()
The UNIX time (that is, seconds since midnight GMT on 1 Jan 1970) of the last
sunrise before the solar noon closest to local noon on the given day.
|
abstract Long |
sunsetTime()
The UNIX time (that is, seconds since midnight GMT on 1 Jan 1970) of the first
sunset after the solar noon closest to local noon on the given day.
|
abstract BigDecimal |
temperature()
A numerical value representing the temperature at the given time in degrees
Fahrenheit.
|
abstract BigDecimal |
temperatureMax()
A numerical value representing the maximumum temperature on the given day in
degrees Fahrenheit.
|
abstract Long |
temperatureMaxTime()
The UNIX time at which
temperatureMax() occurs. |
abstract BigDecimal |
temperatureMin()
Numerical values representing the minimum temperature on the given day in degrees
Fahrenheit.
|
abstract Long |
temperatureMinTime()
The UNIX time at which
temperatureMin() occurs. |
abstract long |
time()
The UNIX time (that is, seconds since midnight GMT on 1 Jan 1970) at which this
data point occurs
|
abstract BigDecimal |
visibility()
A numerical value representing the average visibility in miles, capped at 10 miles.
|
abstract BigDecimal |
windBearing()
A numerical value representing the direction that the wind is coming from in
degrees, with true north at 0° and progressing clockwise.
|
abstract BigDecimal |
windSpeed()
A numerical value representing the wind speed in miles per hour.
|
public abstract long time()
public abstract String summary()
public abstract FioIcon icon()
public abstract Long sunriseTime()
Only defined on daily data points
public abstract Long sunsetTime()
Only defined on daily data points
public abstract BigDecimal moonPhase()
Only defined on daily data points
public abstract BigDecimal nearestStormDistance()
Only defined on currently data points
public abstract BigDecimal nearestStormBearing()
Only defined on currently data points
public abstract BigDecimal precipIntensity()
public abstract BigDecimal precipIntensityMax()
Only defined on daily data points
public abstract Long precipIntensityMaxTime()
precipIntensityMax() occurs on the given day
Only defined on daily data points.
public abstract BigDecimal precipProbability()
public abstract FioPrecipType precipType()
precipIntensity() is zero, then this property will not be defined.)public abstract BigDecimal precipAccumulation()
Only defined on hourly and daily data points
public abstract BigDecimal temperature()
Not defined on daily data points.
public abstract BigDecimal temperatureMin()
Only defined on daily data points.
public abstract Long temperatureMinTime()
temperatureMin() occurs.
Only defined on daily data points.
public abstract BigDecimal temperatureMax()
Only defined on daily data points.
public abstract Long temperatureMaxTime()
temperatureMax() occurs.
Only defined on daily data points.
public abstract BigDecimal apparentTemperature()
Not defined on daily data points
public abstract BigDecimal apparentTemperatureMin()
Only defined on daily data points.
public abstract Long apparentTemperatureMinTime()
apparentTemperatureMin() occurs.
Only defined on daily data points.
public abstract BigDecimal apparentTemperatureMax()
Only defined on daily data points.
public abstract Long apparentTemperatureMaxTime()
apparentTemperatureMax() occurs.
Only defined on daily data points.
public abstract BigDecimal dewPoint()
public abstract BigDecimal windSpeed()
public abstract BigDecimal windBearing()
public abstract BigDecimal cloudCover()
public abstract BigDecimal humidity()
public abstract BigDecimal pressure()
public abstract BigDecimal visibility()
public abstract BigDecimal ozone()
Copyright © 2016. All rights reserved.