Summarize Sentinel-2 image server by polygon

326
0
10-04-2021 01:45 PM
AndrewBartle
New Contributor II

Hi, I'm trying to summarize Sentinel-2 pixel values with a polygon (to get the mean NDVI) using the ArcGIS API for Python and the Living Atlas Sentinel-2 View.

I've tried using an ImageryLayer (arcgis.raster.ImageryLayer) which is great as I can filter the view by an objectid to get a specific image. However, the arcgis.raster.analytics.summarize_raster_within tool gives me an error, "Unable to create service".

I then tried using the 'Summarize' operation in arcgis.raster.Raster which works fine but doesn't let me filter the Sentinel-2 view to a specific image. It seems like you cannot create a Raster object of a filtered ImageryLayer ("ImageryLayer has no attribute find"). 

What is the best way of achieving this?

Thank you

0 Kudos
0 Replies