Commits
Cole Krehbiel authored 48e98b0d110
35 35 | # prod: product(s) desired to be downloaded |
36 36 | parser.add_argument('-prod' ,choices = ['HLSS30' , 'HLSL30', 'both'] ,required=False, help='Desired product(s) to be subset and processed.', default='both') |
37 37 | |
38 38 | # layers: layers desired to be processed within the products selected |
39 39 | parser.add_argument('-bands', required=False, help="Desired layers to be processed. Valid inputs are ALL, COASTAL-AEROSOL, BLUE, GREEN, RED, RED-EDGE1, RED-EDGE2, RED-EDGE3, NIR1, SWIR1, SWIR2, CIRRUS, TIR1, TIR2, WATER-VAPOR, FMASK. To request multiple layers, provide them in comma separated format with no spaces. Unsure of the names for your bands?--check out the README which contains a table of all bands and band names.", default='ALL') |
40 40 | |
41 41 | # cc: maximum cloud cover (%) allowed to be returned (by scene) |
42 42 | parser.add_argument('-cc', required=False, help='Maximum cloud cover (percent) allowed for returned observations (e.g. 35). Valid range: 0 to 100 (integers only)', default='100') |
43 43 | |
44 44 | # qf: quality filter flag: filter out poor quality data yes/no |
45 - | parser.add_argument('-qf' ,choices = ['True', 'False'], required=False, help='Flag to quality filter before exporting output files (see README for quality filtering performed).', default=True) |
45 + | parser.add_argument('-qf' ,choices = ['True', 'False'], required=False, help='Flag to quality filter before exporting output files (see README for quality filtering performed).', default='True') |
46 46 | |
47 47 | # sf: scale factor flag: Scale data or leave unscaled yes/no |
48 48 | parser.add_argument('-scale' ,choices = ['True', 'False'], required=False, help='Flag to apply scale factor to layers before exporting output files.', default='True') |
49 49 | |
50 50 | # of: output file format |
51 51 | parser.add_argument('-of' ,choices = ['COG', 'NC4', 'ZARR'], required=False, help='Define the desired output file format', default='COG') |
52 52 | |
53 53 | args = parser.parse_args() |
54 54 | |
55 55 | ######################### Handle Inputs ####################################### |