Skip to content

Commit

Permalink
use normal numbers for tile size
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Feb 4, 2022
1 parent d61bf75 commit 818d0f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sardem/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,9 @@ def _filepath(self, tile_name):
def _all_files_exist(self):
filepaths = [self._filepath(tile_name) for tile_name in self.tile_names]
return all(os.path.exists(f) for f in filepaths)

def _write_zeros(self, local_filename):
np.zeros((self.tile_size, self.tile_size), dtype=np.int16).tofile(local_filename)
np.zeros((3601, 3601), dtype=np.int16).tofile(local_filename)

def download_all(self):
"""Downloads and saves all tiles from tile list"""
Expand Down

0 comments on commit 818d0f7

Please sign in to comment.