-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
good first issueGood for newcomersGood for newcomersimpact: breakingA change that will require some or all users to adaptA change that will require some or all users to adapttype: bugSomething isn't workingSomething isn't working
Description
The download docs say that the return value shall be a list of strings. When running in_region however, the result is a list of pathlib.PosixPath objects.
import earthaccess
import pathlib
assert earthaccess.__version__ == "0.9.0"
assert earthaccess.__store__.in_region
local = pathlib.Path("data").mkdir(exist_ok=True)
results = earthaccess.search_data(short_name="PACE_OCI_L2_BGC_NRT", count=1)
paths = earthaccess.download(results, local_path=local)
assert isinstance(paths[0], str)The last assert raises an exception.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersimpact: breakingA change that will require some or all users to adaptA change that will require some or all users to adapttype: bugSomething isn't workingSomething isn't working
Type
Projects
Status
✅ Done