Filter by individual dates instead of interval

Hi, I need to get ndvi data for a field in specific dates, contained in an array, currently my request looks like this:


        request_ndvi = SentinelHubRequest(
            evalscript=evalscript_ndvi,
            input_data=[
                {
                    "type": "S2L2A",
                    "timeInterval": (date_start, date_end)
                }
            ],
            responses=[
                SentinelHubRequest.output_response("default", MimeType.TIFF)
            ],
            bbox=bbox,
            size=bbox_size,
            config=config
        )

Is it possible to modify it so it takes only the data from specific days?
Or maybe get the time interval but filtering out the days I don’t need?

I know I could just loop through the dates, doing a time interval of a day for each one, but I’m trying to avoid making that many requests.

Hi,

I am assuming that you are trying to obtain NDVI for several dates in your request. If so, then I recommend trying this function. Using this filter you can specify only the dates that you are interested in.

Hope that this helps you out.