Package com.aerisweather.aeris.model
Class ConditionPeriod
- java.lang.Object
-
- com.aerisweather.aeris.model.AbstractPeriod
-
- com.aerisweather.aeris.model.ConditionPeriod
-
public class ConditionPeriod extends AbstractPeriod
Period of a conditions data from the request with endpointConditions
-
-
Field Summary
Fields Modifier and Type Field Description Number
altimeterIN
MSLP Barometric pressure in inches mercuryNumber
altimeterMB
MSLP Barometric pressure in millibarsString
cloudsCoded
Code for the cloud type.String
dateTimeISO
UNIX timestamp of the forecast valid timeNumber
dewpointC
The dew point temperature in CelsiusNumber
dewpointF
The dew point temperature in FahrenheitNumber
feelslikeC
The apparent temperature in CelsiusNumber
feelslikeF
The apparent temperature in FahrenheitNumber
humidity
Humidity percentageString
icon
Weather icon representing the expected weather from the default Aeris icon set.int
index
String
indexENG
boolean
isDay
True if the period is during the day, otherwise falseNumber
precipIN
From now to past 3 hours, estimated precipitation rate in inches/hour.Number
precipMM
From now to past 3 hours, estimated precip rate in mm/hour.Number
precipRateIN
precipitation rate in in/hour, or mm/#min if filter=#min is usedNumber
precipRateMM
precipitation rate in mm/hour, or mm/#min if filter=#min is usedNumber
pressureIN
MSLP Barometric pressure in inches mercuryNumber
pressureMB
MSLP Barometric pressure in millibarsNumber
sky
Sky cover percentageNumber
snowCM
Snowfall amount in centimetersNumber
snowIN
Snowfall amount in inchesNumber
snowRateCM
Snowfall rate amount in centimeters/hourNumber
snowRateIN
Snowfall amount in inchesSolrad
solrad
Number
solradWM2
The estimated forecast solar radiation.Number
spressureIN
MSLP Barometric pressure in inches mercuryNumber
spressureMB
MSLP Barometric pressure in millibarsNumber
tempC
Temperature in Celsius - Will be null when using filter=day or filter=daynightNumber
tempF
Temperature in fahrenheit - Will be null when using filter=day or filter=daynightNumber
timestamp
UNIX timestamp of the forecast valid timeNumber
uvi
Ultraviolet Radiation readingNumber
visibilityKM
The visibility in kilometers at the start of the forecast period.Number
visibilityMI
The visibility in miles at the start of the forecast period.String
weather
Full weather phrase that combines the weather from all periods as neededString
weatherCoded
Array of periods containing different weather types; can be used to determine when a particular type of weather is expected to begin/end.String
weatherPrimary
Primary weather across all periodsString
weatherPrimaryCoded
Primary weather coded.String
windDir
Wind direction in cardinal coordinatesNumber
windDirDEG
The wind direction in degreesNumber
windGustKPH
Wind gust in kilometers per hour Null if unavailable.Number
windGustKTS
Wind gust in knots Null if unavailable.Number
windGustMPH
Wind gust in miles per hour Null if unavailable.Number
windSpeedKPH
Wind speed in kilometers per hourNumber
windSpeedKTS
Wind speed in knotsNumber
windSpeedMPH
Wind speed in miles per hour
-
Constructor Summary
Constructors Constructor Description ConditionPeriod()
-
-
-
Field Detail
-
timestamp
public Number timestamp
UNIX timestamp of the forecast valid time
-
dateTimeISO
public String dateTimeISO
UNIX timestamp of the forecast valid time
-
tempC
public Number tempC
Temperature in Celsius - Will be null when using filter=day or filter=daynight
-
tempF
public Number tempF
Temperature in fahrenheit - Will be null when using filter=day or filter=daynight
-
feelslikeC
public Number feelslikeC
The apparent temperature in Celsius
-
feelslikeF
public Number feelslikeF
The apparent temperature in Fahrenheit
-
dewpointC
public Number dewpointC
The dew point temperature in Celsius
-
dewpointF
public Number dewpointF
The dew point temperature in Fahrenheit
-
humidity
public Number humidity
Humidity percentage
-
pressureMB
public Number pressureMB
MSLP Barometric pressure in millibars
-
pressureIN
public Number pressureIN
MSLP Barometric pressure in inches mercury
-
spressureMB
public Number spressureMB
MSLP Barometric pressure in millibars
-
spressureIN
public Number spressureIN
MSLP Barometric pressure in inches mercury
-
altimeterMB
public Number altimeterMB
MSLP Barometric pressure in millibars
-
altimeterIN
public Number altimeterIN
MSLP Barometric pressure in inches mercury
-
windDirDEG
public Number windDirDEG
The wind direction in degrees
-
windDir
public String windDir
Wind direction in cardinal coordinates
-
windSpeedKTS
public Number windSpeedKTS
Wind speed in knots
-
windSpeedKPH
public Number windSpeedKPH
Wind speed in kilometers per hour
-
windSpeedMPH
public Number windSpeedMPH
Wind speed in miles per hour
-
windGustKTS
public Number windGustKTS
Wind gust in knots Null if unavailable.
-
windGustKPH
public Number windGustKPH
Wind gust in kilometers per hour Null if unavailable.
-
windGustMPH
public Number windGustMPH
Wind gust in miles per hour Null if unavailable.
-
precipMM
public Number precipMM
From now to past 3 hours, estimated precip rate in mm/hour. Previous the past 3 hours the estimated received precip in mm/hour for the 60 minutes ending at period time. Null if unavailable.
-
precipIN
public Number precipIN
From now to past 3 hours, estimated precipitation rate in inches/hour. Previous the past 3 hours the estimated received precipitation in inches/hour for the 60 minutes ending at period time. Null if unavailable.
-
precipRateMM
public Number precipRateMM
precipitation rate in mm/hour, or mm/#min if filter=#min is used
-
precipRateIN
public Number precipRateIN
precipitation rate in in/hour, or mm/#min if filter=#min is used
-
snowCM
public Number snowCM
Snowfall amount in centimeters
-
snowIN
public Number snowIN
Snowfall amount in inches
-
snowRateCM
public Number snowRateCM
Snowfall rate amount in centimeters/hour
-
snowRateIN
public Number snowRateIN
Snowfall amount in inches
-
visibilityKM
public Number visibilityKM
The visibility in kilometers at the start of the forecast period. Null if unavailable.
-
visibilityMI
public Number visibilityMI
The visibility in miles at the start of the forecast period. Null if unavailable.
-
sky
public Number sky
Sky cover percentage
-
weather
public String weather
Full weather phrase that combines the weather from all periods as needed
-
weatherCoded
public String weatherCoded
Array of periods containing different weather types; can be used to determine when a particular type of weather is expected to begin/end. Refer to the Coded Weather documentation for additional information on the types of weather codes.
-
weatherPrimary
public String weatherPrimary
Primary weather across all periods
-
weatherPrimaryCoded
public String weatherPrimaryCoded
Primary weather coded. Refer to the Coded Weather documentation for additional information on the types of weather codes.
-
cloudsCoded
public String cloudsCoded
Code for the cloud type. Refer to the Coded Weather documentation for additional information on the types of cloud codes.
-
icon
public String icon
Weather icon representing the expected weather from the default Aeris icon set. For more custom implementations, icons can be determined by theweatherCoded
andweatherPrimaryCoded
properties.
-
isDay
public boolean isDay
True if the period is during the day, otherwise false
-
uvi
public Number uvi
Ultraviolet Radiation reading
-
solradWM2
public Number solradWM2
The estimated forecast solar radiation. Normally used with filter=1hr. If interval greater than 1 hour will be the accumulated hourly solar radiation values over the interval.
-
solrad
public Solrad solrad
-
index
public int index
-
indexENG
public String indexENG
-
-
Method Detail
-
fillWithInfo
public void fillWithInfo(Period period)
- Specified by:
fillWithInfo
in classAbstractPeriod
-
-