kapadia / usgs

Client library for interfacing with USGS datasets
http://kapadia.github.io/usgs/
ISC License
109 stars 38 forks source link

USGSError: DATASET_NOT_CONFIGURED #34

Closed tzoiker closed 7 years ago

tzoiker commented 7 years ago

I am trying to run an example from the README, but keep getting the following error: USGSError: DATASET_NOT_CONFIGURED: Dataset is not configured for Inventory Service. Python 2.7.12, usgs 0.2.0.

tzoiker commented 7 years ago

It fails for LANDSAT_8 dataset. However, search, e.g. api.search('LANDSAT_ETM_SLC_OFF', 'EE', lat=50, lng=30, start_date='2006-01-01', end_date='2006-01-02') fails for LANDSAT_TM and LANDSAT_ETM_SLC_OFF as well.

kapadia commented 7 years ago

@tzoiker This appears to be due to USGS's transition to a collection based archive (https://landsat.usgs.gov/landsat-collections). Instead of using the LANDSAT_8 dataset, try the new collection dataset, LANDSAT_8_C1.