|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.agmodel.physical.GeneralSequenceImpl
|
+--net.agmodel.weatherData.GeneralMetSequenceImpl
|
+--net.agmodel.weatherData.MultiImpl
|
+--net.agmodel.weatherData.AirTempMultiImpl
Manages a set of air temperature measurements from a multiple sensors. typically used in an experimental situation (eg replicates)
| Field Summary |
| Fields inherited from class net.agmodel.weatherData.GeneralMetSequenceImpl |
rb |
| Fields inherited from class net.agmodel.physical.GeneralSequenceImpl |
dateRange, maximumTemporalInterpolation, summaryHistory |
| Fields inherited from interface net.agmodel.weatherData.AirTemperature |
DEFAULTHEIGHT |
| Constructor Summary | |
protected |
AirTempMultiImpl(Interval dateRange,
SummaryHistory composition,
int nSubComponents)
Creates a AirTempMultiImpl with space for n subcomponents, but doesn't create the stores themselves. |
|
AirTempMultiImpl(Interval dateRange,
SummaryHistory composition,
String[] newlabels,
double[] measurementHeights)
Creates an air temperature sequence containing multiple measurements at each time (eg canopy and standard). |
| Method Summary | |
AirTempMultiImpl |
average(Duration newResolution)
Creates a new air temperature sequence, averaging to a lower resolution. |
JigsawQuantity |
getAverage(Interval interval)
Returns the 0th subcomponent's average value |
JigsawQuantity |
getInstant(Date time)
Returns the 0th subcomponent's instant value |
JigsawQuantity |
getMaximum(Interval interval)
Returns the 0th subcomponent's maximum |
double |
getMeasurementHeight()
Returns the measurement height of the 0th sensor |
JigsawQuantity |
getMinimum(Interval interval)
Returns the 0th subcomponent's minimum |
MetSequence |
summarize(Duration longerResolution)
Creates a lower resolution sequence which summarizes this sequence |
| Methods inherited from class net.agmodel.weatherData.MultiImpl |
clone, getAverage, getContentsAsString, getCoverage, getData, getInstant, getMaximum, getMinimum, getNumberOfSubComponents, getStore, getSubHeading, putInstantValue, putValueOverInterval, setStore, setSubHeading |
| Methods inherited from class net.agmodel.weatherData.GeneralMetSequenceImpl |
getColumnHeading, getName, getSequenceElement, getSequenceHeading, getUnitsHeading, setColumnHeading, setName, setSequenceHeading, setUnitsHeading |
| 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 class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.agmodel.weatherData.MetSequence |
getSequenceElement |
| 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 |
| Methods inherited from interface net.agmodel.weatherData.MultiQuantity |
getAverage, getInstant, getMaximum, getMinimum |
| Constructor Detail |
public AirTempMultiImpl(Interval dateRange,
SummaryHistory composition,
String[] newlabels,
double[] measurementHeights)
dateRange - the interval for which temperatures are storedcomposition - a record of how raw data has been summarised to make the sequence.newlabels - labels for the subcomponentsmeasurementHeights - the heights at which each measurement is made
protected AirTempMultiImpl(Interval dateRange,
SummaryHistory composition,
int nSubComponents)
| Method Detail |
public AirTempMultiImpl average(Duration newResolution)
newResolution - the target resolution required.
public MetSequence summarize(Duration longerResolution)
MetSequence
summarize in interface MetSequencelongerResolution - the new resolution to summarize to
public JigsawQuantity getMinimum(Interval interval)
getMinimum in interface ScalarQuantityinterval - the interval of interest
ScalarQuantity.getMinimum(Interval)public JigsawQuantity getMaximum(Interval interval)
getMaximum in interface ScalarQuantityinterval - the interval of interest
ScalarQuantity.getMaximum(Interval)public JigsawQuantity getInstant(Date time)
getInstant in interface ScalarQuantitytime - the time of interest
ScalarQuantity.getInstant(Date)public JigsawQuantity getAverage(Interval interval)
getAverage in interface ScalarQuantityinterval - the interval of interest
ScalarQuantity.getAverage(Interval)public double getMeasurementHeight()
getMeasurementHeight in interface AirTemperature
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||