Skip to content

Commit

Permalink
Update SDS_download.py
Browse files Browse the repository at this point in the history
fix for issue #356
  • Loading branch information
kvos committed Dec 18, 2022
1 parent ec02de7 commit 2bf91c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion coastsat/SDS_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,10 @@ def retrieve_images(inputs):
else:
acc_georef = -1
# add additional metadata for Sharon's Sniffer ['PASSED' or 'FAILED']
im_quality.append(im_meta['properties']['RADIOMETRIC_QUALITY'])
flag_names = ['RADIOMETRIC_QUALITY', 'RADIOMETRIC_QUALITY_FLAG']
for key in flag_names:
if key in im_meta['properties'].keys(): break
im_quality.append(im_meta['properties'][key])
georef_accs.append(acc_georef)

# download the images as .tif files
Expand Down

0 comments on commit 2bf91c9

Please sign in to comment.