Exclude empty days from evalscript quary PlanetScope

I see there is a similar problem here Download of multiple images and dates in a specific time period - #2 by william.ray

the solution also refers to example 38, which takes the least cloudy image in a date range (in the example, one image per month for 12 months). However, it is still unclear how I can download all images in that date range.

I adapted the slots to run the get_true_color_request function for every day, as a new folder is made per day but the images are not named after that day (the folder is named after the date though). I need this for later steps when I want to select specific dates.

for now I’ll just download empty dates as well and delete them afterwards, but this does increase the usage of my processing units. If anybody has an alternative way I’d be happy to try it out.