net.agmodel.weatherData
Class AirTempMaxMinMeanImpl
java.lang.Object
net.agmodel.physical.GeneralSequenceImpl
net.agmodel.weatherData.GeneralMetSequenceImpl
net.agmodel.weatherData.ScalarMaxMinImpl
net.agmodel.weatherData.ScalarMaxMinMeanImpl
net.agmodel.weatherData.AirTempMaxMinMeanImpl
- All Implemented Interfaces:
- AirTemperature, Cloneable, CompoundSequence, MetSequence, ScalarQuantity, Sequence, Serializable
- public class AirTempMaxMinMeanImpl
- extends ScalarMaxMinMeanImpl
- implements AirTemperature
Adds a store for the true mean temperature to AirTempMaxMin
- Author:
- Matthew Laurenson
- See Also:
- Serialized Form
| Methods inherited from class net.agmodel.weatherData.ScalarMaxMinMeanImpl |
clone, getAverage, getColumnHeading, getContentsAsString, getCoverage, getData, getInstant, getNumberOfSubComponents, getSubHeading, putMaxMinMean, putMaxMinMeanOverInterval, putMean, putMeanOverInterval, setSubHeading |
| Methods inherited from class net.agmodel.weatherData.ScalarMaxMinImpl |
getInstantMaximum, getInstantMinimum, getMaximum, getMeasurementHeight, getMinimum, putMax, putMaxMin, putMaxMinOverInterval, putMaxOverInterval, putMin, putMinOverInterval |
| 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 |
AirTempMaxMinMeanImpl
public AirTempMaxMinMeanImpl(Interval dateRange,
SummaryHistory composition,
double measurementHeight)
- Creates a sequence of maximum, minimum, and mean 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;
AirTempMaxMinMeanImpl
public AirTempMaxMinMeanImpl(Interval dateRange,
SummaryHistory composition)
- Creates a sequence of maximum, minimum, and mean 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 AirTempMaxMinMeanImpl 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.
Copyright (C) NARC 2001 All Rights Reserved.