Commit 8c260b03 authored by Pedro Alfonso Ramirez's avatar Pedro Alfonso Ramirez

Add get RGB sentinel-2 files

parent c04a11c1
...@@ -136,6 +136,8 @@ def search_band_combination(list_files_byext,args): ...@@ -136,6 +136,8 @@ def search_band_combination(list_files_byext,args):
def find_files_byext_Sentinel(files,args): def find_files_byext_Sentinel(files,args):
findProduct=check_existing_productType(args.product_output_type,args, 2) findProduct=check_existing_productType(args.product_output_type,args, 2)
if args.product_output_type == "RGB": if args.product_output_type == "RGB":
if args.plattform == 'Sentinel-1' or args.plattform == 'sentinel-1':
sys.exit()
if args.plattform == 'Sentinel-2' or args.plattform == 'sentinel-2': if args.plattform == 'Sentinel-2' or args.plattform == 'sentinel-2':
ext=".SAFE" ext=".SAFE"
files = [f for f in files if f.endswith(ext)] files = [f for f in files if f.endswith(ext)]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment