/** * Returns the central time of start and end time. * * @param pos the pixel position to retrieve time information for * * @return the time at the given pixel position */ @Override public ProductData.UTC getTime(PixelPos pos) { final ProductData.UTC startTime = getStartTime(); final ProductData.UTC endTime = getEndTime(); final double dStart = startTime.getMJD(); final double dEnd = endTime.getMJD(); final double dCentral = (dEnd - dStart) / 2; return new ProductData.UTC(dCentral); }