Skip to content

Commit

Permalink
uncommented line
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewPlayer3 committed Feb 29, 2024
1 parent 478b7f8 commit 9b2e13c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/asf_tools/watermasking/generate_worldcover_tiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def tile_preprocessing(tile_dir, min_lat, max_lat, min_lon, max_lon):
def filename_filter(filename):
latitude = int(filename.split('_')[5][1:3])
longitude = int(filename.split('_')[5][4:7])
if filename.split('_')[5][3] == 'W': longitude = -longitude
mnlat = min_lat - (min_lat % WORLDCOVER_TILE_SIZE)
mnlon = min_lon - (min_lon % WORLDCOVER_TILE_SIZE)
mxlat = max_lat + (max_lat % WORLDCOVER_TILE_SIZE)
Expand Down

0 comments on commit 9b2e13c

Please sign in to comment.