Skip to main content

I have an extensive list of small AOIs and am manually screening them to download the useful images for my project. Is there an easy method to get the total count of days with images that meet my filters and dates in each AOI? Each day shows up in the Daily Scenes panel and on the timeline at the bottom of the map, so this information exists, but doesn’t seem readily available.

 

Thanks!

Hi ​@jbyrum 

You can programmatically search for images that match your criteria and then count the unique dates. The Data API allows you to search based on your filters .
 

You can try this:

  1. Define your AOIs in GeoJSON format

  2. Create search filters (date range, cloud coverage, etc.)

  3. Search for imagery using those filters

  4. Group the results by date to get the count of days with coverage

 

From the examples in the knowledge sources, you can use Python to group PSScene images by acquisition date:

# Group PS scenes by acquisition date

daily_ps_scenes = ps_scenes.index.to_series().groupby(ups_scenes.index.year,

ps_scenes.index.month,

ps_scenes.index.day])

# Count the number of days with coverage

daily_count = daily_ps_scenes.agg('count')

print('Number of days with coverage: {}'.format(len(daily_count)))
 

For more information see the: PS Scene and Landsat 8 Crossovers notebook.


Reply