Sentinel-2 L2A

About Sentinel-2 L2A Data

Mission Information

Dedicated to supplying data for Copernicus services, Sentinel-2 is carrying a range of technologies, such as multi-spectral imaging instruments for land, ocean and atmospheric monitoring. It's is delivering high-resolution optical images for land monitoring, emergency response and security services. The satellite's multispectral imager provides a versatile set of 13 spectral bands spanning from the visible and near infrared to the shortwave infrared.

More information:

Basic Facts

PropertyInfo
Spatial resolution10 m, 20 m, and 60 m depending on wavelength
SensorMultiSpectral Instrument (MSI), 13 bands: 4 visible bands, 6 Near-Infrared bands, and 3 Short-Wave Infrared bands
Revisit time5 days
Spatial coveragelink
Data availabilitySince November 2015
MeasurementBottom of the atmosphere (BOA) reflectance, processed from L1C with Sen2Cor
Common usage/purposeLand-cover maps, land-change detection maps, vegetation monitoring, monitoring of burned areas

Attribution and Use

EU law grants free access to Copernicus Sentinel Data and Service Information for the purpose of the following use in so far as it is lawful: a) reproduction; b) distribution; c) communication to the public; d) adaptation, modification and combination with other data and information; e) any combination of points a to d.

See more details on the use of Copernicus Sentinel data and service information

Tracing based on Sentinel imagery is allowed for commercial purposes as well.

Acknowledgment or credit: Contains modified Copernicus Sentinel data [Year] processed by Sentinel Hub

Accessing Sentinel-2 L2A Data

To access data you need to send a POST request to our process API. The requested data will be returned as the response to your request. Each POST request can be tailored to get you exactly the data you require. To do this requires setting various parameters which depend on the datasource you are querying. This chapter will help you understand the parameters for S2L2A data. To see examples of such requests go here, and for an overview of all API parameters see the API Reference.

Endpoint Locations

ServiceNotes
https://services.sentinel-hub.com/Europe since November 2016
Global since December 2018
https://shservices.mundiwebservices.com/Europe since July 2016

Data type identifier: S2L2A

Use S2L2A as the value of the input.data.type parameter in your API requests. This is mandatory and will ensure you get Sentinel-2 L2A data.

Filtering Options

This chapter will explain the input.data.dataFilter object of the S2L2A process API.

mosaickingOrder

Sets the order of overlapping tiles from which the output result is mosaicked. Note that tiles will in most cases come from the same orbit/acquisition. The tiling is done by ESA for easier distribution.

ValueDescriptionNotes
mostRecentselected by default. The pixel will be selected from the tile, which was acquired most recentlyin case there are more tiles available with the same timestamp (some tiles are processed by many ground stations, some are reprocessed, etc.), the one, which was downloaded from SciHub later will be used.
leastRecentsimilar to mostRecent but in reverse order
leastCCpixel is selected from tile with the least cloud coverage meta-datanote that "per tile" information is used here, each covering about a 12,000 sq. km area, so this information is only an estimate .

maxCloudCoverage

Sets the upper limit for cloud coverage in percent based on the precomputed cloud coverage estimate for each Sentinel-2 tile as present in the tile metadata. Satellite data will therefore not be retrieved for tiles with a higher cloud coverage estimate. For example, by setting the value to 20, only tiles with at most 20% cloud coverage will be used. Note that this parameter is set per tile and might not be directly applicable to the chosen area of interest.

previewMode

Sentinel Hub API is optimised for full resolution data access as this is what most users need. While the Sentinel-2 L1C has low-resolution previews generated, this is not yet the case for Sentinel-2 L2A. Lower resolution processing is enabled by default, but the performance degrades after going beyond 250m per pixel (up to 1500m per pixel).

ValueDescription
DETAILdisplays original data from full-resolution to 1500m per pixel

Processing Options

This chapter will explain the input.data.processing object of the S2L2A process API.

ActionDescriptionValuesDefault
upsamplingDefines the interpolation used for processing when the pixel resolution is greater than the source resolution (e.g. 5m/px with a 10m/px source)NEAREST - nearest neighbour interpolation
BILINEAR - bilinear interpolation
BICUBIC - bicubic interpolation
NEAREST
downsamplingAs above except when the resolution is lower.NEAREST - nearest neighbour interpolation
BILINEAR - bilinear interpolation
BICUBIC - bicubic interpolation
NEAREST

A visual representation of upsampling results using various algorithms is available here.

Available Bands and Data

This chapter will explain the bands and data which can be set in the evalscript input object. Any string listed in the column Name can be an element of the input.bands array in your evalscript.

