Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
c903b5d5
Commit
c903b5d5
authored
Nov 17, 2021
by
Cédric Traizet
Browse files
REFAC: use TimePoint in GetNoiseTimeUTC
parent
f6a03c7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Core/Metadata/src/otbTerraSarXSarImageMetadataInterface.cxx
View file @
c903b5d5
...
...
@@ -188,7 +188,7 @@ double TerraSarXSarImageMetadataInterface::GetNoiseTimeUTC(const unsigned int no
const
unsigned
int
polLayer
)
const
{
std
::
ostringstream
oss
;
MetaData
::
Time
time
,
defaultTime
;
MetaData
::
Time
Point
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
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment