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 8 forks source link

Error occurs when using CSV results file from EODMS GUI which contains ALOS-2 images #28

Closed keballantyne closed 1 year ago

keballantyne commented 1 year ago
ERROR - Traceback (most recent call last):
  File "/home/sergey/bin/eodms-cli/eodms_cli.py", line 1661, in cli
    prmpt.prompt()
  File "/home/sergey/bin/eodms-cli/eodms_cli.py", line 1247, in prompt
    self.eod.order_csv(self.params)
  File "/home/sergey/bin/eodms-cli/scripts/utils.py", line 1713, in order_csv
    query_imgs = self._get_eodms_res(csv_fn, max_images)
  File "/home/sergey/bin/eodms-cli/scripts/utils.py", line 468, in _get_eodms_res
    for coll in colls:
TypeError: 'NoneType' object is not iterable
keballantyne commented 1 year ago

Fixed in v3.2.1 https://github.com/eodms-sgdot/eodms-cli/commit/e84ff28d9f7f482d0c46a75a39176eb5eb08ba67