the search_data
function raises (unhelpfully) when no results are found
#816
Labels
bug
Something isn't working
should return
[]
but instead raises anIndexError
becauseearthaccess/earthaccess/search.py
Lines 470 to 472 in bb553e1
assumes
response
is not emptyIf my claim that returning
[]
is agreeable, then we better also make sure thatearthaccess.download
doesn't choke when given[]
.The text was updated successfully, but these errors were encountered: