Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timeout parameter to landsatxplore download #32

Merged
merged 3 commits into from
Feb 16, 2021

Conversation

griembauer
Copy link
Contributor

This PR adds a timeout parameter that defines how long a landsatxplore download request should wait for a response before aborting.
In some cases, the Earth Explorer takes a lot of time to respond - for these cases the timeout parameter ensures that a) the process is not aborted before a certain amount of time has passed and b) the amount of time to wait for a response is finite.

A conservative value of 300 seconds (= 5 minutes) is set as default value in order to not break any existing processing chains where long EE response times may occur.

@yannforget
Copy link
Owner

Looks good to me! Thanks for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants