net.agmodel.weatherData
Interface Humidity

All Superinterfaces:
CompoundSequence, MetSequence, ScalarQuantity, Sequence
All Known Implementing Classes:
RHImpl, WetDryImpl

public interface Humidity
extends ScalarQuantity

Provides a consistent interface to sequences storing humidity data in various forms


Method Summary
 JigsawQuantity getAverage(Interval interval)
          Returns the average humidity over the interval.
 JigsawQuantity getAverageDewpoint(Interval interval)
          Returns the average dewpoint temperature over the interval.
 JigsawQuantity getInstant(Date time)
          Returns the instantaneous humidity at a particular point in time.
 JigsawQuantity getInstantDewpoint(Date time)
          Returns the instantaneous dewpoint temperature at a particular point in time.
 JigsawQuantity getMaximum(Interval interval)
          Returns the maximum humidity over the interval.
 JigsawQuantity getMinimum(Interval interval)
          Returns the minimum humidity over the interval.
 
Methods inherited from interface net.agmodel.weatherData.MetSequence
getSequenceElement, summarize
 
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
 

Method Detail

getMinimum

public JigsawQuantity getMinimum(Interval interval)
Returns the minimum humidity over the interval. Humidity readings at either end of the interval are included in the comparison if more than 50% of their duration lies within the interval of interest.

Specified by:
getMinimum in interface ScalarQuantity
Parameters:
interval - the interval of interest
Returns:
the minimum value

getMaximum

public JigsawQuantity getMaximum(Interval interval)
Returns the maximum humidity over the interval. Humidity readings at either end of the interval are included in the comparison if more than 50% of their duration lies within the interval of interest.

Specified by:
getMaximum in interface ScalarQuantity
Parameters:
interval - the interval of interest
Returns:
the maximum value

getInstant

public JigsawQuantity getInstant(Date time)
Returns the instantaneous humidity at a particular point in time. If interpolation is requested, the value may be spatially and/or temporally interpolated from other data.

Specified by:
getInstant in interface ScalarQuantity
Parameters:
time - the time of interest
Returns:
the instantaneous value

getAverage

public JigsawQuantity getAverage(Interval interval)
Returns the average humidity over the interval. Humidity readings at either end of the interval are included by weighting their values according to the proportion of their duration that lies in the period of interest.

Specified by:
getAverage in interface ScalarQuantity
Parameters:
interval - the interval of interest
Returns:
the average value

getAverageDewpoint

public JigsawQuantity getAverageDewpoint(Interval interval)
Returns the average dewpoint temperature over the interval. calculated dewpoints at either end of the interval are included by weighting their values according to the proportion of their duration that lies in the period of interest.

Returns:
the average value

getInstantDewpoint

public JigsawQuantity getInstantDewpoint(Date time)
Returns the instantaneous dewpoint temperature at a particular point in time. If interpolation is requested, the value may be spatially and/or temporally interpolated from other data.

Returns:
the instantaneous value in degrees C