4

I am using the graphical user interface of Google Earth Engine (Explorer) to carry out classification of land cover using sentinel 2. My study site is somewhere in Kenya with an id:

S2A_OPER_MSI_L1C_TL_EPA__20150914T075319_20160317T153700_A001190_T37MDU_N02_01_01

However, the format required is:

COPERNICUS/S2/20151128T002653_20151128T102149_T56MNN

and so I attempted to truncate my id to:

COPERNICUS/S2/20150914T074233_20150914T074233_T37MDU

It is still not being accepted by Earth Engine graphical user interface.

2

A Sentinel-2 product name is composed of the acquisition date in the first place and the ingestion date in second place. When a reprocessing takes place the second date will change.

The image available in EarthEngine you are looking for has the ID COPERNICUS/S2/20150914T074233_20160713T021501_T37MDU

To use it as an image in EarthEngine:

var kenyaSentinel2 = ee.Image("COPERNICUS/S2/20150914T074233_20160713T021501_T37MDU")

Also note, that there's a slight difference in acquisition date (measured at the start of the swath).

To make sure you find the image the easiests way would be to select a polygon for your region and filter the ImageCollection by polygon as well as date, to only show scenes from 2015-09-14.

  • Many thanks for the quick response. However, the image whose id you have given me is not overlaying with the area that I am working in. What could be the reason for this? It is falling next to my area of interest. – Pamela Ochungo Feb 6 '17 at 7:48
  • It is located in the same Sentinel-2 grid zone as the reference you have given T37MDU. You might need to check if this is the correct grid tile with the Sentinel-2 tiling grid KML. – Kersten Feb 6 '17 at 8:42
  • Ok great. Will do. – Pamela Ochungo Feb 6 '17 at 15:38
  • And how would you check if your desired image is available in Google's repository at all? I have tried multiple string manipulation and I always get Image asset not found. – adamczi Jun 10 '17 at 11:42
  • @adamczi Do you already know the image you are looking for? As the filename contains the date you could apply filterDate or filter the Sentinel-2 ImageCollection by metadata such as GRANULE_ID. – Kersten Jun 10 '17 at 18:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.