Commit c903b5d5 authored by Cédric Traizet's avatar Cédric Traizet
Browse files

REFAC: use TimePoint in GetNoiseTimeUTC

parent f6a03c7b
......@@ -188,7 +188,7 @@ double TerraSarXSarImageMetadataInterface::GetNoiseTimeUTC(const unsigned int no
const unsigned int polLayer) const
{
std::ostringstream oss;
MetaData::Time time, defaultTime;
MetaData::TimePoint time, defaultTime;
std::istringstream("2000-01-01T00:0:00.000000Z") >> defaultTime;
if(polLayer == 0)
......@@ -386,8 +386,8 @@ TerraSarXSarImageMetadataInterface::GetRadiometricCalibrationNoise(const Metadat
auto numberOfRows = static_cast<unsigned int>(imd[MDNum::NumberOfLines]);
auto numberOfCols = static_cast<unsigned int>(imd[MDNum::NumberOfColumns]);
double startTime = imd[MDTime::AcquisitionStartTime].GetJulianDay();
double stopTime = imd[MDTime::AcquisitionStopTime].GetJulianDay();
double startTime = imd[MDTime::AcquisitionStartTime].GetJulianDay();
double stopTime = imd[MDTime::AcquisitionStopTime].GetJulianDay();
RealType firstRangeTime = imd[MDNum::RangeTimeFirstPixel];
RealType lastRangeTime = imd[MDNum::RangeTimeLastPixel];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment