Sentinel-2 Level-2A surface reflectance#

sentinel-2-l2a · theme optical · live

Sentinel-2 MSI bottom-of-atmosphere reflectance with the Sen2Cor scene classification layer, 10–60 m, from Planetary Computer or Earth Search.

import easysnowdata as esd

aoi = (-121.94, 46.72, -121.54, 46.99)   # Mount Rainier
data = esd.optical.sentinel2.load(aoi, time="2024-03")

No account needed

Every route to this product is open. Nothing to set up.

Sources#

2 routes serve this product; the first is the default and source= picks another. The return contract is the same either way.

source

provider

credentials

resolution

extent

temporal

latency

notes

planetary-computer (default)

stac

none

10 m

global

2015-06/present

~1-2 days

raw ESA values; the post-2022-01-25 baseline offset is undone by the date rule and the band aliases come from the stac_cfg fallback

earth-search

stac

none

10 m

global

2015-06/present

~1 day

items carry raster:bands scale and offset, so the baseline offset is applied from metadata; unsigned S3 reads

Where each route points#

planetary-computer — Planetary Computer live

sentinel-2-l2a

earth-search — Earth Search (AWS) live

sentinel-2-l2a / sentinel-2-c1-l2a / sentinel-2-pre-c1-l2a

Variables#

variable

units

dtype

nodata

categorical

blue

1

uint16

0

no

green

1

uint16

0

no

red

1

uint16

0

no

nir

1

uint16

0

no

swir16

1

uint16

0

no

swir22

1

uint16

0

no

scl

uint8

0

yes (12 classes)

scl classes (12)

value

meaning

0

No Data (Missing data)

1

Saturated or defective pixel

2

Topographic casted shadows

3

Cloud shadows

4

Vegetation

5

Not-vegetated

6

Water

7

Unclassified

8

Cloud medium probability

9

Cloud high probability

10

Thin cirrus

11

Snow or ice

Provenance#

Licence · Copernicus Sentinel data licence

Cite the data as

European Space Agency. Copernicus Sentinel-2 MSI Level-2A products.

Documentation

Loader · easysnowdata.optical.sentinel2.load