Package noaa.coastwatch.io
Class NOAA1bReader.LongitudeInterpolator
java.lang.Object
noaa.coastwatch.util.Function
noaa.coastwatch.io.NOAA1bReader.LongitudeInterpolator
- All Implemented Interfaces:
Encodable
- Enclosing class:
- NOAA1bReader
The
LongitudeInterpolator
class performs longitude
interpolation using polar coordinates. This helps to avoid
problems with longitude interpolation near the poles where
simple Lagrangian interpolation along the scan line causes
interpolation anomalies.-
Constructor Summary
ConstructorDescriptionLongitudeInterpolator
(int[] sampleIndex, float[] latData, float[] lonData) Creates a new interpolator. -
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(double[] variables) Evalutes a function value with the specified inputs.Methods inherited from class noaa.coastwatch.util.Function
getEncoding, useEncoding
-
Constructor Details
-
LongitudeInterpolator
public LongitudeInterpolator(int[] sampleIndex, float[] latData, float[] lonData) Creates a new interpolator.- Parameters:
sampleIndex
- the array of sample indices.latData
- the array of latitude data.lonData
- the array of longitude data.
-
-
Method Details
-
evaluate
public double evaluate(double[] variables) Description copied from class:Function
Evalutes a function value with the specified inputs.
-