Skip to content
Snippets Groups Projects
Commit 48ff702c authored by Gaëlle USSEGLIO's avatar Gaëlle USSEGLIO
Browse files

Merge branch 'v1.1.0' into python_TSX

parents fa854883 7fb83858
No related branches found
Tags 1.1.0_beta_2
2 merge requests!52Merge for v1.1.0,!47TSX/PAZ/TDX processing in python_src
......@@ -54,7 +54,7 @@
namespace otb
{
/** \class SARDerampImageFilter
/** \class SARDerampTSXImageFilter
* \brief Deramps or Reramps a TSX product.
*
* This filter deramps or reramps an input mono-burst.
......
......@@ -71,14 +71,14 @@ namespace otb
::setPolynomeFMRate(ImageKeywordlist const& kwl, std::vector<FMRateRecordType> & FMRateRecords)
{
char fmRatePrefix_[1024];
std::size_t firstInd(1);
std::size_t nbLists(0);
nbLists = std::stoi(kwl.GetMetadataByKey("azimuthFmRate.azi_fm_rate_coef_nb_list"));
std::string FM_PREFIX = "azimuthFmRate.azi_fm_rate_coef_list";
//set coefficient for 1st polynome FMRate
const int pos1 = sprintf(fmRatePrefix_, "%s%zu.", FM_PREFIX.c_str(), 1);
const int pos1 = sprintf(fmRatePrefix_, "%s%zu.", FM_PREFIX.c_str(), firstInd);
assert(pos1 > 0 && (unsigned long) pos1 < sizeof(fmRatePrefix_));
const std::string FMPrefix1(fmRatePrefix_, pos1);
FMRateRecordType fmRateRecord1;
......@@ -100,14 +100,14 @@ namespace otb
::setPolynomeDCF(ImageKeywordlist const& kwl, std::vector<DCFRecordType> & DCFRecords)
{
char dcfPrefix_[1024];
std::size_t firstInd(1);
std::size_t nbLists(0);
nbLists = std::stoi(kwl.GetMetadataByKey("dopplerCentroid.dop_coef_nb_list"));
std::string DCF_PREFIX = "dopplerCentroid.dop_coef_list";
//set coefficients for 1st polynome DCF
const int pos1 = sprintf(dcfPrefix_, "%s%zu.", DCF_PREFIX.c_str(), 1);
const int pos1 = sprintf(dcfPrefix_, "%s%zu.", DCF_PREFIX.c_str(), firstInd);
assert(pos1 > 0 && (unsigned long) pos1 < sizeof(dcfPrefix_));
const std::string DCFPrefix1(dcfPrefix_, pos1);
DCFRecordType dcfRecord1;
......
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