yannforget / landsatxplore

Search and download Landsat scenes from EarthExplorer.
MIT License
217 stars 95 forks source link

Downloading image by row and path #107

Open sachinimr opened 1 year ago

sachinimr commented 1 year ago

Hello,

I am curious if there is a keyword argument in LandExplore to download images by calling their row and path. I am currently working on a project that requires bulk downloading, and the project specifications mandate calling images by their row and path numbers. I am using the "WRS2_descending.shp" to specify the row and path.

The image specification section I am trying to achieve is as follows.
scenes = api.search( dataset='landsat_ot_c2_l1', path=path, row=row, start_date=start_date, end_date=end_date, max_cloud_cover=10)

TypeError: API.search() got an unexpected keyword argument 'path'

Thank you, -Sachini

mhmdreza-gp commented 5 months ago

change it to:

'wrs_row' and 'wrs_path'