Skip to content

Commit

Permalink
Fixed bug in determintation of minimum azimuth for cutting of unwrapp…
Browse files Browse the repository at this point in the history
…ed interferograms
  • Loading branch information
David-Loibl committed Jan 25, 2019
1 parent c8ece6d commit bbd1387
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/GMTSAR-mods/merge_unwrap_geocode.csh
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ if (-e ../cut_to_aoi.flag) then
if (`echo "$bb_azimu_3 > $azimu_max" | bc -l` == 1) then
set azimu_max = $bb_azimu_3
endif
if (`echo "$bb_azimu_3 > $azimu_max" | bc -l` == 1) then
set azimu_max = $bb_azimu_3
if (`echo "$bb_azimu_4 > $azimu_max" | bc -l` == 1) then
set azimu_max = $bb_azimu_4
endif

set azimu_min = $bb_azimu_1
Expand All @@ -153,8 +153,8 @@ if (-e ../cut_to_aoi.flag) then
if (`echo "$bb_azimu_3 < $azimu_min" | bc -l` == 1) then
set azimu_min = $bb_azimu_3
endif
if (`echo "$bb_azimu_3 < $azimu_min" | bc -l` == 1) then
set azimu_min = $bb_azimu_3
if (`echo "$bb_azimu_4 < $azimu_min" | bc -l` == 1) then
set azimu_min = $bb_azimu_4
endif

set region_cut = $range_min"/"$range_max"/"$azimu_min"/"$azimu_max
Expand Down
8 changes: 4 additions & 4 deletions lib/GMTSAR-mods/p2p_S1_OSARIS.csh
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ if (-e ../../cut_to_aoi.flag) then
if (`echo "$bb_azimu_3 > $azimu_max" | bc -l` == 1) then
set azimu_max = $bb_azimu_3
endif
if (`echo "$bb_azimu_3 > $azimu_max" | bc -l` == 1) then
set azimu_max = $bb_azimu_3
if (`echo "$bb_azimu_4 > $azimu_max" | bc -l` == 1) then
set azimu_max = $bb_azimu_4
endif

set azimu_min = $bb_azimu_1
Expand All @@ -148,8 +148,8 @@ if (-e ../../cut_to_aoi.flag) then
if (`echo "$bb_azimu_3 < $azimu_min" | bc -l` == 1) then
set azimu_min = $bb_azimu_3
endif
if (`echo "$bb_azimu_3 < $azimu_min" | bc -l` == 1) then
set azimu_min = $bb_azimu_3
if (`echo "$bb_azimu_4 < $azimu_min" | bc -l` == 1) then
set azimu_min = $bb_azimu_4
endif


Expand Down

0 comments on commit bbd1387

Please sign in to comment.