sentinel-1-rtc requires authentication #167
gtgrp-user
started this conversation in
General
Replies: 1 comment 1 reply
-
Some datasets, like sentinel-1-rtc, require you to provide your Planetary Computer API key. From https://planetarycomputer.microsoft.com/dataset/sentinel-1-rtc
https://planetarycomputer.microsoft.com/docs/concepts/sas/#when-an-account-is-needed goes into detail, but if you're using the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Do you know if there is any sample python scripts to load sentinel-1-rtc collection in a xarray using authentication?
ds = odc.stac.load(item_collection, measurements=['vv', 'vh'], chunks={"x": 2048, "y": 2048}, bbox=geom.bounds, stac_cfg=cfg, patch_url=pc.sign )
It tried above which worked for sentinel-2, however, throws the following error for sentinel-1,
HTTPError: 403 Client Error: Forbidden for url: https://planetarycomputer.microsoft.com/api/sas/v1/token/sentinel1euwestrtc/sentinel1-grd-rtc
Beta Was this translation helpful? Give feedback.
All reactions