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

Missing Vendor Product and Tile IDs in the updated USGS api #60

Open
abhiramp1 opened this issue Jun 11, 2021 · 1 comment
Open

Missing Vendor Product and Tile IDs in the updated USGS api #60

abhiramp1 opened this issue Jun 11, 2021 · 1 comment

Comments

@abhiramp1
Copy link

Also, I did try to download sentinel-2 imagery using USGS API. Previously I was getting Vendor Product ID and Vendor Tile ID. since the update of the new 0.3.0 version of the USGS API, I cannot find both the "Vendor Product ID" and "Vendor Tile ID," Please suggest how I can access this?

{'browse': [{'id': '5e83a42ca2265449', 'browseRotationEnabled': None, 'browseName': 'Standard Browse', 'browsePath': 'https://ims.cr.usgs.gov/browse/s2/s2a/2016/12/21/L1C_T14SPH_A007831_20161221T172206.jpg', 'overlayPath': 'https://ims.cr.usgs.gov/wms.py?service=WMS&request=GetMap&map=sentinel_2a&layers=L1C_T14SPH_A007831_20161221T172206', 'overlayType': 'ims_wms', 'thumbnailPath': 'https://ims.cr.usgs.gov/thumbnail/s2/s2a/2016/12/21/L1C_T14SPH_A007831_20161221T172206.jpg'}], 'cloudCover': '99.51860', 'entityId': '853993', 'displayId': 'L1C_T14SPH_A007831_20161221T172206', 'orderingId': None, 'metadata': [], 'hasCustomizedMetadata': None, 'options': {'bulk': True, 'download': True, 'order': True, 'secondary': False}, 'selected': {'bulk': False, 'compare': False, 'order': False}, 'spatialBounds': {'type': 'Polygon', 'coordinates': [[[-97.8632824, 37.8353021], [-97.8632824, 38.8433146], [-96.5832678, 38.8433146], [-96.5832678, 37.8353021], [-97.8632824, 37.8353021]]]}, 'spatialCoverage': {'type': 'Polygon', 'coordinates': [[[-97.8632824, 37.853955], [-96.6159, 37.8353021], [-96.5832678, 38.8239923], [-97.8477095, 38.8433146], [-97.8632824, 37.853955]]]}, 'temporalCoverage': {'endDate': '2016-12-21 00:00:00-06', 'startDate': '2016-12-21 00:00:00-06'}, 'publishDate': '2017-01-07 06:38:42-06'}

@kapadia
Copy link
Owner

kapadia commented Jun 11, 2021

@abhiramp1 - I've not used this library to access Sentinel-2 imagery, but I have also noticed that some responses have changed. It might be that they deprecated the keys you typically use. You might be able to download S2 imagery using another ID in the response posted above.

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

No branches or pull requests

2 participants