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

Set asf timeout on command line in ariaDownload.py #388

Open
feigl opened this issue Nov 29, 2023 · 1 comment
Open

Set asf timeout on command line in ariaDownload.py #388

feigl opened this issue Nov 29, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@feigl
Copy link

feigl commented Nov 29, 2023

When running the following command, I receive the error message below. For the future, would you please consider adding a switch to set the timeout value on the command line interface? Such an option worked well in the past when using the SSARA federated query.

ariaDownload.py -v --bbox '40.3480000000 40.4490000000 -119.4600000000 -119.350' --output Download --start 20160101 --end 20230901 --track 137 -nt 30 -w ./products

Error Message: Connection Error (Timeout): CMR took too long to respond. Set asf constant "CMR_TIMEOUT" to increase. (url='https://cmr.earthdata.nasa.gov/search/granules.umm_json', timeout=30)
User Agent: Python/3.11.6; requests/2.31.0; asf_search/6.7.1
Search Options: {
intersectsWith: POLYGON ((-119.4599999999999937 40.4489999999999981, -119.4599999999999937 40.3479999999999990, -119.3499999999999943 40.3479999999999990, -119.3499999999999943 40.4489999999999981, -119.4599999999999937 40.4489999999999981))
platform: ['SENTINEL-1A', 'SENTINEL-1B']
processingLevel: ['GUNW_STD']
relativeOrbit: [137]
}
"If you have any questions email uso@asf....

https://github.com/search?q=repo%3Aasfadmin%2FDiscovery-asf_search+CMR_TIMEOUT&type=code
ASF_AUTH_HOST = 'auth.asf.alaska.edu'
CMR_HOST = 'cmr.earthdata.nasa.gov'
CMR_TIMEOUT = 30
CMR_FORMAT_EXT = 'umm_json'
CMR_GRANULE_PATH = f'/search/granules.{CMR_FORMAT_EXT}'
CMR_COLLECTIONS = f'/search/collections'

@feigl feigl added the enhancement New feature or request label Nov 29, 2023
@bbuzz31
Copy link
Collaborator

bbuzz31 commented Dec 6, 2023

@jhkennedy @Alex-Lewandowski bringing this to your attention

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

No branches or pull requests

2 participants