net.agmodel.weatherData
Class AirTempMaxMinImpl
java.lang.Object
|
+--net.agmodel.physical.GeneralSequenceImpl
|
+--net.agmodel.weatherData.GeneralMetSequenceImpl
|
+--net.agmodel.weatherData.ScalarMaxMinImpl
|
+--net.agmodel.weatherData.AirTempMaxMinImpl
- All Implemented Interfaces:
- AirTemperature, Cloneable, CompoundSequence, MetSequence, ScalarQuantity, Sequence, Serializable
- public class AirTempMaxMinImpl
- extends ScalarMaxMinImpl
- implements AirTemperature
Manages a pair of maximum and minimum air temperature sequences
- See Also:
- Serialized Form
| Methods inherited from class net.agmodel.weatherData.ScalarMaxMinImpl |
clone, getAverage, getColumnHeading, getContentsAsString, getCoverage, getData, getInstant, getInstantMaximum, getInstantMinimum, getMaximum, getMaxStore, getMeasurementHeight, getMinimum, getMinStore, getNumberOfSubComponents, getSubHeading, putMax, putMaxMin, putMaxMinOverInterval, putMaxOverInterval, putMin, putMinOverInterval, setMaxStore, setMinStore, setSubHeading |
| Methods inherited from class net.agmodel.physical.GeneralSequenceImpl |
cancelTemporalInterpolation, dumpSequence, getAllCoverage, getAllData, getCurrentResolution, getDateRange, getMaximumTemporalInterpolation, getResolution, getSubHeading, getSummaryHistory, getSummaryKind, getTemporalInterpolation, getUnitsHeading, setTemporalInterpolation |
| Methods inherited from interface net.agmodel.physical.CompoundSequence |
cancelTemporalInterpolation, getAllCoverage, getAllData, getCoverage, getData, getMaximumTemporalInterpolation, getSubHeading, getTemporalInterpolation, getUnitsHeading, setSequenceHeading, setSubHeading, setTemporalInterpolation, setUnitsHeading |
| Methods inherited from interface net.agmodel.physical.Sequence |
clone, dumpSequence, getColumnHeading, getContentsAsString, getCurrentResolution, getDateRange, getName, getNumberOfSubComponents, getResolution, getSequenceHeading, getSubHeading, getSummaryKind, getUnitsHeading, setColumnHeading, setName |
AirTempMaxMinImpl
public AirTempMaxMinImpl(Interval dateRange,
SummaryHistory composition,
double measurementHeight)
- Creates a sequence of maximum and minimum temperatures.
Usually these are daily values, but the object can be used for other data resolutions.
Note that some sites assign max and min temperatures recorded on a morning against different days
(ie the maximum is assigned to the previous day)
This is regarded as a presentation issue for client applications, and this method doesn't
implement this behaviour.
- Parameters:
dateRange - the interval for which data is storedcomposition - a record of how raw data has been summarised to make the sequence.measurementHeight - the height in metres;
AirTempMaxMinImpl
public AirTempMaxMinImpl(Interval dateRange,
SummaryHistory composition)
- Creates a sequence of maximum and minimum temperatures.
Usually these are daily values, but the object can be used for other data resolutions.
Note that some sites assign max and min temperatures recorded on a morning against different days
(ie the maximum is assigned to the previous day)
This is regarded as a presentation issue for client applications, and this method doesn't
implement this behaviour.
This constructor uses the
default height for temperature measurements.
- Parameters:
dateRange - the interval for which data is storedcomposition - a record of how raw data has been summarised to make the sequence.
average
public AirTempMaxMinImpl average(Duration longerResolution)
summarize
public MetSequence summarize(Duration longerResolution)
- Returns the result of the average method
- Specified by:
summarize in interface MetSequence
- Parameters:
longerResolution - the new resolution to summarize to
- Returns:
- a summarized sequence.