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 NumberaltimeterINMSLP Barometric pressure in inches mercuryNumberaltimeterMBMSLP Barometric pressure in millibarsStringcloudsCodedCode for the cloud type.StringdateTimeISOUNIX timestamp of the forecast valid timeNumberdewpointCThe dew point temperature in CelsiusNumberdewpointFThe dew point temperature in FahrenheitNumberfeelslikeCThe apparent temperature in CelsiusNumberfeelslikeFThe apparent temperature in FahrenheitNumberhumidityHumidity percentageStringiconWeather icon representing the expected weather from the default Aeris icon set.intindexStringindexENGbooleanisDayTrue if the period is during the day, otherwise falseNumberprecipINFrom now to past 3 hours, estimated precipitation rate in inches/hour.NumberprecipMMFrom now to past 3 hours, estimated precip rate in mm/hour.NumberprecipRateINprecipitation rate in in/hour, or mm/#min if filter=#min is usedNumberprecipRateMMprecipitation rate in mm/hour, or mm/#min if filter=#min is usedNumberpressureINMSLP Barometric pressure in inches mercuryNumberpressureMBMSLP Barometric pressure in millibarsNumberskySky cover percentageNumbersnowCMSnowfall amount in centimetersNumbersnowINSnowfall amount in inchesNumbersnowRateCMSnowfall rate amount in centimeters/hourNumbersnowRateINSnowfall amount in inchesSolradsolradNumbersolradWM2The estimated forecast solar radiation.NumberspressureINMSLP Barometric pressure in inches mercuryNumberspressureMBMSLP Barometric pressure in millibarsNumbertempCTemperature in Celsius - Will be null when using filter=day or filter=daynightNumbertempFTemperature in fahrenheit - Will be null when using filter=day or filter=daynightNumbertimestampUNIX timestamp of the forecast valid timeNumberuviUltraviolet Radiation readingNumbervisibilityKMThe visibility in kilometers at the start of the forecast period.NumbervisibilityMIThe visibility in miles at the start of the forecast period.StringweatherFull weather phrase that combines the weather from all periods as neededStringweatherCodedArray of periods containing different weather types; can be used to determine when a particular type of weather is expected to begin/end.StringweatherPrimaryPrimary weather across all periodsStringweatherPrimaryCodedPrimary weather coded.StringwindDirWind direction in cardinal coordinatesNumberwindDirDEGThe wind direction in degreesNumberwindGustKPHWind gust in kilometers per hour Null if unavailable.NumberwindGustKTSWind gust in knots Null if unavailable.NumberwindGustMPHWind gust in miles per hour Null if unavailable.NumberwindSpeedKPHWind speed in kilometers per hourNumberwindSpeedKTSWind speed in knotsNumberwindSpeedMPHWind 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 theweatherCodedandweatherPrimaryCodedproperties.
-
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:
fillWithInfoin classAbstractPeriod
-
-