I’m using the Batch API with the sentinelhub
Python library.
When I set sh_base_url
to us-west:
config = SHConfig()
config.sh_client_id = ...
config.sh_client_secret = ...
config.sh_base_url = "https://services-uswest2.sentinel-hub.com"
config.save()
Then any subsequent requests fail:
SentinelHubBatch.get_tiling_grid(2, config=config)
With:
MissingTokenError: (missing_token) Missing access token parameter
This doesn’t happen if I set sh_base_url
to "https://services.sentinel-hub.com"
.
Is this some account auth settings that need to be changed or am I doing something wrong?
(The reason for using us-west is that we need MODIS, which seems to be only on us-west.)