Package noaa.coastwatch.util
Class PolygonSurvey
java.lang.Object
noaa.coastwatch.util.EarthDataSurvey
noaa.coastwatch.util.BoxSurvey
noaa.coastwatch.util.PolygonSurvey
The
PolygonSurvey
class holds survey information for a
polygon of data values.- Since:
- 3.1.7
- Author:
- Peter Hollemans
-
Constructor Summary
ConstructorDescriptionPolygonSurvey
(DataVariable variable, EarthTransform trans, Shape shape) Creates a new polygon survey. -
Method Summary
Methods inherited from class noaa.coastwatch.util.BoxSurvey
getResults
Methods inherited from class noaa.coastwatch.util.EarthDataSurvey
getExtents, getStatistics, getTransform, getVariableFormat, getVariableName, getVariableUnits, init
-
Constructor Details
-
PolygonSurvey
Creates a new polygon survey.- Parameters:
variable
- the survey variable.trans
- the survey variable earth transform.shape
- the polygon shape.
-
-
Method Details
-
getSurveyType
Gets the survey type for results reporting.- Overrides:
getSurveyType
in classBoxSurvey
-
getSampleSize
protected double getSampleSize()Gets the sample size (total values sampled divided by the total values in the area) in percent.- Overrides:
getSampleSize
in classBoxSurvey
-
getShape
Gets the shape defining this polygon.
-