Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for ids in id_list:
- my_asset = client.get_assets_by_id('PSScene4Band', ids).get()
- client.activate(my_asset['analytic'])
- my_asset = client.get_assets_by_id('PSScene4Band', ids).get()
- callback = api.write_to_file('**dir**')
- body = client.download(my_asset['analytic'], callback=callback)
- body.await()
- time.sleep(30)
Add Comment
Please, Sign In to add comment