NameDescriptionResolution
B01Coastal aerosol, 442.7 nm (S2A), 442.3 nm (S2B)60m
B02Blue, 492.4 nm (S2A), 492.1 nm (S2B)10m
B03Green, 559.8 nm (S2A), 559.0 nm (S2B)10m
B04Red, 664.6 nm (S2A), 665.0 nm (S2B)10m
B05Vegetation red edge, 704.1 nm (S2A), 703.8 nm (S2B)20m
B06Vegetation red edge, 740.5 nm (S2A), 739.1 nm (S2B)20m
B07Vegetation red edge, 782.8 nm (S2A), 779.7 nm (S2B)20m
B08NIR, 832.8 nm (S2A), 833.0 nm (S2B)10m
B8ANarrow NIR, 864.7 nm (S2A), 864.0 nm (S2B)20m
B09Water vapour, 945.1 nm (S2A), 943.2 nm (S2B)60m
B11SWIR, 1613.7 nm (S2A), 1610.4 nm (S2B)20m
B12SWIR, 2202.4 nm (S2A), 2185.7 nm (S2B)20m
AOTAerosol Optical Thickness map, based on Sen2Cor processor10m
SCLScene classification data, based on Sen2Cor processor, codelist20m
SNWSnow probability, based on Sen2Cor processor20m
CLDCloud probability, based on Sen2Cor processor20m
CLPCloud probability, based on s2cloudless (more)160m
CLMCloud masks (more)160m
sunAzimuthAnglesSun azimuth angle5000m
sunZenithAnglesSun zenith angle5000m
viewAzimuthMeanViewing azimuth angle5000m
viewZenithMeanViewing zenith angle5000m
dataMaskThe mask of data/no data pixels (more).N/A*

*dataMask has no source resolution as it is calculated for each output pixel.

Note: The cirrus band B10 is excluded as it does not contain any "bottom of the atmosphere" information (Source: Sen2Cor Configuration and User Manual).

Units

The data values for each band in your custom script are presented in the default units as specified here. In case more than one unit is available for a given band, you may optionally set the value of input.units in your evalscript setup function to one of the options. Doing so will present data in that unit. The Source Format specifies how and with what precision the digital numbers from which the unit is derived are encoded. The Typical Range indicates what values are common for a given band and unit, however outliers can be expected.

For Sentinel-2 optical data, the relation between DN and REFLECTANCE (default unit) is: DN = 10000 * REFLECTANCE.

BandUnitSource FormatTypical Range
Optical bandsDNUINT150 - 4000*
Optical bandsREFLECTANCE (default)UINT150 - 0.4*
AOTREFLECTANCE or DN**UINT160 - 0.6**
SCLN/AUINT80 - No data
1 - Saturated / Defective
2 - Dark Area Pixels
3 - Cloud Shadows
4 - Vegetation
5 - Bare Soils
6 - Water
7 - Clouds low probability / Unclassified
8 - Clouds medium probability
9 - Clouds high probability
10 - Cirrus
11 - Snow / Ice
SNWPercentageUINT80 - 100
CLDPercentageUINT80 - 100
CLPProbabilitiesUINT80 - 255 (divide by 255 to get to the [0-1] range)
CLMN/AUINT80 - no clouds
1 - clouds
255 - no data
sunAzimuthAnglesDegreesFLOAT3230 - 200
viewAzimuthMeanDegreesFLOAT3290 - 300
sunZenithAnglesDegreesFLOAT3215 - 80
viewZenithMeanDegreesFLOAT320 - 12
dataMaskN/ABoolean0 - no data
1 - data

*Higher values are expected in infrared bands. Reflectance values can easily be above 1.
** AOT = DN / 1000; reflectance therefore represents AOT / 10 (reflectance is essentially abuse of notation), so return AOT * 10 to get actual AOT values in evalscripts with default (reflectance) units.

Mosaicking

All mosaicking types are supported.

Scene Object

This chapter will explain the evalscript evaluatePixel scene object.

The same as for S2L1C.

Dataset Specific Constraints

  • Each Sentinel-2 satellite takes 100.6 minutes for an entire orbit, with S2A and S2B orbiting 180 degree apart. By setting a time interval to less than 50 minutes, there should be no overlap possible between different acquisitions, even near the poles.
  • For atmospheric correction, ESA's official Sen2Cor is used. In most cases the processing is done by ESA itself. On users' request we can also process some archive data using the same processor.

Catalog API Capabilities

To access Sentinel 2 L2A product metadata you need to send search request to our Catalog API. The requested metadata will be returned as JSON formatted response to your request. This chapter will help with understanding Sentinel 2 L2A specific parameters for search request.

Endpoint Locations

ServiceNotes
services.sentinel-hub.com/api/v1/catalog/collections/sentinel-2-l2aEurope since November 2016
Global since December 2018
shservices.mundiwebservices.com/api/v1/catalog/collections/sentinel-2-l2aEurope since July 2016

Collection identifier: sentinel-2-l2a

Query extension

  • eo:cloud_cover cloud cover percentage

Distinct extension

  • date

Examples

S2L2A examples