PARSER.add_argument("-p", "--password", help=" Your secret password of scihub.copernicus.eu ", default=None) PARSER.add_argument("-a", "--areaofinterest", help=(' The Area of Interest (path to a shapefile' 'or ISO3 country code)'), dest='aoi', default='*', type=lambda x: helpers.is_valid_aoi(PARSER, x)) PARSER.add_argument("-b", "--begindate", help=" The Start Date (format: YYYY-MM-DD) ", default="2014-10-01", type=lambda x: helpers.is_valid_date(PARSER, x)) PARSER.add_argument("-e", "--enddate", help=" The End Date (format: YYYY-MM-DD)", default=NOW, type=lambda x: helpers.is_valid_date(PARSER, x)) PARSER.add_argument("-t", "--producttype", help=" The Product Type (RAW, SLC, GRD, *) ", default='*') PARSER.add_argument("-m", "--polarisation", help=" The Polarisation Mode (VV, VH, HH, HV, *) ", default='*') PARSER.add_argument("-b", "--beammode",
# username/password scihub parser.add_argument("-u", "--username", help=" Your username of scihub.copernicus.eu ", default=None) parser.add_argument("-p", "--password", help=" Your secret password of scihub.copernicus.eu ", default=None) parser.add_argument("-a", "--areaofinterest", help=(' The Area of Interest (path to a shapefile' 'or ISO3 country code)'), dest='aoi', default='*', type=lambda x: helpers.is_valid_aoi(parser, x)) parser.add_argument("-b", "--begindate", help=" The Start Date (format: YYYY-MM-DD) ", default="2014-10-01", type=lambda x: helpers.is_valid_date(parser, x)) parser.add_argument("-e", "--enddate", help=" The End Date (format: YYYY-MM-DD)", default=now, type=lambda x: helpers.is_valid_date(parser, x)) parser.add_argument("-t", "--producttype", help=" The Product Type (RAW, SLC, GRD, *) ", default = '*') parser.add_argument("-m", "--polarisation", help=" The Polarisation Mode (VV, VH, HH, HV, *) ", default = '*') parser.add_argument("-b", "--beammode", help=" The Beam Mode (IW, EW, SM, *) ", default='*') # output parameters