Package net.solarnetwork.domain.datum
Interface AtmosphericDatum
- All Superinterfaces:
Datum
- All Known Subinterfaces:
DayDatum
Standardized API for atmospheric related datum to implement.
- Version:
- 1.1
- Author:
- matt
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAn instantaneous sample key forgetAtmosphericPressure()values.static final StringAn instantaneous sample key forgetCO2()values.static final StringAn instantaneous sample key forgetDewPoint()values.static final StringAn instantaneous sample key forgetHumidity()values.static final StringA status sample key forgetIrradiance()values.static final StringAn instantaneous sample key forgetLux()values.static final StringA status sample key forgetRain()values.static final StringAn status sample key for a bitmask ofSkyCondition.getCode()values.static final StringA status sample key forgetSkyConditions()values.static final StringA status sample key forgetSnow()values.static final StringA tag for an "indoor" atmosphere sample.static final StringA tag for an "outdoor" atmosphere sample.static final StringA tag for a forecast atmosphere sample, as opposed to an actual measurement.static final StringAn instantaneous sample key forgetTemperature()values.static final StringA instantaneous sample key forgetVisibility()values.static final StringA status sample key forgetWindDirection()values.static final StringA status sample key forgetWindSpeed()values.Fields inherited from interface net.solarnetwork.domain.datum.Datum
DATUM_TYPE_PROPERTY, DATUM_TYPES_PROPERTY, OP_STATE, OP_STATES, REVERSE_ACCUMULATING_SUFFIX_KEY, SOURCE_ID, TIMESTAMP -
Method Summary
Modifier and TypeMethodDescriptiondefault IntegerGet the instantaneous atmospheric pressure, in pascals.default BigDecimalgetCO2()Get the instantaneous CO2 level, in parts-per-million.default BigDecimalGet the instantaneous dew point, in degrees Celsius.default IntegerGet the instantaneous humidity, as an integer percentage (where 100 represents 100%).default BigDecimalGet the solar irradiance level, in watts / square meter.default BigDecimalgetLux()Get the instantaneous luminosity level, in lux.default IntegergetRain()Get the rain accumulation, in millimeters.default StringGet a textual description of the sky conditions, e.g.default IntegergetSnow()Get the snow accumulation, in millimeters.default BigDecimalGet the instantaneous temperature, in degrees Celsius.default IntegerGet the instantaneous visibility, in meters.default IntegerGet the wind direction, in degrees.default BigDecimalGet the wind speed, in meters / second.Methods inherited from interface net.solarnetwork.domain.datum.Datum
asSampleOperations, asSimpleMap, copyWithId, copyWithSamples, getKind, getObjectId, getSampleData, getSourceId, getTimestamp
-
Field Details
-
CO2_KEY
An instantaneous sample key forgetCO2()values.- Since:
- 1.1
- See Also:
-
LUX_KEY
An instantaneous sample key forgetLux()values.- Since:
- 1.1
- See Also:
-
TEMPERATURE_KEY
An instantaneous sample key forgetTemperature()values.- See Also:
-
HUMIDITY_KEY
An instantaneous sample key forgetHumidity()values.- See Also:
-
DEW_POINT_KEY
An instantaneous sample key forgetDewPoint()values.- See Also:
-
ATMOSPHERIC_PRESSURE_KEY
An instantaneous sample key forgetAtmosphericPressure()values.- See Also:
-
VISIBILITY_KEY
A instantaneous sample key forgetVisibility()values.- See Also:
-
SKY_CONDITIONS_KEY
A status sample key forgetSkyConditions()values.- See Also:
-
SKY_CONDITION_CODES_KEY
An status sample key for a bitmask ofSkyCondition.getCode()values.- See Also:
-
WIND_SPEED_KEY
A status sample key forgetWindSpeed()values.- See Also:
-
WIND_DIRECTION_KEY
A status sample key forgetWindDirection()values.- See Also:
-
RAIN_KEY
A status sample key forgetRain()values.- See Also:
-
SNOW_KEY
A status sample key forgetSnow()values.- See Also:
-
IRRADIANCE_KEY
A status sample key forgetIrradiance()values.- See Also:
-
TAG_ATMOSPHERE_INDOOR
A tag for an "indoor" atmosphere sample.- See Also:
-
TAG_ATMOSPHERE_OUTDOOR
A tag for an "outdoor" atmosphere sample.- See Also:
-
TAG_FORECAST
A tag for a forecast atmosphere sample, as opposed to an actual measurement.- See Also:
-
-
Method Details
-
getCO2
Get the instantaneous CO2 level, in parts-per-million.- Returns:
- the CO2, in parts-per-million
-
getLux
Get the instantaneous luminosity level, in lux.- Returns:
- the luminosity, in lux
-
getTemperature
Get the instantaneous temperature, in degrees Celsius.- Returns:
- the temperature, in degrees Celsius
-
getDewPoint
Get the instantaneous dew point, in degrees Celsius.- Returns:
- the dew point, in degrees Celsius
-
getHumidity
Get the instantaneous humidity, as an integer percentage (where 100 represents 100%).- Returns:
- the humidity, as an integer percentage
-
getAtmosphericPressure
Get the instantaneous atmospheric pressure, in pascals.- Returns:
- the atmospheric pressure, in pascals
-
getVisibility
Get the instantaneous visibility, in meters.- Returns:
- visibility, in meters
-
getSkyConditions
Get a textual description of the sky conditions, e.g. "clear", "cloudy", etc.- Returns:
- general sky conditions
-
getWindSpeed
Get the wind speed, in meters / second.- Returns:
- wind speed
-
getWindDirection
Get the wind direction, in degrees.- Returns:
- wind direction
-
getRain
Get the rain accumulation, in millimeters.- Returns:
- rain accumulation
-
getSnow
Get the snow accumulation, in millimeters.- Returns:
- snow accumulation
-
getIrradiance
Get the solar irradiance level, in watts / square meter.- Returns:
- irradiance level
-