developmentseed / sat-gbdx

Library and CLI to search and access GBDX imagery
MIT License
3 stars 1 forks source link

Figure out how to dynamically remove options in an argparse parser #3

Open matthewhanson opened 6 years ago

matthewhanson commented 6 years ago

GBDXParser inherits most of it's functionality from SatUtilsParser, but there are a couple arguments that should be removed. --url in sat-search allows one to use it with any STAC compliant endpoint, that doesn't apply here as the GBDX API endpoint is hardcoded in sat-gbdx.

--param also should either be removed for now, or complete the search translation of STAC fields to DG fields for all properties