Skip to content

Commit

Permalink
Updating metadata for RCM
Browse files Browse the repository at this point in the history
  • Loading branch information
tcevaer committed Dec 9, 2024
1 parent fe5bfc5 commit 7993d4a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions coloc_sat/sar_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,12 @@ def mission_name(self):
"""
if "RS2" in self.product_name.upper():
return "RADARSAT-2"
elif "RCM" in self.product_name.upper():
return "RADARSAT Constellation"
elif "RCM1" in self.product_name.upper():
return "RADARSAT Constellation 1"
elif "RCM2" in self.product_name.upper():
return "RADARSAT Constellation 2"
elif "RCM3" in self.product_name.upper():
return "RADARSAT Constellation 3"
elif "S1A" in self.product_name.upper():
return "SENTINEL-1 A"
elif "S1B" in self.product_name.upper():
Expand Down
2 changes: 1 addition & 1 deletion coloc_sat/scripts/coloc_between_product_and_mission.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def main():
resampling_methods = [method.name for method in rasterio.enums.Resampling]

parser = argparse.ArgumentParser(description="Generate co-locations between a specified product and a mission.")
parser = argparse.ArgumentParser(description="Generate co-locations between a specified product and a mission. Exit codes: 20 = no coloc found. 0 = OK. 1 = unknown error.")

parser.add_argument("--product1-id", type=str, help="Path of the first product.")
parser.add_argument("--destination-folder", default='/tmp', nargs='?', type=str, help="Folder path for the output.")
Expand Down

0 comments on commit 7993d4a

Please sign in to comment.