-
Notifications
You must be signed in to change notification settings - Fork 38
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
usgs uses minimum bounding rectangle now for spatial filter #47
Comments
Yep, PRs welcome. There was some effort to update some calls to the v1.4 API, such as during login, but not everything was updated. Feel free to drop your usage here, and I'll can try to confirm the issue if you're not entirely sure. |
Awesome thanks! Here is my call
|
Try this in your shell. Make sure you're logged in as well
Your query doesn't set an end date, which, in my experience tends to cause the USGS servers to hang. If you're trying to search from 2002 to current, you'll want to chunk the queries along the date range. Try one month intervals to start. If that's successful in a reasonable amount of time, expand the time range. If that falls over, try reducing to one or two week intervals. |
I get the following error running that line, not sure what's going on.
It looks like the result is received but can't be printed with |
The error also occurs on python 3.6.7 |
I'm not sure what the issue is with the cli, but I've made a PR that adds geojson filtering for the python api. My PR doesn't seem to fix or change the above error for the cli. |
Likely a version issue. I'll take a look tomorrow. |
@kapadia I've made an effort to implement GeoJSON filtering, but unfortunately, it doesn't appear to be functioning as intended. Would you be so kind as to inform me if this issue has already been addressed? Your assistance would be greatly appreciated. |
https://earthexplorer.usgs.gov/inventory/documentation/test?version=1.3.0 used ll and ur coordinates but the later api versions use the MBR. I think this might be what is causing my Remote Disconnected errors.
This payload would need to be updated in the search function, I'll see if I can fix this and submit a PR if PRs are being accepted.
The text was updated successfully, but these errors were encountered: