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

ENH : Clean into SARDeramp filter

parent 7ba000e0
No related branches found
No related tags found
1 merge request!8Deramp
...@@ -255,8 +255,6 @@ namespace otb ...@@ -255,8 +255,6 @@ namespace otb
} }
} }
//polySelected = 4;
// Assign m_FM_C0, m_FM_C1, m_FM_C2, m_FM_Tau0 // Assign m_FM_C0, m_FM_C1, m_FM_C2, m_FM_Tau0
m_FM_C0 = FMRateRecords[polySelected].coef0FMRate; m_FM_C0 = FMRateRecords[polySelected].coef0FMRate;
m_FM_C1 = FMRateRecords[polySelected].coef1FMRate; m_FM_C1 = FMRateRecords[polySelected].coef1FMRate;
...@@ -328,8 +326,6 @@ namespace otb ...@@ -328,8 +326,6 @@ namespace otb
} }
} }
//polySelected = 4;
// Assign m_FM_C0, m_FM_C1, m_FM_C2, m_FM_Tau0 // Assign m_FM_C0, m_FM_C1, m_FM_C2, m_FM_Tau0
m_DCF_C0 = DCFRecords[polySelected].coef0DCF; m_DCF_C0 = DCFRecords[polySelected].coef0DCF;
m_DCF_C1 = DCFRecords[polySelected].coef1DCF; m_DCF_C1 = DCFRecords[polySelected].coef1DCF;
......
...@@ -427,14 +427,10 @@ if __name__ == "__main__": ...@@ -427,14 +427,10 @@ if __name__ == "__main__":
burstS = os.path.splitext(slave_Image_base)[0] + "_burst" + str(burstId) + ".tif" burstS = os.path.splitext(slave_Image_base)[0] + "_burst" + str(burstId) + ".tif"
burstDerampM = os.path.splitext(master_Image_base)[0] + "_burst" + str(burstId) + "_deramp" + ".tif" burstDerampM = os.path.splitext(master_Image_base)[0] + "_burst" + str(burstId) + "_deramp" + ".tif"
#burstDerampM = os.path.join("/work/ADM/hpc/ussegliog/Diapason/DiapOTB/Test_Data_Diapason/IW_firstTest_SACLAY/Diapason/burst" + str(burstId), "14780_SLC_DERAMP.tiff")
burstDerampS = os.path.splitext(slave_Image_base)[0] + "_burst" + str(burstId) + "_deramp" + ".tif" burstDerampS = os.path.splitext(slave_Image_base)[0] + "_burst" + str(burstId) + "_deramp" + ".tif"
#burstDerampS = os.path.join("/work/ADM/hpc/ussegliog/Diapason/DiapOTB/Test_Data_Diapason/IW_firstTest_SACLAY/Diapason/burst" + str(burstId), "14955_SLC_DERAMP.tiff")
master_Image_ML = os.path.splitext(master_Image_base)[0] + "_burst" + str(burstId) + "_ml" + str(ml_azimut) + str(ml_range) + ".tif" master_Image_ML = os.path.splitext(master_Image_base)[0] + "_burst" + str(burstId) + "_ml" + str(ml_azimut) + str(ml_range) + ".tif"
#master_Image_ML = os.path.join("/work/ADM/hpc/ussegliog/Diapason/DiapOTB/Test_Data_Diapason/IW_firstTest_SACLAY/Diapason/burst" + str(burstId), "14780_ml15.tiff")
slave_Image_ML = os.path.splitext(slave_Image_base)[0] + "_burst" + str(burstId) + "_ml" + str(ml_azimut) + str(ml_range) + ".tif" slave_Image_ML = os.path.splitext(slave_Image_base)[0] + "_burst" + str(burstId) + "_ml" + str(ml_azimut) + str(ml_range) + ".tif"
#slave_Image_ML = os.path.join("/work/ADM/hpc/ussegliog/Diapason/DiapOTB/Test_Data_Diapason/IW_firstTest_SACLAY/Diapason/burst" + str(burstId), "14955_ml15.tiff")
demProj_Master = "demProj" + "_burst" + str(burstId) +"_Master.tif" demProj_Master = "demProj" + "_burst" + str(burstId) +"_Master.tif"
...@@ -506,13 +502,8 @@ if __name__ == "__main__": ...@@ -506,13 +502,8 @@ if __name__ == "__main__":
appInterferogram.SetParameterString("insarmaster", os.path.join(burst_dir, burstM)) appInterferogram.SetParameterString("insarmaster", os.path.join(burst_dir, burstM))
appInterferogram.SetParameterString("incoregistratedslave", os.path.join(burst_dir, burstCoReRerampS)) appInterferogram.SetParameterString("incoregistratedslave", os.path.join(burst_dir, burstCoReRerampS))
appInterferogram.SetParameterString("insarslave", os.path.join(burst_dir, burstS)) appInterferogram.SetParameterString("insarslave", os.path.join(burst_dir, burstS))
#appInterferogram.SetParameterString("insarmaster", os.path.join(burst_dir, burstDerampM))
#appInterferogram.SetParameterString("incoregistratedslave", os.path.join(burst_dir, slave_Image_CoRe))
#appInterferogram.SetParameterString("insarslave", os.path.join(burst_dir, burstDerampS))
appInterferogram.SetParameterString("ingrid", os.path.join(burst_dir, fine_grid)) appInterferogram.SetParameterString("ingrid", os.path.join(burst_dir, fine_grid))
appInterferogram.SetParameterString("incartmeanmaster", os.path.join(burst_dir, master_cartesian_mean)) appInterferogram.SetParameterString("incartmeanmaster", os.path.join(burst_dir, master_cartesian_mean))
#appInterferogram.SetParameterInt("mlran", ml_range)
#appInterferogram.SetParameterInt("mlazi", ml_azimut)
appInterferogram.SetParameterInt("mlran", 1) appInterferogram.SetParameterInt("mlran", 1)
appInterferogram.SetParameterInt("mlazi", 1) appInterferogram.SetParameterInt("mlazi", 1)
appInterferogram.SetParameterInt("marginran", 1) appInterferogram.SetParameterInt("marginran", 1)
......
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