Aggregate Operators with Pangeo#
Aggregate Operators#
resample
: temporal aggregation with predefined intervals#
Start importing the necessary libraries.
# STAC Catalogue Libraries
import pystac_client
import stackstac
spatial_extent = [11.4, 45.5, 11.42, 45.52]
temporal_extent = ["2022-01-01", "2022-12-31"]
bands = ["red","green","blue"]
URL = "https://earth-search.aws.element84.com/v1"
catalog = pystac_client.Client.open(URL)
items = catalog.search(
bbox=spatial_extent,
datetime=temporal_extent,
collections=["sentinel-2-l2a"]
).item_collection()
Create the starting Sentinel-2 datacube:
s2_cube = stackstac.stack(items,
bounds_latlon=spatial_extent,
assets=bands
)
s2_cube
/srv/conda/envs/notebook/lib/python3.11/site-packages/stackstac/prepare.py:408: UserWarning: The argument 'infer_datetime_format' is deprecated and will be removed in a future version. A strict version of it is now the default, see https://pandas.pydata.org/pdeps/0004-consistent-to-datetime-parsing.html. You can safely remove this argument.
times = pd.to_datetime(
<xarray.DataArray 'stackstac-ff1f9c70d01b039d57a5e43d35c43d18' (time: 73, band: 3, y: 228, x: 164)> dask.array<fetch_raster_window, shape=(73, 3, 228, 164), dtype=float64, chunksize=(1, 1, 228, 164), chunktype=numpy.ndarray> Coordinates: (12/54) * time (time) datetime64[ns] 2022-01-03... id (time) <U24 'S2B_32TPR_20220103_... * band (band) <U5 'red' 'green' 'blue' * x (x) float64 6.874e+05 ... 6.891e+05 * y (y) float64 5.044e+06 ... 5.041e+06 grid:code <U10 'MGRS-32TPR' ... ... title (band) <U20 'Red (band 4) - 10m'... proj:transform object {0, 5100000, 600000, 10, ... common_name (band) <U5 'red' 'green' 'blue' center_wavelength (band) float64 0.665 0.56 0.49 full_width_half_max (band) float64 0.038 0.045 0.098 epsg int64 32632 Attributes: spec: RasterSpec(epsg=32632, bounds=(687430.0, 5041290.0, 689070.0... crs: epsg:32632 transform: | 10.00, 0.00, 687430.00|\n| 0.00,-10.00, 5043570.00|\n| 0.0... resolution: 10.0
xarray.DataArray
'stackstac-ff1f9c70d01b039d57a5e43d35c43d18'
- time: 73
- band: 3
- y: 228
- x: 164
- dask.array<chunksize=(1, 1, 228, 164), meta=np.ndarray>
Array Chunk Bytes 62.48 MiB 292.12 kiB Shape (73, 3, 228, 164) (1, 1, 228, 164) Dask graph 219 chunks in 3 graph layers Data type float64 numpy.ndarray - time(time)datetime64[ns]2022-01-03T10:18:09.773000 ... 2...
array(['2022-01-03T10:18:09.773000000', '2022-01-08T10:18:15.203000000', '2022-01-13T10:18:09.600000000', '2022-01-18T10:18:14.071000000', '2022-01-23T10:18:08.388000000', '2022-01-28T10:18:13.892000000', '2022-02-02T10:18:08.055000000', '2022-02-07T10:18:13.188000000', '2022-02-12T10:18:07.880000000', '2022-02-17T10:18:14.781000000', '2022-02-22T10:18:08.666000000', '2022-02-27T10:18:16.862000000', '2022-03-04T10:18:10.968000000', '2022-03-09T10:18:17.835000000', '2022-03-14T10:18:11.920000000', '2022-03-19T10:18:17.348000000', '2022-03-24T10:18:11.394000000', '2022-03-29T10:18:16.251000000', '2022-04-03T10:18:10.493000000', '2022-04-08T10:18:14.682000000', '2022-04-13T10:18:10.236000000', '2022-04-18T10:18:17.731000000', '2022-04-23T10:18:08.187000000', '2022-04-28T10:18:18.950000000', '2022-05-03T10:18:08.570000000', '2022-05-08T10:18:17.994000000', '2022-05-13T10:18:12.123000000', '2022-05-18T10:18:19.389000000', '2022-05-23T10:18:13.901000000', '2022-05-28T10:18:21.382000000', '2022-06-02T10:18:13.387000000', '2022-06-07T10:18:21.996000000', '2022-06-12T10:18:16.647000000', '2022-06-17T10:18:25.049000000', '2022-06-22T10:18:18.506000000', '2022-06-27T10:18:26.533000000', '2022-07-02T10:18:18.961000000', '2022-07-07T10:18:26.850000000', '2022-07-12T10:18:18.251000000', '2022-07-17T10:18:25.933000000', '2022-07-22T10:18:18.814000000', '2022-07-27T10:18:23.464000000', '2022-08-01T10:18:18.567000000', '2022-08-06T10:18:25.040000000', '2022-08-11T10:18:17.373000000', '2022-08-16T10:18:26.312000000', '2022-08-21T10:18:14.981000000', '2022-08-26T10:18:26.389000000', '2022-08-31T10:18:14.716000000', '2022-09-05T10:18:25.508000000', '2022-09-10T10:18:15.744000000', '2022-09-15T10:18:23.280000000', '2022-09-20T10:18:15.210000000', '2022-09-25T10:18:20.922000000', '2022-09-30T10:18:13.211000000', '2022-10-05T10:18:20.688000000', '2022-10-10T10:18:12.053000000', '2022-10-15T10:18:17.812000000', '2022-10-20T10:18:13.213000000', '2022-10-25T10:18:16.577000000', '2022-10-30T10:18:12.379000000', '2022-11-04T10:18:17.918000000', '2022-11-09T10:18:12.834000000', '2022-11-14T10:18:16.523000000', '2022-11-19T10:18:13.534000000', '2022-11-24T10:18:13.010000000', '2022-11-29T10:18:12.483000000', '2022-12-04T10:18:14.232000000', '2022-12-09T10:18:10.119000000', '2022-12-14T10:18:13.660000000', '2022-12-19T10:18:12.631000000', '2022-12-24T10:18:11.728000000', '2022-12-29T10:18:12.869000000'], dtype='datetime64[ns]')
- id(time)<U24'S2B_32TPR_20220103_0_L2A' ... '...
array(['S2B_32TPR_20220103_0_L2A', 'S2A_32TPR_20220108_0_L2A', 'S2B_32TPR_20220113_0_L2A', 'S2A_32TPR_20220118_0_L2A', 'S2B_32TPR_20220123_0_L2A', 'S2A_32TPR_20220128_0_L2A', 'S2B_32TPR_20220202_0_L2A', 'S2A_32TPR_20220207_0_L2A', 'S2B_32TPR_20220212_0_L2A', 'S2A_32TPR_20220217_0_L2A', 'S2B_32TPR_20220222_0_L2A', 'S2A_32TPR_20220227_0_L2A', 'S2B_32TPR_20220304_0_L2A', 'S2A_32TPR_20220309_0_L2A', 'S2B_32TPR_20220314_0_L2A', 'S2A_32TPR_20220319_0_L2A', 'S2B_32TPR_20220324_0_L2A', 'S2A_32TPR_20220329_0_L2A', 'S2B_32TPR_20220403_0_L2A', 'S2A_32TPR_20220408_0_L2A', 'S2B_32TPR_20220413_0_L2A', 'S2A_32TPR_20220418_0_L2A', 'S2B_32TPR_20220423_0_L2A', 'S2A_32TPR_20220428_0_L2A', 'S2B_32TPR_20220503_0_L2A', 'S2A_32TPR_20220508_0_L2A', 'S2B_32TPR_20220513_0_L2A', 'S2A_32TPR_20220518_0_L2A', 'S2B_32TPR_20220523_0_L2A', 'S2A_32TPR_20220528_0_L2A', 'S2B_32TPR_20220602_0_L2A', 'S2A_32TPR_20220607_0_L2A', 'S2B_32TPR_20220612_0_L2A', 'S2A_32TPR_20220617_0_L2A', 'S2B_32TPR_20220622_0_L2A', 'S2A_32TPR_20220627_0_L2A', 'S2B_32TPR_20220702_0_L2A', 'S2A_32TPR_20220707_0_L2A', 'S2B_32TPR_20220712_0_L2A', 'S2A_32TPR_20220717_0_L2A', 'S2B_32TPR_20220722_0_L2A', 'S2A_32TPR_20220727_0_L2A', 'S2B_32TPR_20220801_0_L2A', 'S2A_32TPR_20220806_0_L2A', 'S2B_32TPR_20220811_0_L2A', 'S2A_32TPR_20220816_0_L2A', 'S2B_32TPR_20220821_0_L2A', 'S2A_32TPR_20220826_0_L2A', 'S2B_32TPR_20220831_0_L2A', 'S2A_32TPR_20220905_0_L2A', 'S2B_32TPR_20220910_0_L2A', 'S2A_32TPR_20220915_0_L2A', 'S2B_32TPR_20220920_0_L2A', 'S2A_32TPR_20220925_0_L2A', 'S2B_32TPR_20220930_0_L2A', 'S2A_32TPR_20221005_0_L2A', 'S2B_32TPR_20221010_0_L2A', 'S2A_32TPR_20221015_0_L2A', 'S2B_32TPR_20221020_0_L2A', 'S2A_32TPR_20221025_0_L2A', 'S2B_32TPR_20221030_0_L2A', 'S2A_32TPR_20221104_0_L2A', 'S2B_32TPR_20221109_0_L2A', 'S2A_32TPR_20221114_0_L2A', 'S2B_32TPR_20221119_0_L2A', 'S2A_32TPR_20221124_0_L2A', 'S2B_32TPR_20221129_0_L2A', 'S2A_32TPR_20221204_0_L2A', 'S2B_32TPR_20221209_0_L2A', 'S2A_32TPR_20221214_0_L2A', 'S2B_32TPR_20221219_0_L2A', 'S2A_32TPR_20221224_0_L2A', 'S2B_32TPR_20221229_0_L2A'], dtype='<U24')
- band(band)<U5'red' 'green' 'blue'
array(['red', 'green', 'blue'], dtype='<U5')
- x(x)float646.874e+05 6.874e+05 ... 6.891e+05
array([687430., 687440., 687450., 687460., 687470., 687480., 687490., 687500., 687510., 687520., 687530., 687540., 687550., 687560., 687570., 687580., 687590., 687600., 687610., 687620., 687630., 687640., 687650., 687660., 687670., 687680., 687690., 687700., 687710., 687720., 687730., 687740., 687750., 687760., 687770., 687780., 687790., 687800., 687810., 687820., 687830., 687840., 687850., 687860., 687870., 687880., 687890., 687900., 687910., 687920., 687930., 687940., 687950., 687960., 687970., 687980., 687990., 688000., 688010., 688020., 688030., 688040., 688050., 688060., 688070., 688080., 688090., 688100., 688110., 688120., 688130., 688140., 688150., 688160., 688170., 688180., 688190., 688200., 688210., 688220., 688230., 688240., 688250., 688260., 688270., 688280., 688290., 688300., 688310., 688320., 688330., 688340., 688350., 688360., 688370., 688380., 688390., 688400., 688410., 688420., 688430., 688440., 688450., 688460., 688470., 688480., 688490., 688500., 688510., 688520., 688530., 688540., 688550., 688560., 688570., 688580., 688590., 688600., 688610., 688620., 688630., 688640., 688650., 688660., 688670., 688680., 688690., 688700., 688710., 688720., 688730., 688740., 688750., 688760., 688770., 688780., 688790., 688800., 688810., 688820., 688830., 688840., 688850., 688860., 688870., 688880., 688890., 688900., 688910., 688920., 688930., 688940., 688950., 688960., 688970., 688980., 688990., 689000., 689010., 689020., 689030., 689040., 689050., 689060.])
- y(y)float645.044e+06 5.044e+06 ... 5.041e+06
array([5043570., 5043560., 5043550., ..., 5041320., 5041310., 5041300.])
- grid:code()<U10'MGRS-32TPR'
array('MGRS-32TPR', dtype='<U10')
- platform(time)<U11'sentinel-2b' ... 'sentinel-2b'
array(['sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b', 'sentinel-2a', 'sentinel-2b'], dtype='<U11')
- mgrs:grid_square()<U2'PR'
array('PR', dtype='<U2')
- s2:degraded_msi_data_percentage(time)object0 0 0 0 0 ... 0 0.0108 0 0.0108
array([0, 0, 0, 0, 0, 0, 0.0107, 0, 0.0108, 0, 0.0107, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0107, 0, 0.0108, 0, 0.0108, 0, 0.0107, 0, 0.0108, 0, 0.0108, 0, 0.0107, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0107, 0, 0.0107, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0107, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0108, 0, 0.0124, 0, 0.0108, 0, 0.0108], dtype=object)
- created(time)<U24'2022-11-06T11:22:12.634Z' ... '...
array(['2022-11-06T11:22:12.634Z', '2022-11-05T20:59:34.102Z', '2022-11-06T09:28:52.655Z', '2022-11-06T09:24:24.925Z', '2022-11-06T11:34:01.517Z', '2022-11-06T11:35:58.082Z', '2022-11-06T09:24:16.113Z', '2022-11-06T09:23:34.230Z', '2022-11-06T09:22:46.577Z', '2022-11-03T10:17:24.714Z', '2022-11-06T09:22:57.903Z', '2022-11-06T09:24:54.412Z', '2022-11-05T21:00:05.530Z', '2022-11-06T09:25:22.220Z', '2022-11-06T09:29:41.627Z', '2022-11-05T20:59:18.038Z', '2022-11-06T09:23:52.021Z', '2022-11-06T11:25:14.818Z', '2022-11-06T11:41:43.296Z', '2022-11-06T09:39:55.655Z', '2022-11-06T11:36:54.529Z', '2022-11-06T09:24:23.218Z', '2022-11-06T11:37:13.202Z', '2022-11-06T11:37:14.281Z', '2022-11-06T09:26:04.925Z', '2022-11-06T11:23:52.553Z', '2022-11-06T09:30:36.881Z', '2022-11-06T09:23:29.567Z', '2022-11-06T11:25:40.330Z', '2022-11-06T09:26:02.249Z', '2022-11-06T11:35:36.118Z', '2022-11-05T21:31:09.872Z', '2022-11-03T09:54:51.390Z', '2022-11-03T09:43:36.517Z', '2022-11-06T09:26:07.699Z', '2022-11-06T09:31:14.103Z', '2022-11-06T09:26:26.541Z', '2022-11-06T09:26:40.325Z', '2022-11-06T09:26:07.782Z', '2022-11-06T09:26:26.478Z', '2022-11-06T11:26:06.336Z', '2022-11-05T21:32:49.071Z', '2022-11-06T09:26:29.053Z', '2022-11-06T09:32:09.387Z', '2022-11-06T09:24:41.841Z', '2022-11-06T11:26:07.976Z', '2022-11-05T21:31:15.301Z', '2022-11-06T09:25:17.603Z', '2022-11-06T09:24:38.734Z', '2022-11-06T11:43:20.277Z', '2022-11-06T09:27:05.438Z', '2022-11-06T11:38:40.804Z', '2022-11-06T11:42:53.055Z', '2022-11-06T09:32:32.535Z', '2022-11-06T11:36:28.559Z', '2022-11-06T09:22:08.854Z', '2022-11-06T09:22:08.985Z', '2022-11-03T09:36:40.153Z', '2022-11-06T11:35:57.823Z', '2022-11-06T09:24:46.035Z', '2022-11-06T09:23:26.300Z', '2022-11-06T09:25:00.376Z', '2022-11-14T06:37:32.808Z', '2022-11-16T05:31:18.061Z', '2022-11-19T16:23:51.435Z', '2022-11-24T17:12:37.243Z', '2022-11-29T16:10:54.380Z', '2022-12-04T16:56:30.346Z', '2022-12-10T23:30:36.973Z', '2022-12-14T17:33:01.293Z', '2022-12-19T17:41:42.024Z', '2022-12-24T16:53:46.136Z', '2022-12-29T17:29:21.626Z'], dtype='<U24')
- earthsearch:boa_offset_applied(time)boolFalse False False ... True True
array([False, False, False, False, False, False, False, False, False, False, False, False, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, False, False, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, False, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True])
- s2:medium_proba_clouds_percentage(time)float6426.19 4.399 0.4738 ... 3.682 11.74
array([2.6191005e+01, 4.3994630e+00, 4.7377700e-01, 2.2848200e-01, 7.9110970e+00, 7.1502550e+00, 8.1097210e+00, 7.4487000e+00, 2.3817700e-01, 3.5390210e+00, 9.2862000e-02, 7.9319000e-02, 5.0251710e+00, 4.7697000e-02, 6.6828740e+00, 9.4388900e-01, 5.0286000e-02, 2.8151998e+01, 1.2725186e+01, 3.6218660e+00, 1.4159316e+01, 6.8480000e-02, 1.0533269e+01, 7.7786080e+00, 3.1045312e+01, 1.7137720e+01, 5.1066060e+00, 1.2876706e+01, 1.6906878e+01, 2.7095819e+01, 1.7911752e+01, 1.9340874e+01, 7.0178370e+00, 1.9082870e+01, 2.9094037e+01, 2.9260790e+00, 2.1393400e+00, 8.4932140e+00, 1.0893086e+01, 3.9961010e+00, 7.9350800e-01, 2.3925541e+01, 1.7209040e+00, 6.8121380e+00, 1.3405450e+01, 2.7693590e+00, 2.3484090e+00, 5.9027740e+00, 1.3170724e+01, 8.7495300e+00, 4.3967090e+00, 4.5531850e+00, 3.0777520e+00, 1.1252043e+01, 8.6273718e+01, 1.3087653e+01, 1.0809872e+01, 1.4832695e+01, 3.3385453e+01, 1.2304196e+01, 1.3635220e+00, 9.0245560e+00, 1.0739779e+01, 2.2373639e+01, 2.8487453e+01, 1.5045500e-01, 9.9111378e+01, 4.8584813e+01, 5.6436843e+01, 4.1897170e+00, 5.5937900e+00, 3.6817600e+00, 1.1736196e+01])
- updated(time)<U24'2022-11-06T11:22:12.634Z' ... '...
array(['2022-11-06T11:22:12.634Z', '2022-11-05T20:59:34.102Z', '2022-11-06T09:28:52.655Z', '2022-11-06T09:24:24.925Z', '2022-11-06T11:34:01.517Z', '2022-11-06T11:35:58.082Z', '2022-11-06T09:24:16.113Z', '2022-11-06T09:23:34.230Z', '2022-11-06T09:22:46.577Z', '2022-11-06T09:24:08.296Z', '2022-11-06T09:22:57.903Z', '2022-11-06T09:24:54.412Z', '2022-11-05T21:00:05.530Z', '2022-11-06T09:25:22.220Z', '2022-11-06T09:29:41.627Z', '2022-11-05T20:59:18.038Z', '2022-11-06T09:23:52.021Z', '2022-11-06T11:25:14.818Z', '2022-11-06T11:41:43.296Z', '2022-11-06T09:39:55.655Z', '2022-11-06T11:36:54.529Z', '2022-11-06T09:24:23.218Z', '2022-11-06T11:37:13.202Z', '2022-11-06T11:37:14.281Z', '2022-11-06T09:26:04.925Z', '2022-11-06T11:23:52.553Z', '2022-11-06T09:30:36.881Z', '2022-11-06T09:23:29.567Z', '2022-11-06T11:25:40.330Z', '2022-11-06T09:26:02.249Z', '2022-11-06T11:35:36.118Z', '2022-11-05T21:31:09.872Z', '2022-11-06T09:26:03.484Z', '2022-11-06T11:35:33.012Z', '2022-11-06T09:26:07.699Z', '2022-11-06T09:31:14.103Z', '2022-11-06T09:26:26.541Z', '2022-11-06T09:26:40.325Z', '2022-11-06T09:26:07.782Z', '2022-11-06T09:26:26.478Z', '2022-11-06T11:26:06.336Z', '2022-11-05T21:32:49.071Z', '2022-11-06T09:26:29.053Z', '2022-11-06T09:32:09.387Z', '2022-11-06T09:24:41.841Z', '2022-11-06T11:26:07.976Z', '2022-11-05T21:31:15.301Z', '2022-11-06T09:25:17.603Z', '2022-11-06T09:24:38.734Z', '2022-11-06T11:43:20.277Z', '2022-11-06T09:27:05.438Z', '2022-11-06T11:38:40.804Z', '2022-11-06T11:42:53.055Z', '2022-11-06T09:32:32.535Z', '2022-11-06T11:36:28.559Z', '2022-11-06T09:22:08.854Z', '2022-11-06T09:22:08.985Z', '2022-11-06T11:21:59.644Z', '2022-11-06T11:35:57.823Z', '2022-11-06T09:24:46.035Z', '2022-11-06T09:23:26.300Z', '2022-11-06T09:25:00.376Z', '2022-11-14T06:37:32.808Z', '2022-11-16T05:31:18.061Z', '2022-11-19T16:23:51.435Z', '2022-11-24T17:12:37.243Z', '2022-11-29T16:10:54.380Z', '2022-12-04T16:56:30.346Z', '2022-12-10T23:30:36.973Z', '2022-12-14T17:33:01.293Z', '2022-12-19T17:41:42.024Z', '2022-12-24T16:53:46.136Z', '2022-12-29T17:29:21.626Z'], dtype='<U24')
- constellation()<U10'sentinel-2'
array('sentinel-2', dtype='<U10')
- s2:thin_cirrus_percentage(time)object5.4669 2.515766 ... 0.99571
array([5.4669, 2.515766, 0.531087, 0.016781, 1.358454, 3.077678, 2.04453, 3.234788, 4.659059, 5.3e-05, 0.558338, 1.639551, 1.413695, 0.199671, 7.022223, 14.846534, 1.286382, 23.412985, 5.826583, 11.704823, 40.693146, 4.428397, 2.815896, 1.25056, 18.797214, 0.903481, 26.096374, 1.529029, 1.318294, 5.420337, 7.16127, 10.928375, 17.28697, 58.598226, 0.714593, 6.088753, 0.002193, 10.616638, 6.14282, 0.00422, 0.004496, 42.380959, 0.061112, 1.428957, 22.951914, 0.002465, 13.927755, 17.966971, 10.368017, 5.292955, 0.165155, 0.393081, 0.006122, 0.381309, 0, 0.001921, 5.964741, 3.113746, 46.84867, 5.11785, 24.64674, 3.750057, 2.310417, 3.594145, 26.671788, 0.221801, 0.714089, 3.499972, 3.596644, 0.085823, 0, 3.297444, 0.99571], dtype=object)
- s2:reflectance_conversion_factor(time)float641.034 1.034 1.034 ... 1.033 1.034
array([1.03424445, 1.03431105, 1.03411762, 1.0336657 , 1.0329594 , 1.0320043 , 1.03080905, 1.02938302, 1.02773897, 1.02588964, 1.02385113, 1.02163976, 1.01927327, 1.01677173, 1.01415318, 1.01144108, 1.00865414, 1.00581458, 1.00294391, 1.00006357, 0.99719532, 0.99435983, 0.99157791, 0.98886909, 0.98625277, 0.98374684, 0.98136876, 0.97913458, 0.97705933, 0.97515679, 0.97343951, 0.97191866, 0.97060411, 0.96950426, 0.96862622, 0.96797547, 0.96755621, 0.96737104, 0.96742114, 0.9677062 , 0.96822439, 0.96897248, 0.96994571, 0.97113791, 0.97254135, 0.97414715, 0.97594469, 0.9779224 , 0.980067 , 0.98236441, 0.98479885, 0.98735418, 0.99001222, 0.99275596, 0.995562 , 0.99841458, 1.00129044, 1.00417004, 1.00702994, 1.00985056, 1.01260858, 1.01528424, 1.01785503, 1.02030201, 1.02260431, 1.02474448, 1.02670398, 1.02846771, 1.03002011, 1.03134908, 1.03244271, 1.03329237, 1.03389044])
- instruments()<U3'msi'
array('msi', dtype='<U3')
- s2:sequence()<U1'0'
array('0', dtype='<U1')
- s2:datatake_id(time)<U34'GS2B_20220103T101319_025216_N03...
array(['GS2B_20220103T101319_025216_N03.01', 'GS2A_20220108T101411_034196_N03.01', 'GS2B_20220113T101259_025359_N03.01', 'GS2A_20220118T101341_034339_N03.01', 'GS2B_20220123T101219_025502_N03.01', 'GS2A_20220128T101301_034482_N04.00', 'GS2B_20220202T101129_025645_N04.00', 'GS2A_20220207T101201_034625_N04.00', 'GS2B_20220212T101029_025788_N04.00', 'GS2A_20220217T101101_034768_N04.00', 'GS2B_20220222T101019_025931_N04.00', 'GS2A_20220227T100951_034911_N04.00', 'GS2B_20220304T101019_026074_N04.00', 'GS2A_20220309T100841_035054_N04.00', 'GS2B_20220314T101019_026217_N04.00', 'GS2A_20220319T100731_035197_N04.00', 'GS2B_20220324T100649_026360_N04.00', 'GS2A_20220329T100611_035340_N04.00', 'GS2B_20220403T100549_026503_N04.00', 'GS2A_20220408T100601_035483_N04.00', ... 'GS2A_20220925T101031_037914_N04.00', 'GS2B_20220930T100729_029077_N04.00', 'GS2A_20221005T100901_038057_N04.00', 'GS2B_20221010T100839_029220_N04.00', 'GS2A_20221015T101031_038200_N04.00', 'GS2B_20221020T100939_029363_N04.00', 'GS2A_20221025T101111_038343_N04.00', 'GS2B_20221030T101039_029506_N04.00', 'GS2A_20221104T101211_038486_N04.00', 'GS2B_20221109T101139_029649_N04.00', 'GS2A_20221114T101301_038629_N04.00', 'GS2B_20221119T101229_029792_N04.00', 'GS2A_20221124T101341_038772_N04.00', 'GS2B_20221129T101259_029935_N04.00', 'GS2A_20221204T101411_038915_N04.00', 'GS2B_20221209T101319_030078_N05.09', 'GS2A_20221214T101431_039058_N05.09', 'GS2B_20221219T101339_030221_N05.09', 'GS2A_20221224T101431_039201_N05.09', 'GS2B_20221229T101329_030364_N05.09'], dtype='<U34')
- s2:generation_time(time)<U27'2022-01-03T13:06:28.000000Z' .....
array(['2022-01-03T13:06:28.000000Z', '2022-01-08T11:55:44.000000Z', '2022-01-13T12:11:14.000000Z', '2022-01-18T12:04:49.000000Z', '2022-01-23T11:46:18.000000Z', '2022-01-28T13:30:19.000000Z', '2022-02-02T14:23:21.000000Z', '2022-02-07T13:27:23.000000Z', '2022-02-12T11:55:23.000000Z', '2022-02-17T13:33:43.000000Z', '2022-02-22T13:41:20.000000Z', '2022-02-27T12:56:50.000000Z', '2022-03-04T14:26:23.000000Z', '2022-03-09T13:46:26.000000Z', '2022-03-14T13:35:44.000000Z', '2022-03-19T13:18:12.000000Z', '2022-03-24T14:04:25.000000Z', '2022-03-29T12:58:35.000000Z', '2022-04-03T13:39:26.000000Z', '2022-04-08T13:10:49.000000Z', '2022-04-13T13:49:31.000000Z', '2022-04-18T13:26:15.000000Z', '2022-04-23T13:43:29.000000Z', '2022-04-28T14:13:13.000000Z', '2022-05-03T13:56:32.000000Z', '2022-05-08T17:38:19.000000Z', '2022-05-13T16:13:11.000000Z', '2022-05-18T16:28:16.000000Z', '2022-05-23T13:23:35.000000Z', '2022-05-28T16:28:19.000000Z', '2022-06-02T18:13:36.000000Z', '2022-06-07T16:26:19.000000Z', '2022-06-12T13:24:43.000000Z', '2022-06-17T18:07:12.000000Z', '2022-06-22T13:27:19.000000Z', '2022-06-27T16:28:10.000000Z', '2022-07-02T13:06:22.000000Z', '2022-07-07T16:29:05.000000Z', '2022-07-12T12:55:40.000000Z', '2022-07-17T16:20:59.000000Z', '2022-07-22T13:09:11.000000Z', '2022-07-27T16:27:59.000000Z', '2022-08-01T13:15:16.000000Z', '2022-08-06T16:26:58.000000Z', '2022-08-11T16:21:01.000000Z', '2022-08-16T16:25:57.000000Z', '2022-08-21T13:16:47.000000Z', '2022-08-26T16:20:59.000000Z', '2022-08-31T13:03:52.000000Z', '2022-09-05T16:29:10.000000Z', '2022-09-10T13:05:04.000000Z', '2022-09-15T16:16:01.000000Z', '2022-09-21T21:30:31.000000Z', '2022-09-25T16:25:25.000000Z', '2022-09-30T13:00:34.000000Z', '2022-10-05T16:23:52.000000Z', '2022-10-10T12:58:08.000000Z', '2022-10-15T16:26:57.000000Z', '2022-10-20T12:49:21.000000Z', '2022-10-25T14:22:00.000000Z', '2022-10-30T11:19:46.000000Z', '2022-11-04T14:20:11.000000Z', '2022-11-09T11:24:54.000000Z', '2022-11-14T14:28:02.000000Z', '2022-11-19T11:22:11.000000Z', '2022-11-24T15:18:54.000000Z', '2022-11-29T13:04:50.000000Z', '2022-12-04T14:48:00.000000Z', '2022-12-09T11:31:16.000000Z', '2022-12-14T14:27:56.000000Z', '2022-12-19T11:30:14.000000Z', '2022-12-24T14:16:52.000000Z', '2022-12-29T11:38:08.000000Z'], dtype='<U27')
- s2:unclassified_percentage(time)object0.198151 19.171272 ... 0.727101
array([0.198151, 19.171272, 15.871245, 24.289402, 20.276324, 4.956944, 0.07191, 0.325304, 0.033588, 0.319716, 0.015754, 0.028735, 0.334163, 0.019479, 1.880249, 0.051168, 0.008524, 0.103543, 1.881291, 0.842343, 0.390908, 0.271137, 1.344269, 0.897237, 0.252697, 0.036032, 0.746295, 2.118397, 3.616839, 2.496296, 2.540675, 1.284329, 0.142289, 0.086732, 0.01922, 0.319883, 0.119777, 0.689192, 1.072259, 0.32833, 0.118679, 0.40477, 0.130246, 0.823667, 1.265812, 0.267906, 0.173354, 0.289229, 1.434332, 0.437228, 1.29383, 1.097024, 0.362301, 0.009366, 0, 4.811869, 2.607583, 3.530061, 1.00494, 4.621405, 0.093862, 1.287265, 0.010017, 5.971513, 1.278692, 0.01441, 0, 3e-06, 0, 0, 0, 0.519378, 0.727101], dtype=object)
- s2:water_percentage(time)object0.001009 4.527552 ... 0.186346
array([0.001009, 4.527552, 4.988888, 4.782573, 4.325807, 2.395415, 3.159697, 3.383966, 3.534568, 1.488259, 3.630438, 3.549807, 3.547621, 3.578356, 0.256137, 2.994469, 3.55491, 1.879297, 1.66091, 3.265876, 2.042671, 3.292792, 0.08421, 3.51338, 0.126061, 0.003981, 1.75741, 1.717937, 2.109884, 1.78797, 2.685665, 0.812081, 0.750426, 0.126642, 0.000179, 2.939201, 3.471767, 2.280955, 2.356455, 3.422955, 3.462145, 0.117946, 3.491161, 2.266187, 0.786587, 3.469646, 3.374055, 2.324926, 1.080863, 3.332318, 3.442441, 3.237542, 3.494928, 0.17766, 0, 1.475029, 0.7929, 0.518933, 0.006125, 2.366837, 2.753743, 1.524518, 0.020604, 0.469056, 0.05568, 3.63744, 0, 0.00075, 0.036483, 0.001327, 0.001463, 2.994569, 0.186346], dtype=object)
- s2:datastrip_id(time)<U64'S2B_OPER_MSI_L2A_DS_VGS2_202201...
array(['S2B_OPER_MSI_L2A_DS_VGS2_20220103T130628_S20220103T101650_N03.01', 'S2A_OPER_MSI_L2A_DS_VGS4_20220108T115544_S20220108T101417_N03.01', 'S2B_OPER_MSI_L2A_DS_VGS4_20220113T121114_S20220113T101258_N03.01', 'S2A_OPER_MSI_L2A_DS_VGS4_20220118T120449_S20220118T101414_N03.01', 'S2B_OPER_MSI_L2A_DS_VGS4_20220123T114618_S20220123T101218_N03.01', 'S2A_OPER_MSI_L2A_DS_VGS2_20220128T133019_S20220128T101258_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS2_20220202T142321_S20220202T101130_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS2_20220207T132723_S20220207T101202_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS4_20220212T115523_S20220212T101029_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS2_20220217T133343_S20220217T101101_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS2_20220222T134120_S20220222T101425_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS4_20220227T125650_S20220227T101418_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS4_20220304T142623_S20220304T101238_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS2_20220309T134626_S20220309T101722_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS2_20220314T133544_S20220314T101022_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS4_20220319T131812_S20220319T101418_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS4_20220324T140425_S20220324T101658_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS4_20220329T125835_S20220329T101224_N04.00', 'S2B_OPER_MSI_L2A_DS_VGS2_20220403T133926_S20220403T100558_N04.00', 'S2A_OPER_MSI_L2A_DS_VGS4_20220408T131049_S20220408T101253_N04.00', ... 'S2B_OPER_MSI_L2A_DS_2BPS_20220930T130034_S20220930T101327_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221005T162352_S20221005T101621_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221010T125808_S20221010T101145_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221015T162657_S20221015T101542_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221020T124921_S20221020T100938_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221025T142200_S20221025T101109_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221030T111946_S20221030T101041_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221104T142011_S20221104T101209_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221109T112454_S20221109T101136_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221114T142802_S20221114T101258_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221119T112211_S20221119T101223_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221124T151854_S20221124T101335_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221129T130450_S20221129T101417_N04.00', 'S2A_OPER_MSI_L2A_DS_ATOS_20221204T144800_S20221204T101407_N04.00', 'S2B_OPER_MSI_L2A_DS_2BPS_20221209T113116_S20221209T101321_N05.09', 'S2A_OPER_MSI_L2A_DS_2APS_20221214T142756_S20221214T101426_N05.09', 'S2B_OPER_MSI_L2A_DS_2BPS_20221219T113014_S20221219T101334_N05.09', 'S2A_OPER_MSI_L2A_DS_2APS_20221224T141652_S20221224T101430_N05.09', 'S2B_OPER_MSI_L2A_DS_2BPS_20221229T113808_S20221229T101331_N05.09'], dtype='<U64')
- s2:datatake_type()<U8'INS-NOBS'
array('INS-NOBS', dtype='<U8')
- s2:granule_id(time)<U62'S2B_OPER_MSI_L2A_TL_VGS2_202201...
array(['S2B_OPER_MSI_L2A_TL_VGS2_20220103T130628_A025216_T32TPR_N03.01', 'S2A_OPER_MSI_L2A_TL_VGS4_20220108T115544_A034196_T32TPR_N03.01', 'S2B_OPER_MSI_L2A_TL_VGS4_20220113T121114_A025359_T32TPR_N03.01', 'S2A_OPER_MSI_L2A_TL_VGS4_20220118T120449_A034339_T32TPR_N03.01', 'S2B_OPER_MSI_L2A_TL_VGS4_20220123T114618_A025502_T32TPR_N03.01', 'S2A_OPER_MSI_L2A_TL_VGS2_20220128T133019_A034482_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS2_20220202T142321_A025645_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS2_20220207T132723_A034625_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS4_20220212T115523_A025788_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS2_20220217T133343_A034768_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS2_20220222T134120_A025931_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS4_20220227T125650_A034911_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS4_20220304T142623_A026074_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS2_20220309T134626_A035054_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS2_20220314T133544_A026217_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS4_20220319T131812_A035197_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS4_20220324T140425_A026360_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS4_20220329T125835_A035340_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_VGS2_20220403T133926_A026503_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_VGS4_20220408T131049_A035483_T32TPR_N04.00', ... 'S2B_OPER_MSI_L2A_TL_2BPS_20220930T130034_A029077_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221005T162352_A038057_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221010T125808_A029220_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221015T162657_A038200_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221020T124921_A029363_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221025T142200_A038343_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221030T111946_A029506_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221104T142011_A038486_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221109T112454_A029649_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221114T142802_A038629_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221119T112211_A029792_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221124T151854_A038772_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221129T130450_A029935_T32TPR_N04.00', 'S2A_OPER_MSI_L2A_TL_ATOS_20221204T144800_A038915_T32TPR_N04.00', 'S2B_OPER_MSI_L2A_TL_2BPS_20221209T113116_A030078_T32TPR_N05.09', 'S2A_OPER_MSI_L2A_TL_2APS_20221214T142756_A039058_T32TPR_N05.09', 'S2B_OPER_MSI_L2A_TL_2BPS_20221219T113014_A030221_T32TPR_N05.09', 'S2A_OPER_MSI_L2A_TL_2APS_20221224T141652_A039201_T32TPR_N05.09', 'S2B_OPER_MSI_L2A_TL_2BPS_20221229T113808_A030364_T32TPR_N05.09'], dtype='<U62')
- s2:saturated_defective_pixel_percentage()int640
array(0)
- mgrs:utm_zone()int6432
array(32)
- processing:software()object{'sentinel2-to-stac': '0.1.0'}
array({'sentinel2-to-stac': '0.1.0'}, dtype=object)
- mgrs:latitude_band()<U1'T'
array('T', dtype='<U1')
- view:sun_elevation(time)float6420.2 20.67 21.33 ... 19.82 19.91
array([20.19877637, 20.67484439, 21.32519919, 22.16050475, 23.15515951, 24.31860873, 25.61930347, 27.06593638, 28.62428174, 30.30237058, 32.05999189, 33.91080462, 35.80965605, 37.76956046, 39.74717494, 41.75330016, 43.74806047, 45.74158505, 47.69471601, 49.61599991, 51.46936457, 53.2647456 , 54.95448774, 56.57016237, 58.04778362, 59.42604442, 60.64887474, 61.7433961 , 62.66622431, 63.44578136, 64.03663667, 64.4840257 , 64.74244071, 64.85744767, 64.78755871, 64.58575568, 64.21052906, 63.7212105 , 63.07370214, 62.3289855 , 61.44254465, 60.46323833, 59.36452329, 58.18493961, 56.89332169, 55.5382678 , 54.0742315 , 52.5632467 , 50.95596641, 49.31431666, 47.59871039, 45.85669414, 44.06380985, 42.25762848, 40.42608356, 38.60498389, 36.78286557, 34.99337089, 33.23185488, 31.52425861, 29.8758235 , 28.31209769, 26.83547692, 25.46997445, 24.22016907, 23.10461292, 22.13494412, 21.32452625, 20.67781267, 20.21066413, 19.92181575, 19.8190391 , 19.90665626])
- s2:dark_features_percentage(time)object0.561859 21.878438 ... 3.085278
array([0.561859, 21.878438, 25.475004, 19.219299, 16.446643, 10.48876, 3.880046, 4.836067, 8.507401, 7.01399, 6.344405, 5.400975, 1.415175, 3.782921, 2.360251, 1.983225, 1.584235, 0.184551, 0.652264, 2.633844, 1.49822, 1.937726, 0.000106, 0.562301, 0.009569, 0, 0.029363, 0.001868, 0.026559, 0.006267, 0.010076, 0.002326, 0.036758, 0.011218, 0, 0.021048, 0.03356, 0.005883, 0.016052, 0.028477, 0.090896, 0.005103, 0.096288, 0.04569, 0.02507, 0.134917, 0.209032, 0.097319, 0.082206, 0.094004, 0.230305, 0.350238, 0.371229, 0.013477, 6.6e-05, 1.021476, 0.167229, 0.20834, 0.317076, 2.304982, 4.092319, 1.882835, 0.385964, 0.271499, 1.905621, 11.041299, 0.003125, 0.018646, 0.093921, 0.69946, 0.282663, 11.544421, 3.085278], dtype=object)
- s2:nodata_pixel_percentage(time)object0 0.000196 0.019549 ... 0 3e-06 0
array([0, 0.000196, 0.019549, 0.014303, 0.005723, 0.001858, 0.003142, 0.001055, 0.005192, 0.001918, 0.005637, 0.007143, 4.3e-05, 0.000199, 3e-06, 0, 0.001257, 0, 3e-06, 1.7e-05, 0, 9.6e-05, 0, 1e-05, 0, 0, 0, 3e-06, 0, 0, 0, 0, 0, 0, 0, 1e-05, 1.7e-05, 7e-06, 0, 3e-06, 7e-06, 0, 0.000624, 1e-05, 3e-06, 7e-05, 0.002104, 3e-06, 5.3e-05, 7e-06, 0.001476, 3.6e-05, 0.001685, 0, 0, 1.7e-05, 0, 0, 0, 0, 0, 0.002031, 0, 0, 0, 0.049452, 0, 0, 0, 0, 0, 3e-06, 0], dtype=object)
- s2:product_type()<U7'S2MSI2A'
array('S2MSI2A', dtype='<U7')
- s2:not_vegetated_percentage(time)object0.077438 11.291717 ... 1.176602
array([0.077438, 11.291717, 17.614925, 20.077965, 16.008994, 41.573516, 47.593778, 46.282247, 51.224488, 14.708222, 46.842793, 47.495043, 50.226384, 52.426487, 21.681985, 48.146084, 49.720132, 23.063438, 9.133281, 29.143158, 20.738922, 33.055273, 2.965113, 23.754303, 10.410125, 0.00282, 21.844834, 14.918952, 9.784586, 6.698475, 12.102471, 10.008444, 15.383641, 2.995342, 0.195626, 20.412122, 21.807638, 16.379084, 16.230018, 21.833621, 23.53778, 4.446817, 22.946128, 24.018753, 15.375483, 23.128732, 14.8353, 15.073009, 7.499857, 16.159798, 18.77635, 20.516543, 21.848921, 0.011367, 7e-05, 16.09533, 17.296721, 16.694225, 5.549089, 22.410911, 34.651557, 27.089423, 0.040614, 4.01152, 4.962518, 37.808767, 0, 0.000949, 0.001954, 0, 0, 10.401518, 1.176602], dtype=object)
- proj:epsg()int6432632
array(32632)
- s2:cloud_shadow_percentage(time)float640.04084 4.228 3.2 ... 1.192 6.0
array([4.0843000e-02, 4.2276990e+00, 3.1998320e+00, 2.6276430e+00, 2.9456890e+00, 5.9995600e-01, 1.3205700e-01, 4.6085540e+00, 2.2756600e-01, 5.9075000e-02, 9.2321000e-02, 3.3121000e-02, 1.0962874e+01, 1.8019000e-02, 8.1388600e-01, 8.1996100e-01, 6.5160000e-03, 2.0281600e-01, 7.8380900e+00, 1.7164480e+00, 3.1430000e-02, 7.0000000e-06, 3.5051980e+00, 4.3023220e+00, 2.1945080e+00, 9.9467500e-01, 1.1098540e+00, 5.6605220e+00, 1.6261660e+00, 4.1758950e+00, 6.5172410e+00, 2.4942420e+00, 6.0897900e-01, 3.9330300e-01, 1.8797180e+00, 2.5061000e+00, 1.9197350e+00, 3.7905520e+00, 6.5683950e+00, 2.9201790e+00, 8.8639700e-01, 2.1305770e+00, 2.2159090e+00, 2.8175660e+00, 3.4663030e+00, 2.3262610e+00, 1.3978420e+00, 5.6173730e+00, 5.3821220e+00, 1.0297395e+01, 5.2277370e+00, 7.0527700e+00, 3.0910440e+00, 4.2494450e+00, 2.2996000e-02, 9.8087600e-01, 4.1420870e+00, 3.5797990e+00, 6.6396600e-01, 1.1753438e+01, 5.1920000e-03, 1.0263266e+01, 5.2479950e+00, 3.8985600e+00, 1.9308800e-01, 2.7935100e-01, 1.3630000e-02, 1.3010000e-03, 1.2524010e+00, 2.7399050e+00, 1.4487870e+00, 1.1922120e+00, 6.0001660e+00])
- s2:high_proba_clouds_percentage(time)float6467.19 2.816 0.3874 ... 53.42 74.36
array([6.7193514e+01, 2.8155140e+00, 3.8743700e-01, 3.5002900e-01, 1.0656224e+01, 1.2609135e+01, 1.1321025e+01, 6.6127990e+00, 3.0429000e-02, 5.2477479e+01, 4.2189000e-02, 2.1295000e-02, 8.0055670e+00, 1.3971000e-02, 4.1639805e+01, 4.7860200e-01, 1.0952000e-02, 1.9874376e+01, 4.7578397e+01, 7.4353020e+00, 1.3259740e+00, 1.6360000e-02, 7.4785674e+01, 1.1108591e+01, 1.8952993e+01, 8.0896169e+01, 6.2610810e+00, 3.9234686e+01, 4.7996762e+01, 3.8904244e+01, 2.2786586e+01, 3.0376562e+01, 1.6590290e+00, 4.1108660e+00, 6.7344618e+01, 2.5528650e+00, 2.9053090e+00, 1.8808456e+01, 1.8759961e+01, 7.6326880e+00, 6.5274500e-01, 1.6047701e+01, 2.4379800e+00, 1.2323693e+01, 1.3115740e+01, 3.1160370e+00, 1.5016950e+00, 4.3140770e+00, 3.7132278e+01, 1.2449704e+01, 5.6589700e+00, 4.4130330e+00, 3.0121110e+00, 8.3881491e+01, 1.3702968e+01, 4.2234862e+01, 4.6831915e+01, 5.3434265e+01, 8.9800630e+00, 1.5639344e+01, 2.6496000e-02, 2.1792702e+01, 8.1166750e+01, 5.7824296e+01, 3.1459263e+01, 1.0965600e-01, 1.5743800e-01, 4.7893566e+01, 3.8581711e+01, 9.2252737e+01, 9.2673272e+01, 5.3417557e+01, 7.4357402e+01])
- earthsearch:s3_path(time)<U80's3://sentinel-cogs/sentinel-s2-...
array(['s3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/1/S2B_32TPR_20220103_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/1/S2A_32TPR_20220108_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/1/S2B_32TPR_20220113_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/1/S2A_32TPR_20220118_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/1/S2B_32TPR_20220123_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/1/S2A_32TPR_20220128_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/2/S2B_32TPR_20220202_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/2/S2A_32TPR_20220207_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/2/S2B_32TPR_20220212_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/2/S2A_32TPR_20220217_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/2/S2B_32TPR_20220222_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/2/S2A_32TPR_20220227_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/3/S2B_32TPR_20220304_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/3/S2A_32TPR_20220309_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/3/S2B_32TPR_20220314_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/3/S2A_32TPR_20220319_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/3/S2B_32TPR_20220324_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/3/S2A_32TPR_20220329_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/4/S2B_32TPR_20220403_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/4/S2A_32TPR_20220408_0_L2A', ... 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/9/S2B_32TPR_20220930_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/10/S2A_32TPR_20221005_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/10/S2B_32TPR_20221010_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/10/S2A_32TPR_20221015_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/10/S2B_32TPR_20221020_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/10/S2A_32TPR_20221025_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/10/S2B_32TPR_20221030_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/11/S2A_32TPR_20221104_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/11/S2B_32TPR_20221109_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/11/S2A_32TPR_20221114_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/11/S2B_32TPR_20221119_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/11/S2A_32TPR_20221124_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/11/S2B_32TPR_20221129_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/12/S2A_32TPR_20221204_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/12/S2B_32TPR_20221209_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/12/S2A_32TPR_20221214_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/12/S2B_32TPR_20221219_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/12/S2A_32TPR_20221224_0_L2A', 's3://sentinel-cogs/sentinel-s2-l2a-cogs/32/T/PR/2022/12/S2B_32TPR_20221229_0_L2A'], dtype='<U80')
- earthsearch:payload_id(time)<U74'roda-sentinel2/workflow-sentine...
array(['roda-sentinel2/workflow-sentinel2-to-stac/4be8afc3cf66554f04f7ef8f6cd1875a', 'roda-sentinel2/workflow-sentinel2-to-stac/302499c20f3763598ee4098dad082e58', 'roda-sentinel2/workflow-sentinel2-to-stac/4793dd1c432a555a6672369577dd5987', 'roda-sentinel2/workflow-sentinel2-to-stac/2cb9ccf0351072605110fd332395dc2d', 'roda-sentinel2/workflow-sentinel2-to-stac/3dcd1dc915ced8a8088a9c9dd89f9563', 'roda-sentinel2/workflow-sentinel2-to-stac/dcbb26e264de87a38f438322ce5400ae', 'roda-sentinel2/workflow-sentinel2-to-stac/7e63b59146d4e2eaa104ff7f41d120c5', 'roda-sentinel2/workflow-sentinel2-to-stac/de43d0c4ec5589e5395fc3a97475a4a1', 'roda-sentinel2/workflow-sentinel2-to-stac/45e6bfc28c32ce808da2ea2d29364e6b', 'roda-sentinel2/workflow-sentinel2-to-stac/1101bf755422d29b038a1a6dd3e8b3df', 'roda-sentinel2/workflow-sentinel2-to-stac/ab43fc6e9ed3a3398176bcfae39d149d', 'roda-sentinel2/workflow-sentinel2-to-stac/758aeca40b7a928b659285414783989b', 'roda-sentinel2/workflow-sentinel2-to-stac/08f79cab23cbcd7cbc223fe192ebb724', 'roda-sentinel2/workflow-sentinel2-to-stac/6ffeb885841bb5f8abe6f7b0f2a60360', 'roda-sentinel2/workflow-sentinel2-to-stac/966a5f050f249e718724f17c1caade5c', 'roda-sentinel2/workflow-sentinel2-to-stac/cb685aced41ef27edb2b73b40f89b5fd', 'roda-sentinel2/workflow-sentinel2-to-stac/a3b56f7ef5a73d8530b41479e0680f72', 'roda-sentinel2/workflow-sentinel2-to-stac/f15848e3cfd170306e4bec8a79af30b4', 'roda-sentinel2/workflow-sentinel2-to-stac/a136fcb8dad246883a08e395c125b6cd', 'roda-sentinel2/workflow-sentinel2-to-stac/55109ed73d65fdb29528ccb8a33d6d64', ... 'roda-sentinel2/workflow-sentinel2-to-stac/a4dd1dc355b62a3408b076d50cd412b4', 'roda-sentinel2/workflow-sentinel2-to-stac/7d8d87de9907caf7037ce75b5bb1e033', 'roda-sentinel2/workflow-sentinel2-to-stac/b28bc662e8ecf41630ee6497fd34be8a', 'roda-sentinel2/workflow-sentinel2-to-stac/9237de3784a9baaa7f548e90fd114e0c', 'roda-sentinel2/workflow-sentinel2-to-stac/b0127dfef9cc64ca4d8d29d8991cd445', 'roda-sentinel2/workflow-sentinel2-to-stac/2b398014be2b3b2556f85d7ffcf8de06', 'roda-sentinel2/workflow-sentinel2-to-stac/a7b0da2a5f8661dd07fabb4821516470', 'roda-sentinel2/workflow-sentinel2-to-stac/1fb5f3b90309aa6c697360318172fb1b', 'roda-sentinel2/workflow-sentinel2-to-stac/42fac7ccf00cf86cffd779ac52a6d302', 'roda-sentinel2/workflow-sentinel2-to-stac/6e2331026677debf5060d3d4903df78b', 'roda-sentinel2/workflow-sentinel2-to-stac/251aa7eccaaa288eb7e589d00a53f4bf', 'roda-sentinel2/workflow-sentinel2-to-stac/2091bb2ae39ecaa3861f1d6c3f90f714', 'roda-sentinel2/workflow-sentinel2-to-stac/3794e87083a983057fbc169c48f2319f', 'roda-sentinel2/workflow-sentinel2-to-stac/112929d6035c16089962ec094eccb2c7', 'roda-sentinel2/workflow-sentinel2-to-stac/725a191a03ff6751ee9b842d55f99348', 'roda-sentinel2/workflow-sentinel2-to-stac/26352e2b61d9055bf766fc69394930ae', 'roda-sentinel2/workflow-sentinel2-to-stac/8aaebd3b1e25e5e26f0b7bafb7241208', 'roda-sentinel2/workflow-sentinel2-to-stac/1f9de2bc677400d3fa1d2226b7947778', 'roda-sentinel2/workflow-sentinel2-to-stac/08afc82f44c8069406df2ae6cdfd1915'], dtype='<U74')
- view:sun_azimuth(time)float64164.7 164.1 163.4 ... 166.0 165.4
array([164.6999736 , 164.05985424, 163.37959776, 162.75466462, 162.10978381, 161.53942869, 160.95519359, 160.45906955, 159.96224637, 159.56591245, 159.1532751 , 158.84698999, 158.50877252, 158.26622152, 157.98570023, 157.78245569, 157.52377702, 157.31813938, 157.03342387, 156.77947787, 156.43288318, 156.10966806, 155.60579611, 155.15903327, 154.47638435, 153.84790371, 153.02261192, 152.22108005, 151.2563238 , 150.35343866, 149.3196669 , 148.45695102, 147.56022577, 146.89571408, 146.2613496 , 145.92822851, 145.67684684, 145.77145936, 145.96245037, 146.49531702, 147.11288005, 147.99635634, 148.96525374, 150.14789804, 151.33613652, 152.7145844 , 154.00403721, 155.4670186 , 156.78435532, 158.22770721, 159.51157973, 160.84758717, 162.02576471, 163.20356968, 164.21989998, 165.22349777, 166.04133231, 166.82385283, 167.4401984 , 167.9780739 , 168.36293776, 168.67700182, 168.82812314, 168.90422539, 168.84004809, 168.68086145, 168.42434286, 168.08985138, 167.65275393, 167.17694602, 166.6229586 , 166.02184125, 165.39561558])
- s2:vegetation_percentage(time)object0.036254 23.283243 ... 0.396591
array([0.036254, 23.283243, 26.638648, 24.705131, 16.543734, 12.804694, 21.724597, 20.770153, 28.010839, 5.408745, 34.659076, 35.509902, 16.746733, 33.970591, 12.639265, 25.136936, 39.511445, 1.19488, 9.038865, 37.203437, 16.409624, 54.999375, 3.965166, 45.813692, 18.20976, 0.02492, 36.694139, 21.883726, 16.544178, 13.384129, 28.241166, 24.752767, 57.099122, 14.587748, 0.124114, 62.233073, 67.600089, 38.935935, 37.960953, 59.833425, 70.453352, 10.540589, 66.900277, 49.463353, 29.607639, 64.78467, 62.232554, 48.41432, 23.849602, 43.186918, 60.808456, 58.386582, 64.733434, 0.023839, 0, 20.280161, 11.386634, 4.087733, 3.244618, 23.478989, 32.366562, 22.622003, 0.074741, 1.562656, 4.450553, 39.163589, 0, 0, 0, 0, 0, 6.804327, 0.396591], dtype=object)
- s2:snow_ice_percentage(time)object0.233025 5.889339 ... 1.338602
array([0.233025, 5.889339, 4.819154, 3.702697, 3.527028, 4.34365, 1.962643, 2.497423, 3.533881, 14.985436, 7.72183, 6.24225, 2.322614, 5.942805, 5.023321, 4.599132, 4.266619, 1.932117, 3.665127, 2.432899, 2.709789, 1.93045, 0.001098, 1.019008, 0.001762, 0.000202, 0.354047, 0.058172, 0.069854, 0.030567, 0.043095, 0, 0.01495, 0.007054, 0.627894, 0.000883, 0.000584, 9.3e-05, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.000149, 4e-05, 7e-06, 0.002157, 0, 0.000186, 0.010819, 0.000319, 0.000202, 0, 0.002047, 7e-06, 0.763374, 0.003115, 0.023122, 0.535343, 7.573229, 0.000345, 0, 4.3e-05, 0.031028, 2.3e-05, 6.146808, 1.338602], dtype=object)
- s2:processing_baseline(time)<U5'03.01' '03.01' ... '05.09' '05.09'
array(['03.01', '03.01', '03.01', '03.01', '03.01', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '04.00', '05.09', '05.09', '05.09', '05.09', '05.09'], dtype='<U5')
- s2:product_uri(time)<U65'S2B_MSIL2A_20220103T101319_N030...
array(['S2B_MSIL2A_20220103T101319_N0301_R022_T32TPR_20220103T130628.SAFE', 'S2A_MSIL2A_20220108T101411_N0301_R022_T32TPR_20220108T115544.SAFE', 'S2B_MSIL2A_20220113T101259_N0301_R022_T32TPR_20220113T121114.SAFE', 'S2A_MSIL2A_20220118T101341_N0301_R022_T32TPR_20220118T120449.SAFE', 'S2B_MSIL2A_20220123T101219_N0301_R022_T32TPR_20220123T114618.SAFE', 'S2A_MSIL2A_20220128T101301_N0400_R022_T32TPR_20220128T133019.SAFE', 'S2B_MSIL2A_20220202T101129_N0400_R022_T32TPR_20220202T142321.SAFE', 'S2A_MSIL2A_20220207T101201_N0400_R022_T32TPR_20220207T132723.SAFE', 'S2B_MSIL2A_20220212T101029_N0400_R022_T32TPR_20220212T115523.SAFE', 'S2A_MSIL2A_20220217T101101_N0400_R022_T32TPR_20220217T133343.SAFE', 'S2B_MSIL2A_20220222T101019_N0400_R022_T32TPR_20220222T134120.SAFE', 'S2A_MSIL2A_20220227T100951_N0400_R022_T32TPR_20220227T125650.SAFE', 'S2B_MSIL2A_20220304T101019_N0400_R022_T32TPR_20220304T142623.SAFE', 'S2A_MSIL2A_20220309T100841_N0400_R022_T32TPR_20220309T134626.SAFE', 'S2B_MSIL2A_20220314T101019_N0400_R022_T32TPR_20220314T133544.SAFE', 'S2A_MSIL2A_20220319T100731_N0400_R022_T32TPR_20220319T131812.SAFE', 'S2B_MSIL2A_20220324T100649_N0400_R022_T32TPR_20220324T140425.SAFE', 'S2A_MSIL2A_20220329T100611_N0400_R022_T32TPR_20220329T125835.SAFE', 'S2B_MSIL2A_20220403T100549_N0400_R022_T32TPR_20220403T133926.SAFE', 'S2A_MSIL2A_20220408T100601_N0400_R022_T32TPR_20220408T131049.SAFE', ... 'S2B_MSIL2A_20220930T100729_N0400_R022_T32TPR_20220930T130034.SAFE', 'S2A_MSIL2A_20221005T100901_N0400_R022_T32TPR_20221005T162352.SAFE', 'S2B_MSIL2A_20221010T100839_N0400_R022_T32TPR_20221010T125808.SAFE', 'S2A_MSIL2A_20221015T101031_N0400_R022_T32TPR_20221015T162657.SAFE', 'S2B_MSIL2A_20221020T100939_N0400_R022_T32TPR_20221020T124921.SAFE', 'S2A_MSIL2A_20221025T101111_N0400_R022_T32TPR_20221025T142200.SAFE', 'S2B_MSIL2A_20221030T101039_N0400_R022_T32TPR_20221030T111946.SAFE', 'S2A_MSIL2A_20221104T101211_N0400_R022_T32TPR_20221104T142011.SAFE', 'S2B_MSIL2A_20221109T101139_N0400_R022_T32TPR_20221109T112454.SAFE', 'S2A_MSIL2A_20221114T101301_N0400_R022_T32TPR_20221114T142802.SAFE', 'S2B_MSIL2A_20221119T101229_N0400_R022_T32TPR_20221119T112211.SAFE', 'S2A_MSIL2A_20221124T101341_N0400_R022_T32TPR_20221124T151854.SAFE', 'S2B_MSIL2A_20221129T101259_N0400_R022_T32TPR_20221129T130450.SAFE', 'S2A_MSIL2A_20221204T101411_N0400_R022_T32TPR_20221204T144800.SAFE', 'S2B_MSIL2A_20221209T101319_N0509_R022_T32TPR_20221209T113116.SAFE', 'S2A_MSIL2A_20221214T101431_N0509_R022_T32TPR_20221214T142756.SAFE', 'S2B_MSIL2A_20221219T101339_N0509_R022_T32TPR_20221219T113014.SAFE', 'S2A_MSIL2A_20221224T101431_N0509_R022_T32TPR_20221224T141652.SAFE', 'S2B_MSIL2A_20221229T101329_N0509_R022_T32TPR_20221229T113808.SAFE'], dtype='<U65')
- eo:cloud_cover(time)float6498.85 9.731 1.392 ... 60.4 87.09
array([98.851419, 9.730743, 1.392301, 0.595292, 19.925775, 22.837067, 21.475276, 17.296286, 4.927665, 56.016552, 0.693388, 1.740165, 14.444433, 0.26134 , 55.344903, 16.269024, 1.34762 , 71.439356, 66.130173, 22.761992, 56.178433, 4.513237, 88.134837, 20.13776 , 68.79552 , 98.937368, 37.464058, 53.640425, 66.221929, 71.420401, 47.859609, 60.645813, 25.963837, 81.791967, 97.153246, 11.567697, 5.046842, 37.918308, 35.795867, 11.63301 , 1.450748, 82.3542 , 4.219996, 20.564789, 49.473104, 5.887861, 17.77786 , 28.183821, 60.67102 , 26.49219 , 10.220833, 9.359299, 6.095985, 95.514846, 99.976683, 55.324435, 63.60653 , 71.380705, 89.214182, 33.061391, 26.036757, 34.567314, 94.216955, 83.792078, 86.618507, 0.481912, 99.982899, 99.978352, 98.615199, 96.52828 , 98.267066, 60.396761, 87.089312])
- s2:mgrs_tile(time)objectNone '32TPR' None ... None None
array([None, '32TPR', None, None, None, None, None, None, None, None, None, None, '32TPR', None, None, '32TPR', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, '32TPR', None, None, None, None, None, None, None, None, None, '32TPR', None, None, None, None, '32TPR', None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], dtype=object)
- gsd()int6410
array(10)
- proj:shape()object{10980}
array({10980}, dtype=object)
- title(band)<U20'Red (band 4) - 10m' ... 'Blue (...
array(['Red (band 4) - 10m', 'Green (band 3) - 10m', 'Blue (band 2) - 10m'], dtype='<U20')
- proj:transform()object{0, 5100000, 600000, 10, -10}
array({0, 5100000, 600000, 10, -10}, dtype=object)
- 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])
- epsg()int6432632
array(32632)
- timePandasIndex
PandasIndex(DatetimeIndex(['2022-01-03 10:18:09.773000', '2022-01-08 10:18:15.203000', '2022-01-13 10:18:09.600000', '2022-01-18 10:18:14.071000', '2022-01-23 10:18:08.388000', '2022-01-28 10:18:13.892000', '2022-02-02 10:18:08.055000', '2022-02-07 10:18:13.188000', '2022-02-12 10:18:07.880000', '2022-02-17 10:18:14.781000', '2022-02-22 10:18:08.666000', '2022-02-27 10:18:16.862000', '2022-03-04 10:18:10.968000', '2022-03-09 10:18:17.835000', '2022-03-14 10:18:11.920000', '2022-03-19 10:18:17.348000', '2022-03-24 10:18:11.394000', '2022-03-29 10:18:16.251000', '2022-04-03 10:18:10.493000', '2022-04-08 10:18:14.682000', '2022-04-13 10:18:10.236000', '2022-04-18 10:18:17.731000', '2022-04-23 10:18:08.187000', '2022-04-28 10:18:18.950000', '2022-05-03 10:18:08.570000', '2022-05-08 10:18:17.994000', '2022-05-13 10:18:12.123000', '2022-05-18 10:18:19.389000', '2022-05-23 10:18:13.901000', '2022-05-28 10:18:21.382000', '2022-06-02 10:18:13.387000', '2022-06-07 10:18:21.996000', '2022-06-12 10:18:16.647000', '2022-06-17 10:18:25.049000', '2022-06-22 10:18:18.506000', '2022-06-27 10:18:26.533000', '2022-07-02 10:18:18.961000', '2022-07-07 10:18:26.850000', '2022-07-12 10:18:18.251000', '2022-07-17 10:18:25.933000', '2022-07-22 10:18:18.814000', '2022-07-27 10:18:23.464000', '2022-08-01 10:18:18.567000', '2022-08-06 10:18:25.040000', '2022-08-11 10:18:17.373000', '2022-08-16 10:18:26.312000', '2022-08-21 10:18:14.981000', '2022-08-26 10:18:26.389000', '2022-08-31 10:18:14.716000', '2022-09-05 10:18:25.508000', '2022-09-10 10:18:15.744000', '2022-09-15 10:18:23.280000', '2022-09-20 10:18:15.210000', '2022-09-25 10:18:20.922000', '2022-09-30 10:18:13.211000', '2022-10-05 10:18:20.688000', '2022-10-10 10:18:12.053000', '2022-10-15 10:18:17.812000', '2022-10-20 10:18:13.213000', '2022-10-25 10:18:16.577000', '2022-10-30 10:18:12.379000', '2022-11-04 10:18:17.918000', '2022-11-09 10:18:12.834000', '2022-11-14 10:18:16.523000', '2022-11-19 10:18:13.534000', '2022-11-24 10:18:13.010000', '2022-11-29 10:18:12.483000', '2022-12-04 10:18:14.232000', '2022-12-09 10:18:10.119000', '2022-12-14 10:18:13.660000', '2022-12-19 10:18:12.631000', '2022-12-24 10:18:11.728000', '2022-12-29 10:18:12.869000'], dtype='datetime64[ns]', name='time', freq=None))
- bandPandasIndex
PandasIndex(Index(['red', 'green', 'blue'], dtype='object', name='band'))
- xPandasIndex
PandasIndex(Index([687430.0, 687440.0, 687450.0, 687460.0, 687470.0, 687480.0, 687490.0, 687500.0, 687510.0, 687520.0, ... 688970.0, 688980.0, 688990.0, 689000.0, 689010.0, 689020.0, 689030.0, 689040.0, 689050.0, 689060.0], dtype='float64', name='x', length=164))
- yPandasIndex
PandasIndex(Index([5043570.0, 5043560.0, 5043550.0, 5043540.0, 5043530.0, 5043520.0, 5043510.0, 5043500.0, 5043490.0, 5043480.0, ... 5041390.0, 5041380.0, 5041370.0, 5041360.0, 5041350.0, 5041340.0, 5041330.0, 5041320.0, 5041310.0, 5041300.0], dtype='float64', name='y', length=228))
- spec :
- RasterSpec(epsg=32632, bounds=(687430.0, 5041290.0, 689070.0, 5043570.0), resolutions_xy=(10.0, 10.0))
- crs :
- epsg:32632
- transform :
- | 10.00, 0.00, 687430.00| | 0.00,-10.00, 5043570.00| | 0.00, 0.00, 1.00|
- resolution :
- 10.0
We might be interested in aggregating our data over periods like week, month, year etc., defining what operation to use to combine the data available in the chosen period.
Using resample
with a sampling frequency (e.g. ‘1MS’ ) to specify how to resample the data, we can achieve this easily:
s2_monthly_min = s2_cube.resample(time="1MS"). min(dim="time")
Check what happens to the datacube inspecting the resulting xArray object. Now the time
dimension has 12 labels, one for each month.
s2_monthly_min
<xarray.DataArray 'stackstac-ff1f9c70d01b039d57a5e43d35c43d18' (time: 12, band: 3, y: 228, x: 164)> dask.array<transpose, shape=(12, 3, 228, 164), dtype=float64, chunksize=(1, 1, 228, 164), chunktype=numpy.ndarray> Coordinates: (12/24) * band (band) <U5 'red' 'green' 'blue' * x (x) float64 6.874e+05 ... 6.891e+05 * y (y) float64 5.044e+06 ... 5.041e+06 grid:code <U10 'MGRS-32TPR' mgrs:grid_square <U2 'PR' constellation <U10 'sentinel-2' ... ... proj:transform object {0, 5100000, 600000, 10, ... common_name (band) <U5 'red' 'green' 'blue' center_wavelength (band) float64 0.665 0.56 0.49 full_width_half_max (band) float64 0.038 0.045 0.098 epsg int64 32632 * time (time) datetime64[ns] 2022-01-01... Attributes: spec: RasterSpec(epsg=32632, bounds=(687430.0, 5041290.0, 689070.0... crs: epsg:32632 transform: | 10.00, 0.00, 687430.00|\n| 0.00,-10.00, 5043570.00|\n| 0.0... resolution: 10.0
xarray.DataArray
'stackstac-ff1f9c70d01b039d57a5e43d35c43d18'
- time: 12
- band: 3
- y: 228
- x: 164
- dask.array<chunksize=(1, 1, 228, 164), meta=np.ndarray>
Array Chunk Bytes 10.27 MiB 292.12 kiB Shape (12, 3, 228, 164) (1, 1, 228, 164) Dask graph 36 chunks in 57 graph layers Data type float64 numpy.ndarray - band(band)<U5'red' 'green' 'blue'
array(['red', 'green', 'blue'], dtype='<U5')
- x(x)float646.874e+05 6.874e+05 ... 6.891e+05
array([687430., 687440., 687450., 687460., 687470., 687480., 687490., 687500., 687510., 687520., 687530., 687540., 687550., 687560., 687570., 687580., 687590., 687600., 687610., 687620., 687630., 687640., 687650., 687660., 687670., 687680., 687690., 687700., 687710., 687720., 687730., 687740., 687750., 687760., 687770., 687780., 687790., 687800., 687810., 687820., 687830., 687840., 687850., 687860., 687870., 687880., 687890., 687900., 687910., 687920., 687930., 687940., 687950., 687960., 687970., 687980., 687990., 688000., 688010., 688020., 688030., 688040., 688050., 688060., 688070., 688080., 688090., 688100., 688110., 688120., 688130., 688140., 688150., 688160., 688170., 688180., 688190., 688200., 688210., 688220., 688230., 688240., 688250., 688260., 688270., 688280., 688290., 688300., 688310., 688320., 688330., 688340., 688350., 688360., 688370., 688380., 688390., 688400., 688410., 688420., 688430., 688440., 688450., 688460., 688470., 688480., 688490., 688500., 688510., 688520., 688530., 688540., 688550., 688560., 688570., 688580., 688590., 688600., 688610., 688620., 688630., 688640., 688650., 688660., 688670., 688680., 688690., 688700., 688710., 688720., 688730., 688740., 688750., 688760., 688770., 688780., 688790., 688800., 688810., 688820., 688830., 688840., 688850., 688860., 688870., 688880., 688890., 688900., 688910., 688920., 688930., 688940., 688950., 688960., 688970., 688980., 688990., 689000., 689010., 689020., 689030., 689040., 689050., 689060.])
- y(y)float645.044e+06 5.044e+06 ... 5.041e+06
array([5043570., 5043560., 5043550., ..., 5041320., 5041310., 5041300.])
- grid:code()<U10'MGRS-32TPR'
array('MGRS-32TPR', dtype='<U10')
- mgrs:grid_square()<U2'PR'
array('PR', dtype='<U2')
- constellation()<U10'sentinel-2'
array('sentinel-2', dtype='<U10')
- instruments()<U3'msi'
array('msi', dtype='<U3')
- s2:sequence()<U1'0'
array('0', dtype='<U1')
- s2:datatake_type()<U8'INS-NOBS'
array('INS-NOBS', dtype='<U8')
- s2:saturated_defective_pixel_percentage()int640
array(0)
- mgrs:utm_zone()int6432
array(32)
- processing:software()object{'sentinel2-to-stac': '0.1.0'}
array({'sentinel2-to-stac': '0.1.0'}, dtype=object)
- mgrs:latitude_band()<U1'T'
array('T', dtype='<U1')
- s2:product_type()<U7'S2MSI2A'
array('S2MSI2A', dtype='<U7')
- proj:epsg()int6432632
array(32632)
- gsd()int6410
array(10)
- proj:shape()object{10980}
array({10980}, dtype=object)
- title(band)<U20'Red (band 4) - 10m' ... 'Blue (...
array(['Red (band 4) - 10m', 'Green (band 3) - 10m', 'Blue (band 2) - 10m'], dtype='<U20')
- proj:transform()object{0, 5100000, 600000, 10, -10}
array({0, 5100000, 600000, 10, -10}, dtype=object)
- 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])
- epsg()int6432632
array(32632)
- time(time)datetime64[ns]2022-01-01 ... 2022-12-01
array(['2022-01-01T00:00:00.000000000', '2022-02-01T00:00:00.000000000', '2022-03-01T00:00:00.000000000', '2022-04-01T00:00:00.000000000', '2022-05-01T00:00:00.000000000', '2022-06-01T00:00:00.000000000', '2022-07-01T00:00:00.000000000', '2022-08-01T00:00:00.000000000', '2022-09-01T00:00:00.000000000', '2022-10-01T00:00:00.000000000', '2022-11-01T00:00:00.000000000', '2022-12-01T00:00:00.000000000'], dtype='datetime64[ns]')
- bandPandasIndex
PandasIndex(Index(['red', 'green', 'blue'], dtype='object', name='band'))
- xPandasIndex
PandasIndex(Index([687430.0, 687440.0, 687450.0, 687460.0, 687470.0, 687480.0, 687490.0, 687500.0, 687510.0, 687520.0, ... 688970.0, 688980.0, 688990.0, 689000.0, 689010.0, 689020.0, 689030.0, 689040.0, 689050.0, 689060.0], dtype='float64', name='x', length=164))
- yPandasIndex
PandasIndex(Index([5043570.0, 5043560.0, 5043550.0, 5043540.0, 5043530.0, 5043520.0, 5043510.0, 5043500.0, 5043490.0, 5043480.0, ... 5041390.0, 5041380.0, 5041370.0, 5041360.0, 5041350.0, 5041340.0, 5041330.0, 5041320.0, 5041310.0, 5041300.0], dtype='float64', name='y', length=228))
- timePandasIndex
PandasIndex(DatetimeIndex(['2022-01-01', '2022-02-01', '2022-03-01', '2022-04-01', '2022-05-01', '2022-06-01', '2022-07-01', '2022-08-01', '2022-09-01', '2022-10-01', '2022-11-01', '2022-12-01'], dtype='datetime64[ns]', name='time', freq='MS'))
- spec :
- RasterSpec(epsg=32632, bounds=(687430.0, 5041290.0, 689070.0, 5043570.0), resolutions_xy=(10.0, 10.0))
- crs :
- epsg:32632
- transform :
- | 10.00, 0.00, 687430.00| | 0.00,-10.00, 5043570.00| | 0.00, 0.00, 1.00|
- resolution :
- 10.0