Package org.esa.snap.core.datamodel
Class PixelTimeCoding
- java.lang.Object
-
- org.esa.snap.core.datamodel.PixelTimeCoding
-
- All Implemented Interfaces:
TimeCoding
public class PixelTimeCoding extends Object implements TimeCoding
-
-
Constructor Summary
Constructors Constructor Description PixelTimeCoding(double[] timeMJD, int rasterWidth, int rasterHeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getMJD(PixelPos pixelPos)
Gets the time for a given pixel position as Modified Julian Day 2000 (MJD2000).-
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
-
-
-
-
Method Detail
-
getMJD
public double getMJD(PixelPos pixelPos)
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:
ProductData.UTC.getMJD()
,TimeCoding.getPixelPos(double, PixelPos)
-
-