net.agmodel.weatherData
Class LeafWetnessSingleImpl
java.lang.Object
net.agmodel.physical.GeneralSequenceImpl
net.agmodel.weatherData.GeneralMetSequenceImpl
net.agmodel.weatherData.ScalarImpl
net.agmodel.weatherData.LeafWetnessSingleImpl
- All Implemented Interfaces:
- Cloneable, CompoundSequence, LeafWetness, MetSequence, ScalarQuantity, Sequence, Serializable
- public class LeafWetnessSingleImpl
- extends ScalarImpl
- implements LeafWetness
Manages a sequence of leaf wetness measurements from a single sensor.
- Author:
- Matthew Laurenson
- See Also:
- Serialized Form
| Methods inherited from class net.agmodel.weatherData.ScalarImpl |
clone, getAverage, getContentsAsString, getCoverage, getData, getInstant, getMaximum, getMeasurementHeight, getMinimum, getNumberOfSubComponents, getSubHeading, putInstantValue, putValueOverInterval, 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 |
LeafWetnessSingleImpl
public LeafWetnessSingleImpl(Interval dateRange,
SummaryHistory composition)
- Creates a leaf wetness sequence.
- Parameters:
dateRange - the interval for which temperatures are storedcomposition - a record of how raw data has been summarised to make the sequence.
average
public LeafWetnessSingleImpl average(Duration newResolution)
- Creates a new leaf wetness sequence, averaging to a lower resolution.
- Parameters:
newResolution - the target resolution required.
- Returns:
- a new temperature sequence
summarize
public MetSequence summarize(Duration longerResolution)
- Description copied from interface:
MetSequence
- Creates a lower resolution sequence which summarizes this sequence
- 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.