Package org.esa.snap.core.datamodel
Class PixelTimeCoding
java.lang.Object
org.esa.snap.core.datamodel.PixelTimeCoding
- All Implemented Interfaces:
TimeCoding
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.esa.snap.core.datamodel.TimeCoding
canGetPixelPos, getPixelPos
-
Constructor Details
-
PixelTimeCoding
public PixelTimeCoding(double[] timeMJD, int rasterWidth, int rasterHeight)
-
-
Method Details
-
getMJD
Description copied from interface:TimeCoding
Gets the time for a given pixel position as Modified Julian Day 2000 (MJD2000).- Specified by:
getMJD
in interfaceTimeCoding
- Parameters:
pixelPos
- The pixel position in units of a given raster data node- Returns:
- The time as Modified Julian Day 2000 (MJD2000).
- See Also:
-