eodms-sgdot / eodms-cli

The EODMS CLI Python script is used to search, order and download imagery from the Earth Observation Data Management System using the REST API service.
Other
28 stars 7 forks source link

Error occurs when using 'RCM' instead of 'RCMImageProducts' for filters #8

Closed keballantyne closed 2 years ago

keballantyne commented 2 years ago

An error occurs when using the short-form "RCM" instead of "RCMImageProducts" for filters, such as "RCM.BEAM_MNEMONIC" instead of "RCMImageProducts.BEAM_MNEMONIC":

File "eodms_orderdownload.py", line 369, in ask_filter filt_items = self.eod.validate_filters(filt_items, coll_id) File "/emi/proc/rcm/eodms-rapi-orderdownload-main.20210908/utils/eod.py", line 1219, in validate_filters coll_fields = self.get_fieldMap()[coll_id] KeyError: 'RCM'