Skip to content

Commit

Permalink
differientiate S1A and S1B in sarmeta
Browse files Browse the repository at this point in the history
  • Loading branch information
tcevaer committed Nov 27, 2023
1 parent cf9c83e commit c71f211
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions coloc_sat/sar_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,10 @@ def mission_name(self):
return 'RADARSAT-2'
elif 'RCM' in self.product_name.upper():
return 'RCM'
elif 'S1' in self.product_name.upper():
return 'SENTINEL-1'
elif 'S1A' in self.product_name.upper():
return 'SENTINEL-1 A'
elif 'S1B' in self.product_name.upper():
return 'SENTINEL-1 B'
else:
raise TypeError("Unrecognized satellite name from %s" % str(self.product_name))

Expand Down

0 comments on commit c71f211

Please sign in to comment.