Since the 27th of March 2019 has the Earth Engine data catalogue one more dataset. Sentinel-2 Surface Reflectance (Level-2A) data are finally available. This blog post teaches you in one minute, how to get the current Sentinel-2 ingestion status for your region of interest.
Right now the collection "COPERNICUS/S2_SR" only has 30K out of 1M+ expected assets. We have already downloaded most of the files and will ingest the rest over the next few weeks.
Let’s check how many Level-2A images are there (worldwide) for 2017
// Javascript
var palettes = require('users/gena/packages:palettes');
var palette = palettes.colorbrewer.Spectral[11].reverse();
var data = ee.ImageCollection("COPERNICUS/S2_SR").filterDate("2017-01-01", "2017-12-31");
var img = data.reduceToImage({
properties:['MGRS_TILE'],
reducer: ee.Reducer.count()
});
Map.addLayer(img.updateMask(img.gt(0)),
{min:1, max:100, palette:palette},
'S2_SR', true, 0.6);
Map.setCenter(0,5,2);
The result is the image shown below. If you would like to get the information for other years, just change the filter date numbers.
Bottom Line
If you have any questions, suggestions or spotted a mistake, please use the comment function at the bottom of this page.
Previous blog posts are available within the blog archive. Feel free to connect or follow me on Twitter - @Mixed_Pixels.