Hello,
I can’t access the Landsat level 2 catalog:(I have read everything here I could about the topic, and it doesn’t work.)
this the config I’m using:
SHConfig(
instance_id='Data_TfS',
sh_client_id='hidden',
sh_client_secret='hidden',
sh_base_url='services-uswest2.sentinel-hub.com',
sh_auth_base_url='https://services.sentinel-hub.com',
geopedia_wms_url='https://service.geopedia.world',
geopedia_rest_url='https://www.geopedia.world/rest',
aws_access_key_id='',
aws_secret_access_key='',
aws_session_token='',
aws_metadata_url='https://roda.sentinel-hub.com',
aws_s3_l1c_bucket='sentinel-s2-l1c',
aws_s3_l2a_bucket='sentinel-s2-l2a',
opensearch_url='http://opensearch.sentinel-hub.com/resto/api/collections/Sentinel2',
max_wfs_records_per_query=100,
max_opensearch_records_per_query=500,
max_download_attempts=4,
download_sleep_time=5,
download_timeout_seconds=120.0,
number_of_download_processes=1
and the code I run:
resolution = (100,100)
betsiboka_bbox = BBox(bbox=betsiboka_coords_wgs84, crs=CRS.WGS84)
betsiboka_size = bbox_to_dimensions(betsiboka_bbox, resolution=resolution)
time_interval = "2016-01-01", "2016-01-30"
time_difference = dt.timedelta(hours=1)
search_iterator = catalog.search(
DataCollection.LANDSAT_OT_L2,
bbox=betsiboka_bbox,
time=time_interval,
query={"eo:cloud_cover": {"lt": 100}},
fields={"include": u"id", "properties.datetime", "properties.eo:cloud_cover"], "exclude": u]},
)
results = list(search_iterator)
the result is:
MissingSchema: Invalid URL ‘services-uswest2.sentinel-hub.com/api/v1/catalog/search/api/v1/catalog/search’: No schema supplied. Perhaps you meant http://services-uswest2.sentinel-hub.com/api/v1/catalog/search/api/v1/catalog/search?
(I’ve had many other results during the day as I’ve tried several sh_base_url)