Problem downloading Sentinel-3 LST data

Hello everyone,
I have a problem downloading Sentinel-3 Land Surface Temperature products.
This is the script I use:
from sentinelsat import SentinelAPI, read_geojson, geojson_to_wkt
-Set up your Copernicus Open Access Hub credentials
copernicus_username = “username”
copernicus_password = “password”

-Define your search parameters
area_of_interest_geojson = “area_of_interest.geojson”
start_date = “start date”
end_date = “end date”
max_cloud_cover = 100 # Percentage
api = SentinelAPI(copernicus_username, copernicus_password, ‘APIHub’)
s3_products = api.query(area_of_interest_wkt,
date=(start_date, end_date),
cloudcoverpercentage=(0, max_cloud_cover),
platformname=‘Sentinel-3’)
producttype=‘SL_2_LST___’)
available_product_types = set()
for product_id, product_info in s3_products.items():
available_product_types.add(product_info[‘producttype’])

-Print the list of available product types
print(“Available product types:”)
for product_type in available_product_types:
print(product_type)

print(f"Number of LST-Sentinel-3 products: {len(s3_products)}")

The script works correctly, and this is what I get:
Available product types:
SY_2_SYN___
SY_2_VGP___
SY_2_V10___
SY_2_VG1___
SY_2_AOD___
OL_2_LRR___
OL_2_LFR___
Number of LST-Sentinel-3 products: 0

So, the products I wanted download seems not be available (on the website they are available instead)
My question is: Anyone knows how to get Sentinel-3 SLSTR products via APIs? (LST and I am also looking for WST products)…
Thanks to everyone :slight_smile:

Hi,

I’ve just answered this question (Where is Sentinel-3 water data available | EOMasters) and this reminded me of your question.

Checking the new Copernicus Data Space Ecosystem might be an option for you but it seems not to work with sentinelsat. At least not yet.

I don’t know why sentinelsat doesn’t show the LST data. This might be a sentinelsat issue. You might ask here Issues · sentinelsat/sentinelsat (github.com).

Hi,

I am sharing solution and I hope it will work for you as it worked in my case.

To download Sentinel-3 Land Surface Temperature (LST) and Sea and Land Surface Temperature Radiometer (SLSTR) products via APIs, you can use the SentinelHub-Py package, which provides access to Sentinel data through a Python API. Here’s a step-by-step solution:

Install SentinelHub-Py: If you haven’t already, install the SentinelHub-Py package using pip:

Bash
pip install sentinelhub-py

Import Necessary Modules: In your Python script, import the required modules:

Python
from sentinelhub import SHConfig, SentinelHubRequest, BBox, CRS, DataCollection, bbox_to_dimensions

Configure Your SentinelHub API Credentials: Create a configuration file with your credentials:

Python

config = SHConfig()
config.instance_id = 'your_instance_id'
config.sh_client_id = 'your_client_id'
config.sh_client_secret = 'your_client_secret'

You can obtain your instance ID, client ID, and client secret by signing up for a Sentinel Hub account and configuring an instance.

Define Your Search Parameters: Define the area of interest (AOI) as a bounding box and set the parameters for your query:

Python

# Define the AOI as a bounding box
bbox = BBox([min_lon, min_lat, max_lon, max_lat], crs=CRS.WGS84)

# Set query parameters
time_interval = ('start_date', 'end_date')
max_cloud_cover = 100

Create a Request for LST and SLSTR Products:

Python

request = SentinelHubRequest(
    data_folder='path_to_save_downloaded_data',
    evalscript=evalscript,
    input_data=[
        SentinelHubRequest.input_data(
            data_collection=DataCollection.SENTINEL3_SLSTR,
            time_interval=time_interval,
            mosaicking_order='mostRecent',
            maxcc=max_cloud_cover,
            bbox=bbox
        )
    ],
    config=config
)

Ensure you specify the correct evalscript for the products you want to download (e.g., LST, WST).

Execute the request to retrieve the data:

request.save_data(redownload=True)

The redownload=True parameter ensures that data is re-downloaded if it already exists locally.

Downloaded Products: The downloaded products will be saved in the specified data folder.

This solution uses the SentinelHub-Py package, which allows you to access Sentinel data, including Sentinel-3 LST and SLSTR products, through APIs. Make sure to replace placeholders like your_instance_id, your_client_id, your_client_secret, start_date, end_date, and the bounding box coordinates with your specific values and desired parameters. Following this uipath training you can make it more better. You can also follow this solution- Where is Sentinel-3 water data available | EOMasters

Thanks