Skip to content
Snippets Groups Projects
Commit d557c934 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

BUG: fix metadata key for number_of_samples (use same from ossimSentinel1Model

parent 41fd122f
No related branches found
No related tags found
No related merge requests found
......@@ -94,9 +94,9 @@ Sentinel1ImageMetadataInterface
otbMsgDevMacro(<<"calibration.startTime: "<<std::setprecision(16) << firstLineTime);
otbMsgDevMacro(<<"calibration.stopTime : "<<std::setprecision(16) << lastLineTime);
const std::string supportDataPrefix = "support_data."; //make && use GetBandPrefix(subSwath, polarisation)
//const std::string supportDataPrefix = "support_data."; //make && use GetBandPrefix(subSwath, polarisation)
const int numOfLines = Utils::LexicalCast<int>(imageKeywordlist.GetMetadataByKey(supportDataPrefix + "number_lines"), supportDataPrefix + "number_lines(int)");
const int numOfLines = Utils::LexicalCast<int>(imageKeywordlist.GetMetadataByKey("number_lines"), "number_lines(int)");
otbMsgDevMacro(<<"numOfLines : " << numOfLines);
const int count = Utils::LexicalCast<int>(imageKeywordlist.GetMetadataByKey("calibration.count"), "calibration.count");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment