public class GeoRaster extends Object
Constructor and Description |
---|
GeoRaster(double[] longitudes,
double[] latitudes,
String lonVariableName,
String latVariableName,
int rasterWidth,
int rasterHeight,
double rasterResolutionInKm)
Constructs a geoRaster; convenience constructor for pixel geolocation raster with the center pixel as reference location.
|
GeoRaster(double[] longitudes,
double[] latitudes,
String lonVariableName,
String latVariableName,
int rasterWidth,
int rasterHeight,
int sceneWidth,
int sceneHeight,
double rasterResolutionInKm,
double offsetX,
double offsetY,
double subsamplingX,
double subsamplingY)
Constructs a geoRaster
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
double[] |
getLatitudes() |
String |
getLatVariableName() |
double[] |
getLongitudes() |
String |
getLonVariableName() |
double |
getOffsetX() |
double |
getOffsetY() |
int |
getRasterHeight() |
double |
getRasterResolutionInKm() |
int |
getRasterWidth() |
int |
getSceneHeight() |
int |
getSceneWidth() |
double |
getSubsamplingX() |
double |
getSubsamplingY() |
public GeoRaster(double[] longitudes, double[] latitudes, String lonVariableName, String latVariableName, int rasterWidth, int rasterHeight, double rasterResolutionInKm)
longitudes
- the longitude datalatitudes
- the latitude datalonVariableName
- variable name of data origin for longitude datalatVariableName
- variable name of data origin for latitude datarasterWidth
- width of the data rasterrasterHeight
- height of the data rasterrasterResolutionInKm
- ground resolution of pixelspublic GeoRaster(double[] longitudes, double[] latitudes, String lonVariableName, String latVariableName, int rasterWidth, int rasterHeight, int sceneWidth, int sceneHeight, double rasterResolutionInKm, double offsetX, double offsetY, double subsamplingX, double subsamplingY)
longitudes
- the longitude datalatitudes
- the latitude datalonVariableName
- variable name of data origin for longitude datalatVariableName
- variable name of data origin for latitude datarasterWidth
- width of the data rasterrasterHeight
- height of the data rastersceneWidth
- width of the scene rastersceneHeight
- height of the scene rasterrasterResolutionInKm
- ground resolution of pixelsoffsetX
- offset along x-axisoffsetY
- offset along y-axissubsamplingX
- subsampling along x-axissubsamplingY
- subsampling along y-axispublic double[] getLongitudes()
public double[] getLatitudes()
public String getLonVariableName()
public String getLatVariableName()
public int getRasterWidth()
public int getRasterHeight()
public int getSceneWidth()
public int getSceneHeight()
public double getRasterResolutionInKm()
public double getOffsetX()
public double getOffsetY()
public double getSubsamplingX()
public double getSubsamplingY()
public void dispose()
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.