Skip to content

Commit

Permalink
Correct calculation of number of tiles
Browse files Browse the repository at this point in the history
  • Loading branch information
gzitzlsb-it4i committed Aug 15, 2023
1 parent 774d3d8 commit 26b6f3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rsdtlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1109,9 +1109,9 @@ def process(self):

steps_list = self._get_steps_list(list_time_stamps)

num_tiles_y = (min_height_SAR - self.deadzone_y)// \
num_tiles_y = (min_height_SAR - 2*self.deadzone_y)// \
(self.tile_size_y - 2*self.deadzone_y)
num_tiles_x = (min_width_SAR - self.deadzone_x)// \
num_tiles_x = (min_width_SAR - 2*self.deadzone_x)// \
(self.tile_size_x - 2*self.deadzone_x)

# Open all TFRecord files for writing
Expand Down

0 comments on commit 26b6f3a

Please sign in to comment.