Tutorial: xarray, Dask, and cubo¶
This notebook is a compact tutorial for medium-resolution Earth Observation (EO) workflows focused on climate resilience and risk monitoring.
It uses a single user-facing API — cubo — to show how the same workflow can target:
- Google Earth Engine with
gee=True - STAC catalogs (Planetary Computer by default)
- alternative STAC endpoints with
stac="..."
Learning goals¶
By the end of this notebook, participants should be able to:
- explain why xarray is useful for EO data cubes,
- describe how Dask enables chunked and lazy processing,
- make a basic API request with
cubo.create(...), - inspect a Dask-backed
xarray.DataArray, - run a simple Africa vegetation example and an Asia coastal example,
- adapt the same notebook to a different backend or endpoint.
1. Environment setup¶
Install the packages you need. For Google Earth Engine access, use the ee extra:
pip install "cubo[ee]" xarray dask matplotlib notebook
If you only want STAC access, pip install cubo xarray dask matplotlib is usually enough.
import cubo
import xarray as xr
import numpy as np
import matplotlib.pyplot as plt
import dask
# Optional: for the GEE examples
import ee
2. Earth Engine authentication¶
Run this once in a fresh environment if needed:
ee.Authenticate()
Then initialize the high-volume endpoint used in the current cubo tutorial:
ee.Initialize(opt_url="https://earthengine-highvolume.googleapis.com")
ee.Authenticate()
ee.Initialize(project="ee-kizarzakir")
# Uncomment if needed in a new environment:
# ee.Authenticate()
# ee.Initialize(opt_url="https://earthengine-highvolume.googleapis.com")
3. Why xarray + Dask?¶
cubo.create(...) returns an xarray.DataArray. That matters because you immediately get:
- labeled dimensions like
time,band,y, andx, - coordinate-aware selection with
.sel(...)and.isel(...), - reductions like
.mean(...),.median(...),.groupby(...), - optional Dask-backed lazy execution for larger-than-memory workflows.
A good beginner mental model is:
API call → xarray object → lazy chunked operations → compute only when needed
toy = xr.DataArray(
np.random.rand(60, 3, 300, 300),
dims=("time", "band", "y", "x"),
coords={
"time": np.arange(60), # Changed from 6 to 600 to match data dimension
"band": ["B1", "B2", "B3"]
},
name="toy_cube"
).chunk({"time": 2, "band": 1, "y": 30, "x": 30})
toy
<xarray.DataArray 'toy_cube' (time: 60, band: 3, y: 300, x: 300)> Size: 130MB dask.array<xarray-<this-array>, shape=(60, 3, 300, 300), dtype=float64, chunksize=(2, 1, 30, 30), chunktype=numpy.ndarray> Coordinates: * time (time) int64 480B 0 1 2 3 4 5 6 7 8 ... 51 52 53 54 55 56 57 58 59 * band (band) <U2 24B 'B1' 'B2' 'B3' Dimensions without coordinates: y, x
- time: 60
- band: 3
- y: 300
- x: 300
- dask.array<chunksize=(2, 1, 30, 30), meta=np.ndarray>
Array Chunk Bytes 123.60 MiB 14.06 kiB Shape (60, 3, 300, 300) (2, 1, 30, 30) Dask graph 9000 chunks in 1 graph layer Data type float64 numpy.ndarray - time(time)int640 1 2 3 4 5 6 ... 54 55 56 57 58 59
array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59]) - band(band)<U2'B1' 'B2' 'B3'
array(['B1', 'B2', 'B3'], dtype='<U2')
print("Dask-backed:", dask.is_dask_collection(toy.data))
print("Chunk structure:", toy.chunks)
lazy_result = toy.mean(("x", "y"))
lazy_result
Dask-backed: True Chunk structure: ((2, 2, 2), (1, 1, 1), (32,), (32,))
<xarray.DataArray 'toy_cube' (time: 6, band: 3)> Size: 144B dask.array<mean_agg-aggregate, shape=(6, 3), dtype=float64, chunksize=(2, 1), chunktype=numpy.ndarray> Coordinates: * time (time) int64 48B 0 1 2 3 4 5 * band (band) <U2 24B 'B1' 'B2' 'B3'
- time: 6
- band: 3
- dask.array<chunksize=(2, 1), meta=np.ndarray>
Array Chunk Bytes 144 B 16 B Shape (6, 3) (2, 1) Dask graph 9 chunks in 3 graph layers Data type float64 numpy.ndarray - time(time)int640 1 2 3 4 5
array([0, 1, 2, 3, 4, 5])
- band(band)<U2'B1' 'B2' 'B3'
array(['B1', 'B2', 'B3'], dtype='<U2')
The result above is still lazy. Nothing expensive happens until you ask for values explicitly with .compute(), .load(), plotting, or writing to disk.
lazy_result.compute()
<xarray.DataArray 'toy_cube' (time: 6, band: 3)> Size: 144B
array([[0.49619101, 0.49386056, 0.49531824],
[0.49947857, 0.50544716, 0.48302337],
[0.4990598 , 0.5003907 , 0.49632866],
[0.48857915, 0.48821215, 0.50259648],
[0.49552917, 0.49072622, 0.48647535],
[0.50533131, 0.48938618, 0.49686431]])
Coordinates:
* time (time) int64 48B 0 1 2 3 4 5
* band (band) <U2 24B 'B1' 'B2' 'B3'- time: 6
- band: 3
- 0.4962 0.4939 0.4953 0.4995 0.5054 ... 0.4865 0.5053 0.4894 0.4969
array([[0.49619101, 0.49386056, 0.49531824], [0.49947857, 0.50544716, 0.48302337], [0.4990598 , 0.5003907 , 0.49632866], [0.48857915, 0.48821215, 0.50259648], [0.49552917, 0.49072622, 0.48647535], [0.50533131, 0.48938618, 0.49686431]]) - time(time)int640 1 2 3 4 5
array([0, 1, 2, 3, 4, 5])
- band(band)<U2'B1' 'B2' 'B3'
array(['B1', 'B2', 'B3'], dtype='<U2')
4. Common cubo.create(...) pattern¶
Most examples follow the same structure:
cube = cubo.create(
lat=...,
lon=...,
collection="...",
bands=[...],
start_date="YYYY-MM-DD",
end_date="YYYY-MM-DD",
edge_size=...,
resolution=...,
gee=True, # optional
stac="https://...", # optional
)
Core decisions:
- where:
lat,lon - what:
collection,bands - when:
start_date,end_date - how much:
edge_size,resolution - which backend: default STAC, custom STAC, or
gee=True
5. Example A — Africa vegetation monitoring with MODIS NDVI/EVI¶
A practical climate resilience example is to extract a small cube over the Horn of Africa or the Sahel and compute a time series of vegetation conditions.
This example uses the Google Earth Engine collection:
MODIS/061/MOD13Q1- 250 m pixels
- 16-day cadence
- bands such as
NDVIandEVI
Suggested study point¶
- Ethiopia / Horn of Africa:
lat=8.98,lon=39.79
africa_cube = cubo.create(
lat=8.98,
lon=39.79,
collection="MODIS/061/MOD13Q1",
bands=["NDVI", "EVI"],
start_date="2021-01-01",
end_date="2021-12-31",
edge_size=64,
resolution=250,
gee=True,
)
africa_cube
<xarray.DataArray 'MODIS/061/MOD13Q1' (time: 23, band: 2, y: 64, x: 64)> Size: 754kB
dask.array<transpose, shape=(23, 2, 64, 64), dtype=float32, chunksize=(23, 1, 64, 64), chunktype=numpy.ndarray>
Coordinates:
* time (time) datetime64[ns] 184B 2021-01-01 ... 2021...
* band (band) object 16B 'NDVI' 'EVI'
* y (y) float64 512B 9.849e+05 ... 1.001e+06
* x (x) float64 512B 5.789e+05 ... 5.946e+05
cubo:distance_from_center (y, x) float64 33kB 1.119e+04 ... 1.108e+04
Attributes:
collection: MODIS/061/MOD13Q1
stac: https://earthengine-stac.storage.googleapis.com/cat...
epsg: 32637
resolution: 250
edge_size: 64
edge_size_m: 16000
central_lat: 8.98
central_lon: 39.79
central_y: 992734.4857423949
central_x: 586839.4490246739
time_coverage_start: 2021-01-01
time_coverage_end: 2021-12-31- time: 23
- band: 2
- y: 64
- x: 64
- dask.array<chunksize=(23, 1, 64, 64), meta=np.ndarray>
Array Chunk Bytes 736.00 kiB 368.00 kiB Shape (23, 2, 64, 64) (23, 1, 64, 64) Dask graph 2 chunks in 6 graph layers Data type float32 numpy.ndarray - time(time)datetime64[ns]2021-01-01 ... 2021-12-19
array(['2021-01-01T00:00:00.000000000', '2021-01-17T00:00:00.000000000', '2021-02-02T00:00:00.000000000', '2021-02-18T00:00:00.000000000', '2021-03-06T00:00:00.000000000', '2021-03-22T00:00:00.000000000', '2021-04-07T00:00:00.000000000', '2021-04-23T00:00:00.000000000', '2021-05-09T00:00:00.000000000', '2021-05-25T00:00:00.000000000', '2021-06-10T00:00:00.000000000', '2021-06-26T00:00:00.000000000', '2021-07-12T00:00:00.000000000', '2021-07-28T00:00:00.000000000', '2021-08-13T00:00:00.000000000', '2021-08-29T00:00:00.000000000', '2021-09-14T00:00:00.000000000', '2021-09-30T00:00:00.000000000', '2021-10-16T00:00:00.000000000', '2021-11-01T00:00:00.000000000', '2021-11-17T00:00:00.000000000', '2021-12-03T00:00:00.000000000', '2021-12-19T00:00:00.000000000'], dtype='datetime64[ns]') - band(band)object'NDVI' 'EVI'
array(['NDVI', 'EVI'], dtype=object)
- y(y)float649.849e+05 9.851e+05 ... 1.001e+06
array([ 984875., 985125., 985375., 985625., 985875., 986125., 986375., 986625., 986875., 987125., 987375., 987625., 987875., 988125., 988375., 988625., 988875., 989125., 989375., 989625., 989875., 990125., 990375., 990625., 990875., 991125., 991375., 991625., 991875., 992125., 992375., 992625., 992875., 993125., 993375., 993625., 993875., 994125., 994375., 994625., 994875., 995125., 995375., 995625., 995875., 996125., 996375., 996625., 996875., 997125., 997375., 997625., 997875., 998125., 998375., 998625., 998875., 999125., 999375., 999625., 999875., 1000125., 1000375., 1000625.]) - x(x)float645.789e+05 5.791e+05 ... 5.946e+05
array([578875., 579125., 579375., 579625., 579875., 580125., 580375., 580625., 580875., 581125., 581375., 581625., 581875., 582125., 582375., 582625., 582875., 583125., 583375., 583625., 583875., 584125., 584375., 584625., 584875., 585125., 585375., 585625., 585875., 586125., 586375., 586625., 586875., 587125., 587375., 587625., 587875., 588125., 588375., 588625., 588875., 589125., 589375., 589625., 589875., 590125., 590375., 590625., 590875., 591125., 591375., 591625., 591875., 592125., 592375., 592625., 592875., 593125., 593375., 593625., 593875., 594125., 594375., 594625.]) - cubo:distance_from_center(y, x)float641.119e+04 1.102e+04 ... 1.108e+04
array([[11189.45773492, 11015.29489076, 10844.09879424, ..., 10865.18059024, 11036.75252904, 11211.27394706], [11012.9124163 , 10835.91237589, 10661.83634027, ..., 10683.27780909, 10857.72452565, 11035.07766188], [10839.25806395, 10659.37486468, 10482.36755864, ..., 10504.17537143, 10681.54751722, 10861.7776856 ], ..., [10716.84511174, 10534.87191559, 10355.73673896, ..., 10377.81065572, 10557.3060548 , 10739.62142087], [10888.34443966, 10709.28577289, 10533.11724487, ..., 10554.82020186, 10731.35530222, 10910.76274837], [11062.83508529, 10886.64674053, 10713.39509128, ..., 10734.73357756, 10908.35744327, 11084.90050649]], shape=(64, 64))
- collection :
- MODIS/061/MOD13Q1
- stac :
- https://earthengine-stac.storage.googleapis.com/catalog/catalog.json
- epsg :
- 32637
- resolution :
- 250
- edge_size :
- 64
- edge_size_m :
- 16000
- central_lat :
- 8.98
- central_lon :
- 39.79
- central_y :
- 992734.4857423949
- central_x :
- 586839.4490246739
- time_coverage_start :
- 2021-01-01
- time_coverage_end :
- 2021-12-31
Inspect the object¶
Notice the labeled dimensions and the Dask-backed representation.
print(africa_cube.dims)
print(africa_cube.coords)
print("Chunks:", africa_cube.chunks)
('time', 'band', 'y', 'x')
Coordinates:
* time (time) datetime64[ns] 184B 2021-01-01 ... 2021...
* band (band) object 16B 'NDVI' 'EVI'
* y (y) float64 512B 9.849e+05 ... 1.001e+06
* x (x) float64 512B 5.789e+05 ... 5.946e+05
cubo:distance_from_center (y, x) float64 33kB 1.119e+04 ... 1.108e+04
Chunks: ((23,), (1, 1), (64,), (64,))
Important note on scale factors¶
For MODIS vegetation indices, values are typically stored with a scale factor. A common first step is to convert them to approximately physical units.
For MOD13Q1, a simple teaching example is:
africa_scaled = africa_cube / 10000.0
For production work, always verify the product documentation and quality flags.
africa_scaled = africa_cube / 10000.0
africa_ts = (
africa_scaled
.sel(band="NDVI")
.mean(("x", "y"))
)
africa_ts
<xarray.DataArray 'MODIS/061/MOD13Q1' (time: 23)> Size: 92B
dask.array<mean_agg-aggregate, shape=(23,), dtype=float32, chunksize=(23,), chunktype=numpy.ndarray>
Coordinates:
* time (time) datetime64[ns] 184B 2021-01-01 2021-01-17 ... 2021-12-19
band <U4 16B 'NDVI'
Attributes:
collection: MODIS/061/MOD13Q1
stac: https://earthengine-stac.storage.googleapis.com/cat...
epsg: 32637
resolution: 250
edge_size: 64
edge_size_m: 16000
central_lat: 8.98
central_lon: 39.79
central_y: 992734.4857423949
central_x: 586839.4490246739
time_coverage_start: 2021-01-01
time_coverage_end: 2021-12-31- time: 23
- dask.array<chunksize=(23,), meta=np.ndarray>
Array Chunk Bytes 92 B 92 B Shape (23,) (23,) Dask graph 1 chunks in 10 graph layers Data type float32 numpy.ndarray - time(time)datetime64[ns]2021-01-01 ... 2021-12-19
array(['2021-01-01T00:00:00.000000000', '2021-01-17T00:00:00.000000000', '2021-02-02T00:00:00.000000000', '2021-02-18T00:00:00.000000000', '2021-03-06T00:00:00.000000000', '2021-03-22T00:00:00.000000000', '2021-04-07T00:00:00.000000000', '2021-04-23T00:00:00.000000000', '2021-05-09T00:00:00.000000000', '2021-05-25T00:00:00.000000000', '2021-06-10T00:00:00.000000000', '2021-06-26T00:00:00.000000000', '2021-07-12T00:00:00.000000000', '2021-07-28T00:00:00.000000000', '2021-08-13T00:00:00.000000000', '2021-08-29T00:00:00.000000000', '2021-09-14T00:00:00.000000000', '2021-09-30T00:00:00.000000000', '2021-10-16T00:00:00.000000000', '2021-11-01T00:00:00.000000000', '2021-11-17T00:00:00.000000000', '2021-12-03T00:00:00.000000000', '2021-12-19T00:00:00.000000000'], dtype='datetime64[ns]') - band()<U4'NDVI'
array('NDVI', dtype='<U4')
- collection :
- MODIS/061/MOD13Q1
- stac :
- https://earthengine-stac.storage.googleapis.com/catalog/catalog.json
- epsg :
- 32637
- resolution :
- 250
- edge_size :
- 64
- edge_size_m :
- 16000
- central_lat :
- 8.98
- central_lon :
- 39.79
- central_y :
- 992734.4857423949
- central_x :
- 586839.4490246739
- time_coverage_start :
- 2021-01-01
- time_coverage_end :
- 2021-12-31
africa_ts.compute().plot(marker="o", figsize=(10, 4))
plt.title("Africa example: mean NDVI through time")
plt.ylabel("NDVI")
plt.grid(True, alpha=0.3)
plt.show()
Discussion points¶
- Why is the result still manageable even if the source is remote?
- Which step is lazy, and which step forces execution?
- How would you compare this year against a baseline climatology?
- Where would QA masking fit into the workflow?
6. Example B — Asia coastal monitoring with Sentinel-3 OLCI¶
For Asia, a simple medium-resolution example is to look at a coastal or delta region and build an RGB quicklook or a band composite from Sentinel-3 OLCI.
This example uses:
COPERNICUS/S3/OLCI- 21 spectral bands
- 300 m spatial resolution
- roughly 2-day revisit
Suggested study point¶
- Ganges–Brahmaputra delta / coastal Bangladesh:
lat=22.20,lon=90.70
asia_cube = cubo.create(
lat=22.20,
lon=90.70,
collection="COPERNICUS/S3/OLCI",
bands=["Oa08_radiance", "Oa06_radiance", "Oa04_radiance"],
start_date="2024-01-01",
end_date="2024-01-10",
edge_size=96,
resolution=300,
gee=True,
)
asia_cube
<xarray.DataArray 'COPERNICUS/S3/OLCI' (time: 10, band: 3, y: 96, x: 96)> Size: 1MB
dask.array<transpose, shape=(10, 3, 96, 96), dtype=float32, chunksize=(10, 1, 96, 96), chunktype=numpy.ndarray>
Coordinates:
* time (time) datetime64[ns] 80B 2024-01-01T03:53:52 ...
* band (band) object 24B 'Oa08_radiance' ... 'Oa04_ra...
* y (y) float64 768B 2.442e+06 ... 2.471e+06
* x (x) float64 768B 2.486e+05 ... 2.771e+05
cubo:distance_from_center (y, x) float64 74kB 2.025e+04 ... 2.005e+04
Attributes:
collection: COPERNICUS/S3/OLCI
stac: https://earthengine-stac.storage.googleapis.com/cat...
epsg: 32646
resolution: 300
edge_size: 96
edge_size_m: 28800
central_lat: 22.2
central_lon: 90.7
central_y: 2456763.3429751364
central_x: 262880.5766215245
time_coverage_start: 2024-01-01
time_coverage_end: 2024-01-10- time: 10
- band: 3
- y: 96
- x: 96
- dask.array<chunksize=(10, 1, 96, 96), meta=np.ndarray>
Array Chunk Bytes 1.05 MiB 360.00 kiB Shape (10, 3, 96, 96) (10, 1, 96, 96) Dask graph 3 chunks in 8 graph layers Data type float32 numpy.ndarray - time(time)datetime64[ns]2024-01-01T03:53:52 ... 2024-01-...
array(['2024-01-01T03:53:52.000000000', '2024-01-04T04:16:18.000000000', '2024-01-05T03:50:08.000000000', '2024-01-08T04:12:35.000000000', '2024-01-09T03:46:24.000000000', '2024-01-03T04:03:30.000000000', '2024-01-04T03:37:19.000000000', '2024-01-06T04:25:56.000000000', '2024-01-07T03:59:45.000000000', '2024-01-08T03:33:34.000000000'], dtype='datetime64[ns]') - band(band)object'Oa08_radiance' ... 'Oa04_radiance'
array(['Oa08_radiance', 'Oa06_radiance', 'Oa04_radiance'], dtype=object)
- y(y)float642.442e+06 2.443e+06 ... 2.471e+06
array([2442450., 2442750., 2443050., 2443350., 2443650., 2443950., 2444250., 2444550., 2444850., 2445150., 2445450., 2445750., 2446050., 2446350., 2446650., 2446950., 2447250., 2447550., 2447850., 2448150., 2448450., 2448750., 2449050., 2449350., 2449650., 2449950., 2450250., 2450550., 2450850., 2451150., 2451450., 2451750., 2452050., 2452350., 2452650., 2452950., 2453250., 2453550., 2453850., 2454150., 2454450., 2454750., 2455050., 2455350., 2455650., 2455950., 2456250., 2456550., 2456850., 2457150., 2457450., 2457750., 2458050., 2458350., 2458650., 2458950., 2459250., 2459550., 2459850., 2460150., 2460450., 2460750., 2461050., 2461350., 2461650., 2461950., 2462250., 2462550., 2462850., 2463150., 2463450., 2463750., 2464050., 2464350., 2464650., 2464950., 2465250., 2465550., 2465850., 2466150., 2466450., 2466750., 2467050., 2467350., 2467650., 2467950., 2468250., 2468550., 2468850., 2469150., 2469450., 2469750., 2470050., 2470350., 2470650., 2470950.]) - x(x)float642.486e+05 2.489e+05 ... 2.771e+05
array([248550., 248850., 249150., 249450., 249750., 250050., 250350., 250650., 250950., 251250., 251550., 251850., 252150., 252450., 252750., 253050., 253350., 253650., 253950., 254250., 254550., 254850., 255150., 255450., 255750., 256050., 256350., 256650., 256950., 257250., 257550., 257850., 258150., 258450., 258750., 259050., 259350., 259650., 259950., 260250., 260550., 260850., 261150., 261450., 261750., 262050., 262350., 262650., 262950., 263250., 263550., 263850., 264150., 264450., 264750., 265050., 265350., 265650., 265950., 266250., 266550., 266850., 267150., 267450., 267750., 268050., 268350., 268650., 268950., 269250., 269550., 269850., 270150., 270450., 270750., 271050., 271350., 271650., 271950., 272250., 272550., 272850., 273150., 273450., 273750., 274050., 274350., 274650., 274950., 275250., 275550., 275850., 276150., 276450., 276750., 277050.]) - cubo:distance_from_center(y, x)float642.025e+04 2.004e+04 ... 2.005e+04
array([[20254.31345243, 20043.4330304 , 19834.84816829, ..., 19747.47263365, 19955.06626477, 20164.98608595], [20043.17508421, 19830.04946215, 19619.19610703, ..., 19530.85582978, 19740.7275362 , 19952.90249246], [19834.32684725, 19618.93258305, 19405.7854753 , ..., 19316.46922889, 19528.64505504, 19743.0993489 ], ..., [19723.10923633, 19506.4869252 , 19292.09751111, ..., 19202.25247036, 19415.67650509, 19631.36491346], [19930.69722753, 19716.35580401, 19504.27338829, ..., 19415.41021876, 19626.51645549, 19839.91286252], [20140.61434024, 19928.5308093 , 19718.73054819, ..., 19630.83818867, 19839.65227026, 20050.78044415]], shape=(96, 96))
- collection :
- COPERNICUS/S3/OLCI
- stac :
- https://earthengine-stac.storage.googleapis.com/catalog/catalog.json
- epsg :
- 32646
- resolution :
- 300
- edge_size :
- 96
- edge_size_m :
- 28800
- central_lat :
- 22.2
- central_lon :
- 90.7
- central_y :
- 2456763.3429751364
- central_x :
- 262880.5766215245
- time_coverage_start :
- 2024-01-01
- time_coverage_end :
- 2024-01-10
Build a simple median RGB-style quicklook¶
The Earth Engine catalog example applies band-specific scale factors before visualization. For a notebook tutorial, it is enough to show the idea and note that visualization scaling is dataset-specific.
asia_rgb = asia_cube.median("time")
asia_rgb
<xarray.DataArray 'COPERNICUS/S3/OLCI' (band: 3, y: 96, x: 96)> Size: 111kB
dask.array<nanmedian, shape=(3, 96, 96), dtype=float32, chunksize=(1, 96, 96), chunktype=numpy.ndarray>
Coordinates:
* band (band) object 24B 'Oa08_radiance' ... 'Oa04_ra...
* y (y) float64 768B 2.442e+06 ... 2.471e+06
* x (x) float64 768B 2.486e+05 ... 2.771e+05
cubo:distance_from_center (y, x) float64 74kB 2.025e+04 ... 2.005e+04
Attributes:
collection: COPERNICUS/S3/OLCI
stac: https://earthengine-stac.storage.googleapis.com/cat...
epsg: 32646
resolution: 300
edge_size: 96
edge_size_m: 28800
central_lat: 22.2
central_lon: 90.7
central_y: 2456763.3429751364
central_x: 262880.5766215245
time_coverage_start: 2024-01-01
time_coverage_end: 2024-01-10- band: 3
- y: 96
- x: 96
- dask.array<chunksize=(1, 96, 96), meta=np.ndarray>
Array Chunk Bytes 108.00 kiB 36.00 kiB Shape (3, 96, 96) (1, 96, 96) Dask graph 3 chunks in 9 graph layers Data type float32 numpy.ndarray - band(band)object'Oa08_radiance' ... 'Oa04_radiance'
array(['Oa08_radiance', 'Oa06_radiance', 'Oa04_radiance'], dtype=object)
- y(y)float642.442e+06 2.443e+06 ... 2.471e+06
array([2442450., 2442750., 2443050., 2443350., 2443650., 2443950., 2444250., 2444550., 2444850., 2445150., 2445450., 2445750., 2446050., 2446350., 2446650., 2446950., 2447250., 2447550., 2447850., 2448150., 2448450., 2448750., 2449050., 2449350., 2449650., 2449950., 2450250., 2450550., 2450850., 2451150., 2451450., 2451750., 2452050., 2452350., 2452650., 2452950., 2453250., 2453550., 2453850., 2454150., 2454450., 2454750., 2455050., 2455350., 2455650., 2455950., 2456250., 2456550., 2456850., 2457150., 2457450., 2457750., 2458050., 2458350., 2458650., 2458950., 2459250., 2459550., 2459850., 2460150., 2460450., 2460750., 2461050., 2461350., 2461650., 2461950., 2462250., 2462550., 2462850., 2463150., 2463450., 2463750., 2464050., 2464350., 2464650., 2464950., 2465250., 2465550., 2465850., 2466150., 2466450., 2466750., 2467050., 2467350., 2467650., 2467950., 2468250., 2468550., 2468850., 2469150., 2469450., 2469750., 2470050., 2470350., 2470650., 2470950.]) - x(x)float642.486e+05 2.489e+05 ... 2.771e+05
array([248550., 248850., 249150., 249450., 249750., 250050., 250350., 250650., 250950., 251250., 251550., 251850., 252150., 252450., 252750., 253050., 253350., 253650., 253950., 254250., 254550., 254850., 255150., 255450., 255750., 256050., 256350., 256650., 256950., 257250., 257550., 257850., 258150., 258450., 258750., 259050., 259350., 259650., 259950., 260250., 260550., 260850., 261150., 261450., 261750., 262050., 262350., 262650., 262950., 263250., 263550., 263850., 264150., 264450., 264750., 265050., 265350., 265650., 265950., 266250., 266550., 266850., 267150., 267450., 267750., 268050., 268350., 268650., 268950., 269250., 269550., 269850., 270150., 270450., 270750., 271050., 271350., 271650., 271950., 272250., 272550., 272850., 273150., 273450., 273750., 274050., 274350., 274650., 274950., 275250., 275550., 275850., 276150., 276450., 276750., 277050.]) - cubo:distance_from_center(y, x)float642.025e+04 2.004e+04 ... 2.005e+04
array([[20254.31345243, 20043.4330304 , 19834.84816829, ..., 19747.47263365, 19955.06626477, 20164.98608595], [20043.17508421, 19830.04946215, 19619.19610703, ..., 19530.85582978, 19740.7275362 , 19952.90249246], [19834.32684725, 19618.93258305, 19405.7854753 , ..., 19316.46922889, 19528.64505504, 19743.0993489 ], ..., [19723.10923633, 19506.4869252 , 19292.09751111, ..., 19202.25247036, 19415.67650509, 19631.36491346], [19930.69722753, 19716.35580401, 19504.27338829, ..., 19415.41021876, 19626.51645549, 19839.91286252], [20140.61434024, 19928.5308093 , 19718.73054819, ..., 19630.83818867, 19839.65227026, 20050.78044415]], shape=(96, 96))
- collection :
- COPERNICUS/S3/OLCI
- stac :
- https://earthengine-stac.storage.googleapis.com/catalog/catalog.json
- epsg :
- 32646
- resolution :
- 300
- edge_size :
- 96
- edge_size_m :
- 28800
- central_lat :
- 22.2
- central_lon :
- 90.7
- central_y :
- 2456763.3429751364
- central_x :
- 262880.5766215245
- time_coverage_start :
- 2024-01-01
- time_coverage_end :
- 2024-01-10
fig, axes = plt.subplots(1, 3, figsize=(12, 4))
for ax, band in zip(axes, ["Oa08_radiance", "Oa06_radiance", "Oa04_radiance"]):
asia_rgb.sel(band=band).compute().plot(ax=ax, add_colorbar=False)
ax.set_title(band)
ax.set_aspect("equal")
plt.tight_layout()
plt.show()
Discussion¶
- Why is Sentinel-3 a good match for regional coastal monitoring?
- Which bands would you choose for turbidity, vegetation, or water color?
- What changes when you move from a quicklook to a quantitative indicator?
7. Optional: test a STAC endpoint with the same API¶
One nice feature of cubo is that the user-facing call stays almost the same when you switch from GEE to a STAC endpoint.
The documentation shows an Element84 Earth Search example like this:
da = cubo.create(
lat=4.31,
lon=-76.2,
collection="sentinel-2-l2a",
bands=["red", "green", "blue"],
start_date="2020-01-01",
end_date="2020-06-01",
edge_size=128,
resolution=10,
stac="https://earth-search.aws.element84.com/v1"
)
da
print("da dims:", da.dims)
print("da sizes:", dict(da.sizes))
da
da dims: ('time', 'band', 'y', 'x')
da sizes: {'time': 62, 'band': 3, 'y': 128, 'x': 128}
<xarray.DataArray 'sentinel-2-l2a' (time: 62, band: 3, y: 128, x: 128)> Size: 24MB
dask.array<fetch_raster_window, shape=(62, 3, 128, 128), dtype=float64, chunksize=(1, 1, 128, 128), chunktype=numpy.ndarray>
Coordinates: (12/54)
* time (time) datetime64[ns] 496B 2020-...
id (time) <U24 6kB 'S2A_18NUK_20200...
view:sun_elevation (time) float64 496B 55.67 ... 63.38
s2:medium_proba_clouds_percentage (time) float64 496B 16.35 ... 16.06
s2:water_percentage (time) object 496B 0.059412 ... ...
s2:vegetation_percentage (time) object 496B 20.609057 ......
... ...
proj:code <U10 40B 'EPSG:32618'
constellation <U10 40B 'sentinel-2'
gsd int64 8B 10
proj:transform object 8B {0, 300000, 500040, 10...
proj:shape object 8B {10980}
epsg int64 8B 32618
Attributes:
collection: sentinel-2-l2a
stac: https://earth-search.aws.element84.com/v1
epsg: 32618
resolution: 10
edge_size: 128
edge_size_m: 1280
central_lat: 4.31
central_lon: -76.2
central_y: 476498.32356558647
central_x: 366835.4548862558
time_coverage_start: 2020-01-01
time_coverage_end: 2020-06-01- time: 62
- band: 3
- y: 128
- x: 128
- dask.array<chunksize=(1, 1, 128, 128), meta=np.ndarray>
Array Chunk Bytes 23.25 MiB 128.00 kiB Shape (62, 3, 128, 128) (1, 1, 128, 128) Dask graph 186 chunks in 3 graph layers Data type float64 numpy.ndarray - time(time)datetime64[ns]2020-01-02T15:41:55.315000 ... 2...
array(['2020-01-02T15:41:55.315000000', '2020-01-02T15:41:55.317000000', '2020-01-07T15:41:55.630000000', '2020-01-07T15:41:55.631000000', '2020-01-12T15:41:55.099000000', '2020-01-12T15:41:55.102000000', '2020-01-17T15:41:54.775000000', '2020-01-17T15:41:54.775000000', '2020-01-22T15:41:54.304000000', '2020-01-22T15:41:54.306000000', '2020-01-27T15:41:53.437000000', '2020-01-27T15:41:53.439000000', '2020-02-01T15:41:53.019000000', '2020-02-01T15:41:53.021000000', '2020-02-06T15:41:54.900000000', '2020-02-06T15:41:54.900000000', '2020-02-11T15:41:53.617000000', '2020-02-11T15:41:53.619000000', '2020-02-16T15:41:56.661000000', '2020-02-16T15:41:56.663000000', '2020-02-21T15:41:55.271000000', '2020-02-21T15:41:55.274000000', '2020-02-26T15:41:57.928000000', '2020-02-26T15:41:57.929000000', '2020-03-02T15:41:56.380000000', '2020-03-02T15:41:56.382000000', '2020-03-07T15:41:58.630000000', '2020-03-07T15:41:58.632000000', '2020-03-12T15:41:57.018000000', '2020-03-12T15:41:57.018000000', '2020-03-17T15:41:58.820000000', '2020-03-17T15:41:58.822000000', '2020-03-22T15:41:57.128000000', '2020-03-22T15:41:57.129000000', '2020-03-27T15:41:58.532000000', '2020-03-27T15:41:58.533000000', '2020-04-01T15:41:56.696000000', '2020-04-01T15:41:56.697000000', '2020-04-06T15:41:57.700000000', '2020-04-06T15:41:57.702000000', '2020-04-11T15:41:59.370000000', '2020-04-11T15:41:59.371000000', '2020-04-16T15:41:56.322000000', '2020-04-16T15:41:56.324000000', '2020-04-21T15:42:01.903000000', '2020-04-21T15:42:01.903000000', '2020-04-26T15:41:55.918000000', '2020-04-26T15:41:55.920000000', '2020-05-01T15:42:03.930000000', '2020-05-01T15:42:03.930000000', '2020-05-06T15:41:58.398000000', '2020-05-06T15:41:58.398000000', '2020-05-11T15:42:05.440000000', '2020-05-11T15:42:05.443000000', '2020-05-16T15:42:00.349000000', '2020-05-16T15:42:00.350000000', '2020-05-21T15:42:06.474000000', '2020-05-21T15:42:06.474000000', '2020-05-26T15:42:01.846000000', '2020-05-26T15:42:01.848000000', '2020-05-31T15:42:07.011000000', '2020-05-31T15:42:07.012000000'], dtype='datetime64[ns]') - id(time)<U24'S2A_18NUK_20200102_1_L2A' ... '...
array(['S2A_18NUK_20200102_1_L2A', 'S2A_18NUK_20200102_0_L2A', 'S2B_18NUK_20200107_1_L2A', 'S2B_18NUK_20200107_0_L2A', 'S2A_18NUK_20200112_1_L2A', 'S2A_18NUK_20200112_0_L2A', 'S2B_18NUK_20200117_1_L2A', 'S2B_18NUK_20200117_0_L2A', 'S2A_18NUK_20200122_1_L2A', 'S2A_18NUK_20200122_0_L2A', 'S2B_18NUK_20200127_1_L2A', 'S2B_18NUK_20200127_0_L2A', 'S2A_18NUK_20200201_1_L2A', 'S2A_18NUK_20200201_0_L2A', 'S2B_18NUK_20200206_1_L2A', 'S2B_18NUK_20200206_0_L2A', 'S2A_18NUK_20200211_1_L2A', 'S2A_18NUK_20200211_0_L2A', 'S2B_18NUK_20200216_0_L2A', 'S2B_18NUK_20200216_1_L2A', 'S2A_18NUK_20200221_1_L2A', 'S2A_18NUK_20200221_0_L2A', 'S2B_18NUK_20200226_1_L2A', 'S2B_18NUK_20200226_0_L2A', 'S2A_18NUK_20200302_1_L2A', 'S2A_18NUK_20200302_0_L2A', 'S2B_18NUK_20200307_0_L2A', 'S2B_18NUK_20200307_1_L2A', 'S2A_18NUK_20200312_1_L2A', 'S2A_18NUK_20200312_0_L2A', 'S2B_18NUK_20200317_0_L2A', 'S2B_18NUK_20200317_1_L2A', 'S2A_18NUK_20200322_1_L2A', 'S2A_18NUK_20200322_0_L2A', 'S2B_18NUK_20200327_0_L2A', 'S2B_18NUK_20200327_1_L2A', 'S2A_18NUK_20200401_1_L2A', 'S2A_18NUK_20200401_0_L2A', 'S2B_18NUK_20200406_0_L2A', 'S2B_18NUK_20200406_1_L2A', 'S2A_18NUK_20200411_1_L2A', 'S2A_18NUK_20200411_0_L2A', 'S2B_18NUK_20200416_1_L2A', 'S2B_18NUK_20200416_0_L2A', 'S2A_18NUK_20200421_1_L2A', 'S2A_18NUK_20200421_0_L2A', 'S2B_18NUK_20200426_0_L2A', 'S2B_18NUK_20200426_1_L2A', 'S2A_18NUK_20200501_1_L2A', 'S2A_18NUK_20200501_0_L2A', 'S2B_18NUK_20200506_1_L2A', 'S2B_18NUK_20200506_0_L2A', 'S2A_18NUK_20200511_0_L2A', 'S2A_18NUK_20200511_1_L2A', 'S2B_18NUK_20200516_0_L2A', 'S2B_18NUK_20200516_1_L2A', 'S2A_18NUK_20200521_1_L2A', 'S2A_18NUK_20200521_0_L2A', 'S2B_18NUK_20200526_1_L2A', 'S2B_18NUK_20200526_0_L2A', 'S2A_18NUK_20200531_0_L2A', 'S2A_18NUK_20200531_1_L2A'], dtype='<U24') - view:sun_elevation(time)float6455.67 55.67 55.73 ... 63.38 63.38
array([55.66857191, 55.66806198, 55.72749319, 55.72696523, 55.93153319, 55.93098872, 56.27736637, 56.27679503, 56.75673625, 56.75614099, 57.35993213, 57.3593154 , 58.07906448, 58.07841901, 58.90634238, 58.9056702 , 59.8075935 , 59.8068902 , 60.78620225, 60.78694279, 61.79332059, 61.79255373, 62.83320853, 62.83241008, 63.85250759, 63.85167575, 64.8528045 , 64.85366446, 65.77815048, 65.77724828, 66.6223563 , 66.62328726, 67.33312003, 67.33217025, 67.90902156, 67.90999094, 68.30964172, 68.30866744, 68.54437711, 68.5453544 , 68.60391464, 68.60293463, 68.4674823 , 68.46652355, 68.20410712, 68.20317034, 67.75800718, 67.75891773, 67.2566304 , 67.25575258, 66.62715801, 66.62629702, 65.98983381, 65.99066784, 65.28950089, 65.29030599, 64.62916964, 64.62838662, 63.96254037, 63.9617789 , 63.37582148, 63.37657053]) - s2:medium_proba_clouds_percentage(time)float6416.35 6.154 12.83 ... 9.636 16.06
array([16.348267, 6.1539 , 12.830891, 4.629632, 12.249719, 3.972395, 8.977128, 2.85385 , 8.927633, 7.467245, 17.478663, 6.001443, 14.5364 , 7.737088, 11.092404, 4.278468, 14.886211, 5.47003 , 5.86112 , 14.964561, 79.530644, 79.54123 , 9.670609, 8.785269, 14.262551, 5.363881, 39.848116, 43.551996, 11.389317, 4.772564, 3.494448, 11.729062, 5.274696, 1.676197, 16.249609, 22.950031, 12.930617, 6.807087, 9.60068 , 13.918981, 87.767732, 87.288576, 30.412102, 19.934946, 11.253808, 8.416684, 6.673162, 14.749248, 21.629605, 12.127054, 34.095752, 34.690085, 20.723884, 23.133346, 28.668469, 29.270643, 16.574627, 9.548671, 12.288573, 9.676563, 9.635559, 16.064683]) - s2:water_percentage(time)object0.059412 0.109606 ... 0.025341
array([0.059412, 0.109606, 0.280262, 0.306256, 0.30008, 0.33032, 0.305871, 0.327696, 1.3e-05, 0.0002, 0.150594, 0.196423, 0.07999, 0.085228, 0.237666, 0.242404, 0.224926, 0.252372, 0.285216, 0.246156, 0, 0, 0.000232, 0.000866, 0.171994, 0.216431, 0.021576, 0.026152, 0.255573, 0.290518, 0.136114, 0.108032, 0.277794, 0.264305, 0.178481, 0.168926, 0.092646, 0.094587, 0.008435, 0.00804, 2.2e-05, 0.000113, 0.209779, 0.211276, 0.06345, 0.058848, 0.21371, 0.208661, 0.022175, 0.028031, 0, 0, 0.008733, 0.013911, 0.000211, 0.000164, 0.018703, 0.019736, 0.005111, 0.005953, 0.02735, 0.025341], dtype=object) - s2:vegetation_percentage(time)object20.609057 28.166857 ... 17.685623
array([20.609057, 28.166857, 36.251828, 46.23546, 43.688112, 54.081899, 49.741495, 56.688607, 0, 0.082232, 16.137604, 22.358762, 22.929159, 27.472743, 54.159248, 63.119346, 30.0861, 37.671041, 33.097985, 25.202891, 0, 0, 0.028266, 0.295201, 22.514567, 28.852394, 4.338124, 3.662553, 15.703732, 20.229739, 22.922005, 19.722195, 74.812281, 79.254138, 20.144042, 17.051463, 2.905228, 3.233154, 1.663971, 1.044434, 0, 0, 19.47235, 23.353213, 7.291351, 9.429573, 29.273576, 24.264178, 0.103901, 1.190335, 0, 0.034522, 9.462936, 8.067377, 1.95828, 1.501689, 7.111123, 9.166385, 4.758831, 5.679109, 20.692268, 17.685623], dtype=object) - s2:product_uri(time)<U65'S2A_MSIL2A_20200102T153611_N050...
array(['S2A_MSIL2A_20200102T153611_N0500_R068_T18NUK_20230426T115242.SAFE', 'S2A_MSIL2A_20200102T153611_N0213_R068_T18NUK_20200102T193711.SAFE', 'S2B_MSIL2A_20200107T153619_N0500_R068_T18NUK_20230516T042122.SAFE', 'S2B_MSIL2A_20200107T153619_N0213_R068_T18NUK_20200107T193244.SAFE', 'S2A_MSIL2A_20200112T153611_N0500_R068_T18NUK_20230429T094928.SAFE', 'S2A_MSIL2A_20200112T153611_N0213_R068_T18NUK_20200112T194333.SAFE', 'S2B_MSIL2A_20200117T153619_N0500_R068_T18NUK_20230424T234703.SAFE', 'S2B_MSIL2A_20200117T153619_N0213_R068_T18NUK_20200117T193707.SAFE', 'S2A_MSIL2A_20200122T153611_N0500_R068_T18NUK_20230426T071406.SAFE', 'S2A_MSIL2A_20200122T153611_N0213_R068_T18NUK_20200122T194421.SAFE', 'S2B_MSIL2A_20200127T153609_N0500_R068_T18NUK_20230428T045725.SAFE', 'S2B_MSIL2A_20200127T153609_N0213_R068_T18NUK_20200127T194219.SAFE', 'S2A_MSIL2A_20200201T153611_N0500_R068_T18NUK_20230426T195929.SAFE', 'S2A_MSIL2A_20200201T153611_N0213_R068_T18NUK_20200201T194116.SAFE', 'S2B_MSIL2A_20200206T153619_N0500_R068_T18NUK_20230427T073701.SAFE', 'S2B_MSIL2A_20200206T153619_N0214_R068_T18NUK_20200206T194512.SAFE', 'S2A_MSIL2A_20200211T153611_N0500_R068_T18NUK_20230506T110653.SAFE', 'S2A_MSIL2A_20200211T153611_N0214_R068_T18NUK_20200211T194219.SAFE', 'S2B_MSIL2A_20200216T153619_N0214_R068_T18NUK_20200216T193959.SAFE', 'S2B_MSIL2A_20200216T153619_N0500_R068_T18NUK_20230426T172407.SAFE', ... 'S2B_MSIL2A_20200416T153619_N0214_R068_T18NUK_20200416T193858.SAFE', 'S2A_MSIL2A_20200421T153621_N0500_R068_T18NUK_20230406T203948.SAFE', 'S2A_MSIL2A_20200421T153621_N0214_R068_T18NUK_20200421T193928.SAFE', 'S2B_MSIL2A_20200426T153619_N0214_R068_T18NUK_20200426T210015.SAFE', 'S2B_MSIL2A_20200426T153619_N0500_R068_T18NUK_20230407T094309.SAFE', 'S2A_MSIL2A_20200501T153621_N0500_R068_T18NUK_20230331T232620.SAFE', 'S2A_MSIL2A_20200501T153621_N0214_R068_T18NUK_20200501T212528.SAFE', 'S2B_MSIL2A_20200506T153619_N0500_R068_T18NUK_20230420T221150.SAFE', 'S2B_MSIL2A_20200506T153619_N0214_R068_T18NUK_20200506T213751.SAFE', 'S2A_MSIL2A_20200511T153621_N0214_R068_T18NUK_20200511T193952.SAFE', 'S2A_MSIL2A_20200511T153621_N0500_R068_T18NUK_20230402T103533.SAFE', 'S2B_MSIL2A_20200516T153619_N0214_R068_T18NUK_20200516T194113.SAFE', 'S2B_MSIL2A_20200516T153619_N0500_R068_T18NUK_20230405T041936.SAFE', 'S2A_MSIL2A_20200521T153631_N0500_R068_T18NUK_20230413T072616.SAFE', 'S2A_MSIL2A_20200521T153631_N0214_R068_T18NUK_20200521T193716.SAFE', 'S2B_MSIL2A_20200526T153619_N0500_R068_T18NUK_20230415T122758.SAFE', 'S2B_MSIL2A_20200526T153619_N0214_R068_T18NUK_20200526T205942.SAFE', 'S2A_MSIL2A_20200531T153631_N0214_R068_T18NUK_20200531T212643.SAFE', 'S2A_MSIL2A_20200531T153631_N0500_R068_T18NUK_20230331T230142.SAFE'], dtype='<U65') - s2:processing_baseline(time)<U5'05.00' '02.13' ... '02.14' '05.00'
array(['05.00', '02.13', '05.00', '02.13', '05.00', '02.13', '05.00', '02.13', '05.00', '02.13', '05.00', '02.13', '05.00', '02.13', '05.00', '02.14', '05.00', '02.14', '02.14', '05.00', '05.00', '02.14', '05.00', '02.14', '05.00', '02.14', '02.14', '05.00', '05.00', '02.14', '02.14', '05.00', '05.00', '02.14', '02.14', '05.00', '05.00', '02.14', '02.14', '05.00', '05.00', '02.14', '05.00', '02.14', '05.00', '02.14', '02.14', '05.00', '05.00', '02.14', '05.00', '02.14', '02.14', '05.00', '02.14', '05.00', '05.00', '02.14', '05.00', '02.14', '02.14', '05.00'], dtype='<U5') - s2:granule_id(time)<U62'S2A_OPER_MSI_L2A_TL_S2RP_202304...
array(['S2A_OPER_MSI_L2A_TL_S2RP_20230426T115242_A023660_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200102T193711_A023660_T18NUK_N02.13', 'S2B_OPER_MSI_L2A_TL_S2RP_20230516T042122_A014823_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_SGS__20200107T193244_A014823_T18NUK_N02.13', 'S2A_OPER_MSI_L2A_TL_S2RP_20230429T094928_A023803_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200112T194333_A023803_T18NUK_N02.13', 'S2B_OPER_MSI_L2A_TL_S2RP_20230424T234703_A014966_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_SGS__20200117T193707_A014966_T18NUK_N02.13', 'S2A_OPER_MSI_L2A_TL_S2RP_20230426T071406_A023946_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200122T194421_A023946_T18NUK_N02.13', 'S2B_OPER_MSI_L2A_TL_S2RP_20230428T045725_A015109_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_SGS__20200127T194219_A015109_T18NUK_N02.13', 'S2A_OPER_MSI_L2A_TL_S2RP_20230426T195929_A024089_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200201T194116_A024089_T18NUK_N02.13', 'S2B_OPER_MSI_L2A_TL_S2RP_20230427T073701_A015252_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_SGS__20200206T194512_A015252_T18NUK_N02.14', 'S2A_OPER_MSI_L2A_TL_S2RP_20230506T110653_A024232_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200211T194219_A024232_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_SGS__20200216T193959_A015395_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_S2RP_20230426T172407_A015395_T18NUK_N05.00', ... 'S2B_OPER_MSI_L2A_TL_SGS__20200416T193858_A016253_T18NUK_N02.14', 'S2A_OPER_MSI_L2A_TL_S2RP_20230406T203948_A025233_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200421T193928_A025233_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_EPAE_20200426T210015_A016396_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_S2RP_20230407T094309_A016396_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_S2RP_20230331T232620_A025376_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_MTI__20200501T212528_A025376_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_S2RP_20230420T221150_A016539_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_MTI__20200506T213751_A016539_T18NUK_N02.14', 'S2A_OPER_MSI_L2A_TL_SGS__20200511T193952_A025519_T18NUK_N02.14', 'S2A_OPER_MSI_L2A_TL_S2RP_20230402T103533_A025519_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_SGS__20200516T194113_A016682_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_S2RP_20230405T041936_A016682_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_S2RP_20230413T072616_A025662_T18NUK_N05.00', 'S2A_OPER_MSI_L2A_TL_SGS__20200521T193716_A025662_T18NUK_N02.14', 'S2B_OPER_MSI_L2A_TL_S2RP_20230415T122758_A016825_T18NUK_N05.00', 'S2B_OPER_MSI_L2A_TL_EPAE_20200526T205942_A016825_T18NUK_N02.14', 'S2A_OPER_MSI_L2A_TL_MTI__20200531T212643_A025805_T18NUK_N02.14', 'S2A_OPER_MSI_L2A_TL_S2RP_20230331T230142_A025805_T18NUK_N05.00'], dtype='<U62') - s2:unclassified_percentage(time)float641.018 4.848 0.5381 ... 7.363 3.162
array([1.017566e+00, 4.848269e+00, 5.381420e-01, 3.967595e+00, 5.176710e-01, 4.030658e+00, 5.366330e-01, 2.754654e+00, 3.800000e-05, 2.288390e-01, 2.894123e+00, 7.027472e+00, 1.603635e+00, 6.135880e+00, 1.050065e+00, 4.006655e+00, 6.627610e-01, 5.267151e+00, 5.342880e+00, 5.853080e-01, 1.490000e-04, 1.700000e-05, 4.135700e-02, 8.878860e-01, 1.327035e+00, 6.713781e+00, 3.493452e+00, 1.382949e+00, 9.243000e-01, 3.957231e+00, 4.946546e+00, 1.011559e+00, 3.017500e-01, 1.670862e+00, 5.864168e+00, 1.347884e+00, 1.211654e+00, 2.511634e+00, 1.462083e+00, 5.861870e-01, 4.000000e-06, 8.460000e-03, 1.611970e+00, 4.113017e+00, 2.312973e+00, 4.610702e+00, 4.972038e+00, 9.761870e-01, 1.402520e-01, 2.428082e+00, 6.070000e-04, 1.697400e-02, 2.612116e+00, 1.348703e+00, 2.168694e+00, 2.136603e+00, 2.403630e+00, 5.427317e+00, 1.244602e+00, 2.374190e+00, 7.363230e+00, 3.162400e+00]) - processing:software(time)object{'sentinel2-to-stac': '0.1.1'} ....
array([{'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.0'}, {'sentinel2-to-stac': '0.1.1'}], dtype=object) - s2:high_proba_clouds_percentage(time)float6448.92 48.95 34.6 ... 55.37 56.48
array([48.922989, 48.947963, 34.597906, 34.570116, 26.279002, 26.494265, 28.760096, 28.452489, 90.846711, 90.85061 , 51.090509, 45.597714, 41.421551, 41.50182 , 17.548089, 17.483881, 37.671769, 37.808001, 40.696615, 41.378337, 20.386556, 20.381926, 87.577957, 87.62424 , 46.766391, 45.895642, 47.183681, 46.803382, 62.630844, 62.641186, 56.534564, 56.887019, 7.592289, 7.706787, 45.731995, 46.275666, 80.902898, 80.959183, 81.734443, 81.257731, 12.215881, 12.216104, 38.736928, 38.856924, 73.074663, 73.020047, 41.934556, 41.963571, 74.339968, 74.342734, 63.093626, 62.3142 , 50.177389, 50.077194, 48.784527, 49.342886, 66.784954, 66.469634, 65.25135 , 65.140325, 55.371624, 56.479263]) - s2:datastrip_id(time)<U64'S2A_OPER_MSI_L2A_DS_S2RP_202304...
array(['S2A_OPER_MSI_L2A_DS_S2RP_20230426T115242_S20200102T153743_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200102T193711_S20200102T153743_N02.13', 'S2B_OPER_MSI_L2A_DS_S2RP_20230516T042122_S20200107T154047_N05.00', 'S2B_OPER_MSI_L2A_DS_SGS__20200107T193244_S20200107T154047_N02.13', 'S2A_OPER_MSI_L2A_DS_S2RP_20230429T094928_S20200112T153613_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200112T194333_S20200112T153613_N02.13', 'S2B_OPER_MSI_L2A_DS_S2RP_20230424T234703_S20200117T153613_N05.00', 'S2B_OPER_MSI_L2A_DS_SGS__20200117T193707_S20200117T153613_N02.13', 'S2A_OPER_MSI_L2A_DS_S2RP_20230426T071406_S20200122T153612_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200122T194421_S20200122T153612_N02.13', 'S2B_OPER_MSI_L2A_DS_S2RP_20230428T045725_S20200127T153611_N05.00', 'S2B_OPER_MSI_L2A_DS_SGS__20200127T194219_S20200127T153611_N02.13', 'S2A_OPER_MSI_L2A_DS_S2RP_20230426T195929_S20200201T153611_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200201T194116_S20200201T153611_N02.13', 'S2B_OPER_MSI_L2A_DS_S2RP_20230427T073701_S20200206T153613_N05.00', 'S2B_OPER_MSI_L2A_DS_SGS__20200206T194512_S20200206T153613_N02.14', 'S2A_OPER_MSI_L2A_DS_S2RP_20230506T110653_S20200211T153626_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200211T194219_S20200211T153626_N02.14', 'S2B_OPER_MSI_L2A_DS_SGS__20200216T193959_S20200216T153614_N02.14', 'S2B_OPER_MSI_L2A_DS_S2RP_20230426T172407_S20200216T153614_N05.00', ... 'S2B_OPER_MSI_L2A_DS_SGS__20200416T193858_S20200416T153614_N02.14', 'S2A_OPER_MSI_L2A_DS_S2RP_20230406T203948_S20200421T153620_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200421T193928_S20200421T153620_N02.14', 'S2B_OPER_MSI_L2A_DS_EPAE_20200426T210015_S20200426T153904_N02.14', 'S2B_OPER_MSI_L2A_DS_S2RP_20230407T094309_S20200426T153904_N05.00', 'S2A_OPER_MSI_L2A_DS_S2RP_20230331T232620_S20200501T153850_N05.00', 'S2A_OPER_MSI_L2A_DS_MTI__20200501T212528_S20200501T153850_N02.14', 'S2B_OPER_MSI_L2A_DS_S2RP_20230420T221150_S20200506T153616_N05.00', 'S2B_OPER_MSI_L2A_DS_MTI__20200506T213751_S20200506T153616_N02.14', 'S2A_OPER_MSI_L2A_DS_SGS__20200511T193952_S20200511T153623_N02.14', 'S2A_OPER_MSI_L2A_DS_S2RP_20230402T103533_S20200511T153623_N05.00', 'S2B_OPER_MSI_L2A_DS_SGS__20200516T194113_S20200516T153618_N02.14', 'S2B_OPER_MSI_L2A_DS_S2RP_20230405T041936_S20200516T153618_N05.00', 'S2A_OPER_MSI_L2A_DS_S2RP_20230413T072616_S20200521T153625_N05.00', 'S2A_OPER_MSI_L2A_DS_SGS__20200521T193716_S20200521T153625_N02.14', 'S2B_OPER_MSI_L2A_DS_S2RP_20230415T122758_S20200526T154127_N05.00', 'S2B_OPER_MSI_L2A_DS_EPAE_20200526T205942_S20200526T154127_N02.14', 'S2A_OPER_MSI_L2A_DS_MTI__20200531T212643_S20200531T153940_N02.14', 'S2A_OPER_MSI_L2A_DS_S2RP_20230331T230142_S20200531T153940_N05.00'], dtype='<U64') - updated(time)<U24'2023-10-22T21:45:57.871Z' ... '...
array(['2023-10-22T21:45:57.871Z', '2022-11-06T10:07:14.878Z', '2023-10-22T15:55:06.920Z', '2022-11-06T10:09:27.361Z', '2023-10-25T12:11:29.630Z', '2022-11-06T14:33:36.666Z', '2023-10-25T19:34:00.895Z', '2022-11-06T07:12:33.977Z', '2023-10-22T10:30:35.183Z', '2022-11-06T10:07:14.309Z', '2023-10-21T14:50:23.974Z', '2022-11-06T14:29:12.116Z', '2023-10-19T22:51:13.041Z', '2022-11-06T06:59:20.830Z', '2023-10-19T16:22:34.761Z', '2022-11-06T07:05:58.305Z', '2023-10-19T16:10:59.668Z', '2022-11-06T10:14:41.446Z', '2022-11-06T06:59:44.291Z', '2023-10-18T14:53:42.398Z', '2023-10-18T01:44:05.351Z', '2022-11-06T09:57:42.278Z', '2023-10-19T08:39:02.298Z', '2022-11-06T09:57:46.672Z', '2023-10-13T17:56:36.840Z', '2022-11-06T09:57:56.747Z', '2022-11-06T10:17:34.251Z', '2023-10-11T18:12:36.393Z', '2023-10-11T05:26:32.964Z', '2022-11-06T10:05:17.414Z', '2022-11-06T10:07:53.568Z', '2023-10-09T14:16:14.608Z', '2023-10-08T20:04:43.156Z', '2022-11-06T06:53:37.819Z', '2022-11-06T10:05:42.618Z', '2024-06-29T07:42:58.689Z', '2023-10-08T10:59:47.918Z', '2022-11-06T07:01:59.038Z', '2022-11-06T07:08:56.062Z', '2023-10-07T05:19:00.775Z', '2024-06-29T10:16:51.265Z', '2022-11-06T07:01:34.706Z', '2023-09-26T07:49:31.651Z', '2022-11-06T07:26:54.795Z', '2023-09-24T22:45:44.964Z', '2022-11-06T09:59:57.062Z', '2022-11-06T06:59:01.018Z', '2023-09-24T02:59:45.652Z', '2023-10-27T20:17:43.133Z', '2022-11-06T07:01:20.325Z', '2023-09-22T16:14:43.506Z', '2022-11-06T06:57:34.534Z', '2022-11-06T07:01:22.584Z', '2023-10-28T11:39:40.557Z', '2022-11-06T07:15:43.070Z', '2023-09-20T07:26:20.660Z', '2023-09-19T02:00:59.606Z', '2022-11-06T10:07:46.428Z', '2023-09-15T16:58:42.069Z', '2022-11-06T07:07:13.110Z', '2022-11-06T06:57:33.191Z', '2023-10-27T15:02:26.702Z'], dtype='<U24') - s2:sequence(time)<U1'1' '0' '1' '0' ... '1' '0' '0' '1'
array(['1', '0', '1', '0', '1', '0', '1', '0', '1', '0', '1', '0', '1', '0', '1', '0', '1', '0', '0', '1', '1', '0', '1', '0', '1', '0', '0', '1', '1', '0', '0', '1', '1', '0', '0', '1', '1', '0', '0', '1', '1', '0', '1', '0', '1', '0', '0', '1', '1', '0', '1', '0', '0', '1', '0', '1', '1', '0', '1', '0', '0', '1'], dtype='<U1') - platform(time)<U11'sentinel-2a' ... 'sentinel-2a'
array(['sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a', 'sentinel-2b', 'sentinel-2b', 'sentinel-2a', 'sentinel-2a'], dtype='<U11') - created(time)<U24'2023-10-22T21:45:57.871Z' ... '...
array(['2023-10-22T21:45:57.871Z', '2022-11-06T10:07:14.878Z', '2023-10-22T15:55:06.920Z', '2022-11-03T18:50:00.497Z', '2023-10-25T12:11:29.630Z', '2022-11-06T14:33:36.666Z', '2023-10-25T19:34:00.895Z', '2022-11-06T07:12:33.977Z', '2023-10-22T10:30:35.183Z', '2022-11-06T10:07:14.309Z', '2023-10-21T14:50:23.974Z', '2022-11-06T14:29:12.116Z', '2023-10-19T22:51:13.041Z', '2022-11-03T18:25:24.978Z', '2023-10-19T16:22:34.761Z', '2022-11-06T07:05:58.305Z', '2023-10-19T16:10:59.668Z', '2022-11-06T10:14:41.446Z', '2022-11-06T06:59:44.291Z', '2023-10-18T14:53:42.398Z', '2023-10-18T01:44:05.351Z', '2022-11-06T09:57:42.278Z', '2023-10-19T08:39:02.298Z', '2022-11-06T09:57:46.672Z', '2023-10-13T17:56:36.840Z', '2022-11-03T19:03:20.655Z', '2022-11-06T10:17:34.251Z', '2023-10-11T18:12:36.393Z', '2023-10-11T05:26:32.964Z', '2022-11-06T10:05:17.414Z', '2022-11-06T10:07:53.568Z', '2023-10-09T14:16:14.608Z', '2023-10-08T20:04:43.156Z', '2022-11-06T06:53:37.819Z', '2022-11-06T10:05:42.618Z', '2024-06-29T07:42:58.689Z', '2023-10-08T10:59:47.918Z', '2022-11-06T07:01:59.038Z', '2022-11-06T07:08:56.062Z', '2023-10-07T05:19:00.775Z', '2024-06-29T10:16:51.265Z', '2022-11-06T07:01:34.706Z', '2023-09-26T07:49:31.651Z', '2022-11-03T18:51:22.265Z', '2023-09-24T22:45:44.964Z', '2022-11-03T18:56:44.716Z', '2022-11-03T19:29:53.758Z', '2023-09-24T02:59:45.652Z', '2023-10-27T20:17:43.133Z', '2022-11-03T18:54:38.937Z', '2023-09-22T16:14:43.506Z', '2022-11-06T06:57:34.534Z', '2022-11-06T07:01:22.584Z', '2023-10-28T11:39:40.557Z', '2022-11-06T07:15:43.070Z', '2023-09-20T07:26:20.660Z', '2023-09-19T02:00:59.606Z', '2022-11-06T10:07:46.428Z', '2023-09-15T16:58:42.069Z', '2022-11-06T07:07:13.110Z', '2022-11-06T06:57:33.191Z', '2023-10-27T15:02:26.702Z'], dtype='<U24') - s2:degraded_msi_data_percentage(time)object0.0941 0 0.0646 0 ... 0 0 0.0385
array([0.0941, 0, 0.0646, 0, 0.1187, 0, 0.0444, 0, 0.0308, 0, 0.1118, 0, 0.1431, 0, 0.0396, 0, 0.2547, 0, 0, 0.1143, 1.7764, 0, 0.0473, 0, 0.1507, 0, 0, 0.5225, 0.3442, 0, 0, 0.1292, 0.0316, 0, 0, 0.3536, 0.4014, 0, 0, 0.1943, 6.8939, 0, 0.533, 0, 0.082, 0, 0, 0.0926, 0.0304, 0, 0.0252, 0, 0, 0.0996, 0, 0.0305, 0.0626, 0, 0.0266, 0, 0, 0.0385], dtype=object) - s2:thin_cirrus_percentage(time)object1.396923 0.90104 ... 3.969285
array([1.396923, 0.90104, 0.003058, 0.027253, 0.015389, 0.051225, 0, 0.000248, 0.019322, 0.011429, 1.294984, 1.345246, 8.358534, 9.265529, 0.000612, 0.019263, 1.35445, 1.034547, 2.038546, 2.227988, 0.061667, 0.075672, 1.637058, 1.825657, 2.847606, 1.145845, 1.644785, 1.433474, 0.02328, 0.053135, 0.251834, 0.343601, 0.273807, 0.418658, 2.50012, 3.181164, 0.638406, 0.547636, 2.035006, 1.861944, 0.00874, 0.029972, 0.701203, 0.751662, 1.672767, 1.132189, 7.569868, 6.78522, 0.622086, 1.421109, 2.690711, 2.944116, 15.243794, 14.341962, 17.906019, 16.495331, 3.36071, 3.959522, 13.491274, 15.067253, 1.583104, 3.969285], dtype=object) - earthsearch:payload_id(time)<U74'roda-sentinel2/workflow-sentine...
array(['roda-sentinel2/workflow-sentinel2-to-stac/420a4e8e9e367d261afd791c1080d83b', 'roda-sentinel2/workflow-sentinel2-to-stac/092e64be69fe90615d55fbf43894f7bf', 'roda-sentinel2/workflow-sentinel2-to-stac/169a66eaa44d0a6185830a659ab8d5d5', 'roda-sentinel2/workflow-sentinel2-to-stac/3c6a967abcc0683ad64c0f760d752669', 'roda-sentinel2/workflow-sentinel2-to-stac/8b7528a9dd56846a99d706a7129eceb2', 'roda-sentinel2/workflow-sentinel2-to-stac/25a2eafc03996ac48103c366b0627c2a', 'roda-sentinel2/workflow-sentinel2-to-stac/d5e420329a08c55e705689338743970b', 'roda-sentinel2/workflow-sentinel2-to-stac/ce8ee0f811949ac90f0bff86596eb346', 'roda-sentinel2/workflow-sentinel2-to-stac/e9c62da3bc878cc6e599583898bf244f', 'roda-sentinel2/workflow-sentinel2-to-stac/82c39379c92bb462960d44098c05aecb', 'roda-sentinel2/workflow-sentinel2-to-stac/bf181127df00229d26ae772f3fa77e93', 'roda-sentinel2/workflow-sentinel2-to-stac/5a7d36c771b309ba677fb7a9913f7e6b', 'roda-sentinel2/workflow-sentinel2-to-stac/2033137eadd9e0aff5ca6fce4d1d2277', 'roda-sentinel2/workflow-sentinel2-to-stac/f21c58949f9187da16aa38ffc2d35bb3', 'roda-sentinel2/workflow-sentinel2-to-stac/9c81db5060e98098b4365b81112be1cb', 'roda-sentinel2/workflow-sentinel2-to-stac/fb589896299672056943f88964a9f5df', 'roda-sentinel2/workflow-sentinel2-to-stac/8042e86ff15f7c45a4b094bf20e1fb77', 'roda-sentinel2/workflow-sentinel2-to-stac/ff8a4db57a449ce3f56cf728d339fa7f', 'roda-sentinel2/workflow-sentinel2-to-stac/5beedb452ec3eb3fca2910965d396cd7', 'roda-sentinel2/workflow-sentinel2-to-stac/692c873b5f42ca7584e11f2959683512', ... 'roda-sentinel2/workflow-sentinel2-to-stac/e43fc5f909d3f82ecd1ff5681a3a55fa', 'roda-sentinel2/workflow-sentinel2-to-stac/8253044d90f0e043281838c554332a37', 'roda-sentinel2/workflow-sentinel2-to-stac/13bc5df23d5941b4db6b7ce1f3b327e1', 'roda-sentinel2/workflow-sentinel2-to-stac/09f7c3ec1df2b5351258d2a2c848884b', 'roda-sentinel2/workflow-sentinel2-to-stac/2c3eaf552bce4dc84539137e0a8317fb', 'roda-sentinel2/workflow-sentinel2-to-stac/aa8ff30be56c464859212be46b7e4db6', 'roda-sentinel2/workflow-sentinel2-to-stac/65f04a6206b9895aff5f97517bcc57f3', 'roda-sentinel2/workflow-sentinel2-to-stac/9821ceb02246e61d5416875c48b5ffb8', 'roda-sentinel2/workflow-sentinel2-to-stac/d1326d5e5deb3834ab28cf6ca4f0ae8c', 'roda-sentinel2/workflow-sentinel2-to-stac/b20577607da32fe8805b04ee09a0763d', 'roda-sentinel2/workflow-sentinel2-to-stac/9ee12635e369cbf6a8d2484d6f633097', 'roda-sentinel2/workflow-sentinel2-to-stac/d24aa057b2ba010c8ccb256e105941cf', 'roda-sentinel2/workflow-sentinel2-to-stac/25d3bcecefa27c867810b21254784fc9', 'roda-sentinel2/workflow-sentinel2-to-stac/ad2dd94aa16b3144ffd7e158e5f2e610', 'roda-sentinel2/workflow-sentinel2-to-stac/5168cfdaba9fb33fb3f5207ee60ba5f4', 'roda-sentinel2/workflow-sentinel2-to-stac/5aeb26ac7c4793f487cb5ba4ae04a4d6', 'roda-sentinel2/workflow-sentinel2-to-stac/8348f5104e97129bda468ee86f2cc072', 'roda-sentinel2/workflow-sentinel2-to-stac/aab2f83052e17947f6058ae5c7c6e263', 'roda-sentinel2/workflow-sentinel2-to-stac/81da4a573a1a9156c438a3c000b522f4'], dtype='<U74') - view:sun_azimuth(time)float64142.7 142.7 141.4 ... 45.64 45.64
array([142.68956736, 142.68874248, 141.36466329, 141.36384306, 139.86561457, 139.8648043 , 138.1986343 , 138.19781751, 136.36092653, 136.36011214, 134.34940194, 134.34859769, 132.16408225, 132.16328053, 129.8037739 , 129.80298301, 127.22792514, 127.22714653, 124.44848802, 124.44925382, 121.40559932, 121.40487377, 118.11311956, 118.11244131, 114.51767095, 114.51705729, 110.63319204, 110.63371494, 106.42363921, 106.42322217, 101.91087243, 101.91114362, 97.10424644, 97.10415589, 92.06952398, 92.06940742, 86.88212489, 86.88247184, 81.65035536, 81.64976623, 76.48802464, 76.48885982, 71.53260806, 71.53366429, 66.85429004, 66.85554644, 62.61398263, 62.61256543, 58.75822092, 58.75976388, 55.44782145, 55.44947158, 52.55913323, 52.5574151 , 50.20938669, 50.20764082, 48.24980149, 48.25156695, 46.77648176, 46.7782396 , 45.6428169 , 45.64106256]) - s2:not_vegetated_percentage(time)object2.420334 3.146058 ... 1.569664
array([2.420334, 3.146058, 3.684882, 4.23484, 3.925505, 4.522995, 4.752739, 5.929212, 0.00049, 0.017264, 3.077419, 12.115481, 4.492115, 4.44463, 6.043701, 6.235233, 5.124937, 5.807579, 7.852115, 5.941861, 0.006401, 0, 0.010696, 0.036519, 4.370214, 6.925245, 1.534406, 2.117159, 3.253092, 4.099934, 6.177921, 4.860892, 7.069043, 7.054935, 6.013483, 4.894925, 1.231083, 1.288571, 0.825634, 0.63554, 0.002156, 0.000342, 4.449876, 4.794085, 2.302159, 2.758989, 4.905879, 4.468581, 0.067367, 0.337173, 4e-06, 8.6e-05, 1.090287, 1.650429, 0.43702, 0.906303, 1.673101, 2.507025, 1.614598, 1.469775, 3.823761, 1.569664], dtype=object) - earthsearch:boa_offset_applied(time)boolTrue False True ... False True
array([ True, False, True, False, True, False, True, False, True, False, True, False, True, False, True, False, True, False, False, True, True, False, True, False, True, False, False, True, True, False, False, True, True, False, False, True, True, False, False, True, True, False, True, False, True, False, False, True, True, False, True, False, False, True, False, True, True, False, True, False, False, True]) - s2:nodata_pixel_percentage(time)float6422.24 22.21 22.74 ... 24.54 24.57
array([22.236194, 22.2077 , 22.73941 , 22.487111, 22.1921 , 22.165656, 22.616176, 22.365454, 22.077638, 22.052856, 22.386731, 22.134548, 21.991938, 21.959499, 22.517169, 22.268935, 21.996154, 21.962966, 22.458571, 22.701533, 22.195576, 22.162223, 22.823349, 22.574955, 22.48314 , 22.451405, 22.560197, 22.801875, 22.667785, 22.640426, 22.564311, 22.790854, 22.786437, 22.757274, 22.588724, 22.831431, 22.896838, 22.862217, 22.429819, 22.668691, 23.35549 , 23.330437, 22.435629, 22.193894, 23.849456, 23.825514, 22.182786, 22.420925, 24.233593, 24.2129 , 22.950034, 22.710589, 24.468143, 24.490134, 23.051696, 23.290586, 24.642821, 24.617128, 23.597337, 23.364468, 24.544978, 24.572769]) - s2:snow_ice_percentage(time)object0 4.303002 0 ... 0.709271 0
array([0, 4.303002, 0, 1.049688, 0, 0.638424, 0, 0.6582, 0, 1.339473, 0, 2.698719, 0, 0.850193, 0, 0.232284, 0, 1.58585, 0.452427, 0, 0, 0.001155, 0, 0.535478, 0, 1.593687, 1.749907, 0, 0, 1.620574, 3.210106, 0, 0, 0.007001, 1.868168, 0, 0, 4.471573, 2.633106, 0, 0, 0.456425, 0, 6.327731, 0, 0.316881, 1.880035, 0, 0, 8.09824, 0, 0, 0.50789, 0, 0.035395, 0, 0, 2.164053, 0, 0.280479, 0.709271, 0], dtype=object) - earthsearch:s3_path(time)<U79's3://sentinel-cogs/sentinel-s2-...
array(['s3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2A_18NUK_20200102_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2A_18NUK_20200102_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2B_18NUK_20200107_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2B_18NUK_20200107_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2A_18NUK_20200112_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2A_18NUK_20200112_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2B_18NUK_20200117_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2B_18NUK_20200117_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2A_18NUK_20200122_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2A_18NUK_20200122_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2B_18NUK_20200127_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/1/S2B_18NUK_20200127_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2A_18NUK_20200201_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2A_18NUK_20200201_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2B_18NUK_20200206_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2B_18NUK_20200206_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2A_18NUK_20200211_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2A_18NUK_20200211_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2B_18NUK_20200216_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/2/S2B_18NUK_20200216_1_L2A', ... 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/4/S2B_18NUK_20200416_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/4/S2A_18NUK_20200421_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/4/S2A_18NUK_20200421_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/4/S2B_18NUK_20200426_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/4/S2B_18NUK_20200426_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200501_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200501_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2B_18NUK_20200506_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2B_18NUK_20200506_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200511_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200511_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2B_18NUK_20200516_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2B_18NUK_20200516_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200521_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200521_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2B_18NUK_20200526_1_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2B_18NUK_20200526_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200531_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/18/N/UK/2020/5/S2A_18NUK_20200531_1_L2A'], dtype='<U79') - s2:reflectance_conversion_factor(time)float641.034 1.034 1.034 ... 0.9738 0.9738
array([1.03419118, 1.03419118, 1.0343188 , 1.0343188 , 1.03418628, 1.03418628, 1.03379475, 1.03379475, 1.03314756, 1.03314756, 1.0322502 , 1.0322502 , 1.03111024, 1.03111024, 1.02973729, 1.02973729, 1.02814294, 1.02814294, 1.02634037, 1.02634037, 1.02434463, 1.02434463, 1.02217197, 1.02217197, 1.01984025, 1.01984025, 1.01736811, 1.01736811, 1.01477543, 1.01477543, 1.01208268, 1.01208268, 1.00931085, 1.00931085, 1.00648141, 1.00648141, 1.00361589, 1.00361589, 1.00073593, 1.00073593, 0.99786291, 0.99786291, 0.99501797, 0.99501797, 0.99222168, 0.99222168, 0.98949411, 0.98949411, 0.98685447, 0.98685447, 0.98432123, 0.98432123, 0.98191181, 0.98191181, 0.97964265, 0.97964265, 0.97752895, 0.97752895, 0.97558497, 0.97558497, 0.97382332, 0.97382332]) - s2:dark_features_percentage(time)object0.031846 0.442387 ... 0.106924
array([0.031846, 0.442387, 0.067035, 0.607273, 0.056103, 0.695603, 0.05148, 0.501523, 0, 0.001813, 0.018155, 0.503206, 0.035948, 0.550135, 0.075492, 0.659768, 0.056924, 0.748995, 0.768857, 0.031213, 0, 0, 0, 0.008682, 0.026999, 0.627363, 0.101044, 0.000554, 0.009023, 0.476663, 0.416347, 0.010636, 0.042527, 0.348979, 0.353337, 0.02087, 0.013791, 0.050246, 0.019928, 2.6e-05, 0, 4e-06, 0.024617, 0.388357, 0.002919, 0.103859, 0.520935, 0.025404, 0.003175, 0.023632, 0, 1.7e-05, 0.055057, 0.000817, 0.027923, 0.00112, 0.025325, 0.183214, 0.002923, 0.152511, 0.161361, 0.106924], dtype=object) - s2:cloud_shadow_percentage(time)object9.193613 2.980921 ... 0.93681
array([9.193613, 2.980921, 11.745992, 4.371885, 12.968414, 5.18222, 6.874559, 1.833521, 0.205792, 0.00089, 7.85795, 2.155537, 6.542668, 1.956756, 9.792718, 3.722703, 9.93193, 4.354434, 3.604239, 9.421682, 0.01458, 0, 1.033824, 0.000201, 7.712636, 2.66573, 0.084908, 1.021777, 5.810836, 1.858463, 1.910113, 5.327006, 4.355815, 1.598129, 1.096596, 4.109072, 0.073674, 0.036328, 0.016711, 0.687111, 0.005467, 0, 4.381174, 1.26879, 2.025911, 0.152227, 2.056238, 6.558947, 3.07147, 0.003616, 0.1193, 0, 0.11792, 1.366261, 0.013461, 0.345259, 2.04783, 0.554447, 1.342731, 0.153844, 0.632467, 0.93681], dtype=object) - eo:cloud_cover(time)float6466.67 56.0 47.43 ... 66.59 76.51
array([66.668177, 56.002904, 47.431856, 39.227001, 38.544112, 30.517885, 37.737224, 31.306586, 99.793673, 98.329284, 69.86416 , 52.944403, 64.316487, 58.504438, 28.641105, 21.781613, 53.912431, 44.312578, 48.596281, 58.570886, 99.978864, 99.998828, 98.885626, 98.235165, 63.876551, 52.405369, 88.676582, 91.788852, 74.043447, 67.466884, 60.280846, 68.959683, 13.140792, 9.801643, 64.481724, 72.406864, 94.471925, 88.313905, 93.370129, 97.038656, 99.992347, 99.534652, 69.85023 , 59.543532, 86.001241, 82.56892 , 56.177586, 63.498038, 96.591657, 87.890896, 99.880093, 99.948402, 86.145067, 87.552506, 95.359015, 95.108861, 86.720294, 79.977826, 91.031206, 89.88414 , 66.590287, 76.513237]) - s2:generation_time(time)<U27'2023-04-26T11:52:42.000000Z' .....
array(['2023-04-26T11:52:42.000000Z', '2020-01-02T19:37:11.000000Z', '2023-05-16T04:21:22.000000Z', '2020-01-07T19:32:44.000000Z', '2023-04-29T09:49:28.000000Z', '2020-01-12T19:43:33.000000Z', '2023-04-24T23:47:03.000000Z', '2020-01-17T19:37:07.000000Z', '2023-04-26T07:14:06.000000Z', '2020-01-22T19:44:21.000000Z', '2023-04-28T04:57:25.000000Z', '2020-01-27T19:42:19.000000Z', '2023-04-26T19:59:29.000000Z', '2020-02-01T19:41:16.000000Z', '2023-04-27T07:37:01.000000Z', '2020-02-06T19:45:12.000000Z', '2023-05-06T11:06:53.000000Z', '2020-02-11T19:42:19.000000Z', '2020-02-16T19:39:59.000000Z', '2023-04-26T17:24:07.000000Z', '2023-04-27T19:53:33.000000Z', '2020-02-21T19:41:12.000000Z', '2023-04-21T10:25:40.000000Z', '2020-02-26T21:12:18.000000Z', '2023-04-22T17:34:09.000000Z', '2020-03-02T19:46:42.000000Z', '2020-03-07T21:08:33.000000Z', '2023-04-23T02:29:45.000000Z', '2023-04-23T12:53:26.000000Z', '2020-03-12T19:42:42.000000Z', '2020-03-17T20:45:13.000000Z', '2023-04-09T00:01:51.000000Z', '2023-04-09T00:40:32.000000Z', '2020-03-22T19:38:33.000000Z', '2020-03-27T19:37:14.000000Z', '2023-04-09T11:02:28.000000Z', '2023-04-07T09:42:20.000000Z', '2020-04-01T21:26:30.000000Z', '2020-04-06T21:05:07.000000Z', '2023-04-10T23:38:04.000000Z', '2023-04-06T09:13:48.000000Z', '2020-04-11T21:27:48.000000Z', '2023-04-05T12:27:16.000000Z', '2020-04-16T19:38:58.000000Z', '2023-04-06T20:39:48.000000Z', '2020-04-21T19:39:28.000000Z', '2020-04-26T21:00:15.000000Z', '2023-04-07T09:43:09.000000Z', '2023-03-31T23:26:20.000000Z', '2020-05-01T21:25:28.000000Z', '2023-04-20T22:11:50.000000Z', '2020-05-06T21:37:51.000000Z', '2020-05-11T19:39:52.000000Z', '2023-04-02T10:35:33.000000Z', '2020-05-16T19:41:13.000000Z', '2023-04-05T04:19:36.000000Z', '2023-04-13T07:26:16.000000Z', '2020-05-21T19:37:16.000000Z', '2023-04-15T12:27:58.000000Z', '2020-05-26T20:59:42.000000Z', '2020-05-31T21:26:43.000000Z', '2023-03-31T23:01:42.000000Z'], dtype='<U27') - s2:datatake_id(time)<U34'GS2A_20200102T153611_023660_N05...
array(['GS2A_20200102T153611_023660_N05.00', 'GS2A_20200102T153611_023660_N02.13', 'GS2B_20200107T153619_014823_N05.00', 'GS2B_20200107T153619_014823_N02.13', 'GS2A_20200112T153611_023803_N05.00', 'GS2A_20200112T153611_023803_N02.13', 'GS2B_20200117T153619_014966_N05.00', 'GS2B_20200117T153619_014966_N02.13', 'GS2A_20200122T153611_023946_N05.00', 'GS2A_20200122T153611_023946_N02.13', 'GS2B_20200127T153609_015109_N05.00', 'GS2B_20200127T153609_015109_N02.13', 'GS2A_20200201T153611_024089_N05.00', 'GS2A_20200201T153611_024089_N02.13', 'GS2B_20200206T153619_015252_N05.00', 'GS2B_20200206T153619_015252_N02.14', 'GS2A_20200211T153611_024232_N05.00', 'GS2A_20200211T153611_024232_N02.14', 'GS2B_20200216T153619_015395_N02.14', 'GS2B_20200216T153619_015395_N05.00', ... 'GS2B_20200416T153619_016253_N05.00', 'GS2B_20200416T153619_016253_N02.14', 'GS2A_20200421T153621_025233_N05.00', 'GS2A_20200421T153621_025233_N02.14', 'GS2B_20200426T153619_016396_N02.14', 'GS2B_20200426T153619_016396_N05.00', 'GS2A_20200501T153621_025376_N05.00', 'GS2A_20200501T153621_025376_N02.14', 'GS2B_20200506T153619_016539_N05.00', 'GS2B_20200506T153619_016539_N02.14', 'GS2A_20200511T153621_025519_N02.14', 'GS2A_20200511T153621_025519_N05.00', 'GS2B_20200516T153619_016682_N02.14', 'GS2B_20200516T153619_016682_N05.00', 'GS2A_20200521T153631_025662_N05.00', 'GS2A_20200521T153631_025662_N02.14', 'GS2B_20200526T153619_016825_N05.00', 'GS2B_20200526T153619_016825_N02.14', 'GS2A_20200531T153631_025805_N02.14', 'GS2A_20200531T153631_025805_N05.00'], dtype='<U34') - band(band)<U5'red' 'green' 'blue'
array(['red', 'green', 'blue'], dtype='<U5')
- title(band)<U20'Red (band 4) - 10m' ... 'Blue (...
array(['Red (band 4) - 10m', 'Green (band 3) - 10m', 'Blue (band 2) - 10m'], dtype='<U20') - common_name(band)<U5'red' 'green' 'blue'
array(['red', 'green', 'blue'], dtype='<U5')
- center_wavelength(band)float640.665 0.56 0.49
array([0.665, 0.56 , 0.49 ])
- full_width_half_max(band)float640.038 0.045 0.098
array([0.038, 0.045, 0.098])
- y(y)float644.771e+05 4.771e+05 ... 4.759e+05
array([477140., 477130., 477120., 477110., 477100., 477090., 477080., 477070., 477060., 477050., 477040., 477030., 477020., 477010., 477000., 476990., 476980., 476970., 476960., 476950., 476940., 476930., 476920., 476910., 476900., 476890., 476880., 476870., 476860., 476850., 476840., 476830., 476820., 476810., 476800., 476790., 476780., 476770., 476760., 476750., 476740., 476730., 476720., 476710., 476700., 476690., 476680., 476670., 476660., 476650., 476640., 476630., 476620., 476610., 476600., 476590., 476580., 476570., 476560., 476550., 476540., 476530., 476520., 476510., 476500., 476490., 476480., 476470., 476460., 476450., 476440., 476430., 476420., 476410., 476400., 476390., 476380., 476370., 476360., 476350., 476340., 476330., 476320., 476310., 476300., 476290., 476280., 476270., 476260., 476250., 476240., 476230., 476220., 476210., 476200., 476190., 476180., 476170., 476160., 476150., 476140., 476130., 476120., 476110., 476100., 476090., 476080., 476070., 476060., 476050., 476040., 476030., 476020., 476010., 476000., 475990., 475980., 475970., 475960., 475950., 475940., 475930., 475920., 475910., 475900., 475890., 475880., 475870.]) - x(x)float643.662e+05 3.662e+05 ... 3.675e+05
array([366200., 366210., 366220., 366230., 366240., 366250., 366260., 366270., 366280., 366290., 366300., 366310., 366320., 366330., 366340., 366350., 366360., 366370., 366380., 366390., 366400., 366410., 366420., 366430., 366440., 366450., 366460., 366470., 366480., 366490., 366500., 366510., 366520., 366530., 366540., 366550., 366560., 366570., 366580., 366590., 366600., 366610., 366620., 366630., 366640., 366650., 366660., 366670., 366680., 366690., 366700., 366710., 366720., 366730., 366740., 366750., 366760., 366770., 366780., 366790., 366800., 366810., 366820., 366830., 366840., 366850., 366860., 366870., 366880., 366890., 366900., 366910., 366920., 366930., 366940., 366950., 366960., 366970., 366980., 366990., 367000., 367010., 367020., 367030., 367040., 367050., 367060., 367070., 367080., 367090., 367100., 367110., 367120., 367130., 367140., 367150., 367160., 367170., 367180., 367190., 367200., 367210., 367220., 367230., 367240., 367250., 367260., 367270., 367280., 367290., 367300., 367310., 367320., 367330., 367340., 367350., 367360., 367370., 367380., 367390., 367400., 367410., 367420., 367430., 367440., 367450., 367460., 367470.]) - cubo:distance_from_center(y, x)float64903.1 896.0 889.0 ... 886.0 893.0
array([[903.07893284, 896.00113296, 888.97947196, ..., 879.69339711, 886.63800067, 893.64054045], [896.0705671 , 888.93696769, 881.85906121, ..., 872.49720641, 879.4986336 , 886.55756599], [889.11943152, 881.92960876, 874.79500806, ..., 865.35673422, 872.41546798, 879.53125021], ..., [888.48992302, 881.29496459, 874.15518412, ..., 864.70992667, 871.77389763, 878.8948742 ], [895.43578529, 888.29708819, 881.21404222, ..., 871.84526124, 878.85188221, 885.9159679 ], [902.43899952, 895.35614097, 888.32938175, ..., 879.03643942, 885.98619241, 892.99384345]], shape=(128, 128)) - mgrs:grid_square()<U2'UK'
array('UK', dtype='<U2') - s2:product_type()<U7'S2MSI2A'
array('S2MSI2A', dtype='<U7') - mgrs:utm_zone()int6418
array(18)
- s2:saturated_defective_pixel_percentage()int640
array(0)
- instruments()<U3'msi'
array('msi', dtype='<U3') - s2:datatake_type()<U8'INS-NOBS'
array('INS-NOBS', dtype='<U8') - mgrs:latitude_band()<U1'N'
array('N', dtype='<U1') - grid:code()<U10'MGRS-18NUK'
array('MGRS-18NUK', dtype='<U10') - proj:code()<U10'EPSG:32618'
array('EPSG:32618', dtype='<U10') - constellation()<U10'sentinel-2'
array('sentinel-2', dtype='<U10') - gsd()int6410
array(10)
- proj:transform()object{0, 300000, 500040, 10, -10}
array({0, 300000, 500040, 10, -10}, dtype=object) - proj:shape()object{10980}
array({10980}, dtype=object) - epsg()int6432618
array(32618)
- collection :
- sentinel-2-l2a
- stac :
- https://earth-search.aws.element84.com/v1
- epsg :
- 32618
- resolution :
- 10
- edge_size :
- 128
- edge_size_m :
- 1280
- central_lat :
- 4.31
- central_lon :
- -76.2
- central_y :
- 476498.32356558647
- central_x :
- 366835.4548862558
- time_coverage_start :
- 2020-01-01
- time_coverage_end :
- 2020-06-01
# Visualize true-color RGB image
band_names = [str(b) for b in da.band.values] if "band" in da.dims else []
rgb_bands = band_names[:3]
rgb = da.sel(band=rgb_bands).isel(time=3).compute()
# Stretch for display
rgb = rgb / rgb.quantile(0.98)
rgb = rgb.clip(0, 1)
plt.figure(figsize=(6, 6))
plt.imshow(np.transpose(rgb.values, (1, 2, 0)))
plt.title(f"Sentinel-2 true-color composite (time=3, bands {'/'.join(rgb_bands)})")
plt.axis("off")
plt.show()
This is a good section for workshop participants to experiment with:
- swapping the endpoint,
- changing the collection,
- changing bands and dates,
- comparing how the returned
xarrayobject looks.
8. Minimal checklist for good Dask practice¶
When this notebook becomes a real workflow, the biggest beginner mistakes are usually about chunking and forcing computation too early.
Good defaults for teaching¶
- keep the spatial subset small,
- start with a short date range,
- inspect
.chunks, - chain xarray operations before
.compute().
Watch out for¶
- calling
.compute()too soon, - plotting very large arrays too early,
- using chunks that are too tiny,
- forgetting product-specific scaling or QA masks.
9. Wrap-up¶
Key message:
Use
cuboas the single entry point,xarrayas the analysis model, and Dask as the scaling layer.
That gives one consistent mental model:
- request a remote EO cube,
- inspect dimensions and chunks,
- perform labeled operations lazily,
- compute only for the final result.