{
"cells": [
{
"cell_type": "markdown",
"id": "91f57380-43bd-4093-aa69-9146532d0ac7",
"metadata": {},
"source": [
"STAC objects -> data containers\n",
"\n",
"Hi all,\n",
"\n",
"I'm tenataively making a pitch to add convenience methods for converting pystac objects (Asset, Item, ItemCollection, ...) to commonly used data containers (`xarray.Dataset`, `geopandas.GeoDataFrame`, `pandas.DataFrame`, etc.).\n",
"\n",
"I'm opening this in `pystac` since **this is primarily for convenience, so that users can method-chain their way from STAC Catalog to data container**, and `pystac` owns the namespaces I care about. You can already do everything I'm showing today without any changes to `pystac` but it *feels less nice*. I really think that `pd.read_csv` is part of why Python is where it is today for data analytics; I want using STAC from Python to be as easy to use as `pd.read_csv`.\n",
"Secondarily, it *can* elevate the best-practice way to go from STAC to data containers, by providing a top-level method similar to `to_dict()`.\n",
"\n",
"As a couple hypothetical examples, to give an idea:\n",
"\n",
"```python\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"sentinel-2-l2a\")\n",
" .get_item(\"S2B_MSIL2A_20220612T182919_R027_T24XWR_20220613T123251\")\n",
" .assets[\"B03\"]\n",
" .to_xarray()\n",
")\n",
"ds\n",
"```\n",
"\n",
"Or building a datacube from a pystac-client search (which subclasses pystac).\n",
"\n",
"```python\n",
"ds = (\n",
" catalog\n",
" .search(collections=\"sentinel-2-l2a\", bbox=bbox)\n",
" .get_all_items() # ItemCollection\n",
" .to_xarray()\n",
")\n",
"ds\n",
"```\n",
"\n",
"## Implementation details\n",
"\n",
"This would be optional. `pystac` would not add required dependencies on `pandas`, `xarray`, etc. It would merely provide the methods `Item.to_xarray`, `Asset.to_xarray`, ... Internally those methods would try to import the implementation and raise an `ImportError` if the optional dependencies aren't met at runtime.\n",
"\n",
"Speaking of the implementations, there's a few things to figure out. Some relatively complicated conversions (like ItemCollection -> xarray) are implemented multiple times (https://stackstac.readthedocs.io/, https://odc-stac.readthedocs.io/en/latest/examples.html). `pystac` certainly wouldn't want to re-implement that conversion and would dispatch to one or either of those libraries (perhaps letting users decide with an `engine` argument).\n",
"\n",
"Others conversions, like Asset -> Zarr, are so straightforward they haven't really been codified in a library yet (though I have a prototype at https://github.com/TomAugspurger/staccontainers/blob/086c2a7d46520ca5213d70716726b28ba6f36ba5/staccontainers/_xarray.py#L61-L63).\n",
"*Maybe* those could live in pystac; I'd be happy to maintain them.\n",
"\n",
"## Problems\n",
"\n",
"A non-exhaustive list of reasons not to do this:\n",
"\n",
"- It's not strictly necessary: You *can* do all this today, with some effort.\n",
"- It's a can of worms: Why `to_xarray` and not `to_numpy()`, `to_PIL`, ...? Why `to_pandas()` and not `to_spark()`, `to_modin`, ...?\n",
"\n",
"## Alternatives\n",
"\n",
"Alternatively, we could recommend using [intake](https://intake.readthedocs.io/), along with [intake-stac](https://intake-stac.readthedocs.io/en/latest/), which would wrap `pystac-client` and `pystac`. That would be the primary \"user-facing\" catalog people actually interface with. It already has a rich ecosystem of drivers that convert from files to data containers. I've hit some issues with trying to use intake-stac, but those could presumably be fixed with some effort.\n",
"\n",
"## Examples\n",
"\n",
"A whole bunch of examples, to give some ideas of the various conversions. You'll notice a pattern.\n",
"\n",
"### catalog -> collection -> item -> asset -> xarray (raster)\n",
"\n",
"\n",
"```python\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"sentinel-2-l2a\")\n",
" .get_item(\"S2B_MSIL2A_20220612T182919_R027_T24XWR_20220613T123251\")\n",
" .assets[\"B03\"]\n",
" .to_xarray()\n",
")\n",
"```\n",
"\n",
"### catalog -> collection -> item -> asset -> xarray (zarr)\n",
"\n",
"```python\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"cil-gdpcir-cc0\")\n",
" .get_item(\"cil-gdpcir-INM-INM-CM5-0-ssp585-r1i1p1f1-day\")\n",
" .assets[\"pr\"]\n",
" .to_xarray()\n",
")\n",
"```\n",
"\n",
"### catlaog -> collection -> item -> asset -> xarray (references)\n",
"\n",
"```python\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"deltares-floods\")\n",
" .get_item(\"NASADEM-90m-2050-0010\")\n",
" .assets[\"index\"]\n",
" .to_xarray()\n",
")\n",
"```\n",
"### catalog -> collection -> item -> asset -> geodataframe\n",
"\n",
"```python\n",
"df = (\n",
" catalog\n",
" .get_collection(\"us-census\")\n",
" .get_item(\"2020-cb_2020_us_tbg_500k\")\n",
" .assets[\"data\"]\n",
" .to_geopandas()\n",
")\n",
"df.head()\n",
"```"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "5f21f977-919d-4d0b-b7da-affa392a0b00",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Found existing installation: pystac-client 0.4.0\n",
"Uninstalling pystac-client-0.4.0:\n",
" Successfully uninstalled pystac-client-0.4.0\n",
"Found existing installation: staccontainers 0.1.0\n",
"Uninstalling staccontainers-0.1.0:\n",
" Successfully uninstalled staccontainers-0.1.0\n",
"Found existing installation: planetary-computer 0.4.7\n",
"Uninstalling planetary-computer-0.4.7:\n",
" Successfully uninstalled planetary-computer-0.4.7\n"
]
}
],
"source": [
"!pip uninstall -y pystac-client staccontainers planetary-computer\n",
"!pip install -q git+https://github.com/TomAugspurger/pystac-client@feature/sign\n",
"!pip install -q git+https://github.com/microsoft/planetary-computer-sdk-for-python\n",
"!pip install -q git+https://github.com/TomAugspurger/staccontainers"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "9529365d-123f-4bfe-9e61-08fdf2baab11",
"metadata": {},
"outputs": [],
"source": [
"import pystac_client\n",
"import planetary_computer\n",
"\n",
"from staccontainers import *\n",
"\n",
"bbox = [9.4, 0, 9.5, 1]\n",
"catalog = pystac_client.Client.open(\n",
" \"https://planetarycomputer.microsoft.com/api/stac/v1\",\n",
" sign_function=planetary_computer.sign\n",
")"
]
},
{
"cell_type": "markdown",
"id": "3f9fb595-b818-4c5f-b284-72d28971b7e6",
"metadata": {},
"source": [
"## Asset -> xarray (raster)"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "06eb61a4-b851-4cdf-b72a-e8d95d01e941",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"
\n",
"\n",
"\n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"
<xarray.Dataset>\n",
"Dimensions: (band: 1, x: 10980, y: 10980)\n",
"Coordinates:\n",
" * band (band) int64 1\n",
" * x (x) float64 5e+05 5e+05 5e+05 ... 6.098e+05 6.098e+05 6.098e+05\n",
" * y (y) float64 9.1e+06 9.1e+06 9.1e+06 ... 8.99e+06 8.99e+06\n",
" spatial_ref int64 0\n",
"Data variables:\n",
" band_data (band, y, x) float32 ... "
],
"text/plain": [
"\n",
"Dimensions: (band: 1, x: 10980, y: 10980)\n",
"Coordinates:\n",
" * band (band) int64 1\n",
" * x (x) float64 5e+05 5e+05 5e+05 ... 6.098e+05 6.098e+05 6.098e+05\n",
" * y (y) float64 9.1e+06 9.1e+06 9.1e+06 ... 8.99e+06 8.99e+06\n",
" spatial_ref int64 ...\n",
"Data variables:\n",
" band_data (band, y, x) float32 ..."
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# catalog -> item -> asset -> xarray (zarr)\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"sentinel-2-l2a\")\n",
" .get_item(\"S2B_MSIL2A_20220612T182919_R027_T24XWR_20220613T123251\")\n",
" .assets[\"B03\"]\n",
" .to_xarray()\n",
")\n",
"ds"
]
},
{
"cell_type": "markdown",
"id": "c6df3bda-bcaa-4b63-9dbf-683ff97b1af8",
"metadata": {},
"source": [
"## Asset -> xarray (zarr)"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "dfe64e9c-9d20-4a95-80b0-28d4020f1a1f",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"\n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"
<xarray.Dataset>\n",
"Dimensions: (lat: 720, lon: 1440, time: 31390)\n",
"Coordinates:\n",
" * lat (lat) float64 -89.88 -89.62 -89.38 -89.12 ... 89.38 89.62 89.88\n",
" * lon (lon) float64 -179.9 -179.6 -179.4 -179.1 ... 179.4 179.6 179.9\n",
" * time (time) object 2015-01-01 12:00:00 ... 2100-12-31 12:00:00\n",
"Data variables:\n",
" pr (time, lat, lon) float64 dask.array<chunksize=(365, 360, 360), meta=np.ndarray>\n",
"Attributes: (12/47)\n",
" Conventions: CF-1.7 CMIP-6.2\n",
" activity_id: ScenarioMIP\n",
" contact: climatesci@rhg.com\n",
" creation_date: 2019-07-23T13:02:14Z\n",
" data_specs_version: 01.00.29\n",
" dc6_bias_correction_method: Quantile Delta Method (QDM)\n",
" ... ...\n",
" sub_experiment_id: none\n",
" table_id: day\n",
" tracking_id: hdl:21.14100/ba34d30b-fca8-4737-887f-344ec5...\n",
" variable_id: pr\n",
" variant_label: r1i1p1f1\n",
" version_id: v20190724 Dimensions: lat : 720lon : 1440time : 31390
Coordinates: (3)
lat
(lat)
float64
-89.88 -89.62 ... 89.62 89.88
long_name : latitude units : degrees_north array([-89.875, -89.625, -89.375, ..., 89.375, 89.625, 89.875]) lon
(lon)
float64
-179.9 -179.6 ... 179.6 179.9
long_name : longitude units : degrees_east array([-179.875, -179.625, -179.375, ..., 179.375, 179.625, 179.875]) time
(time)
object
2015-01-01 12:00:00 ... 2100-12-...
axis : T bounds : time_bnds long_name : time standard_name : time array([cftime.DatetimeNoLeap(2015, 1, 1, 12, 0, 0, 0, has_year_zero=True),\n",
" cftime.DatetimeNoLeap(2015, 1, 2, 12, 0, 0, 0, has_year_zero=True),\n",
" cftime.DatetimeNoLeap(2015, 1, 3, 12, 0, 0, 0, has_year_zero=True), ...,\n",
" cftime.DatetimeNoLeap(2100, 12, 29, 12, 0, 0, 0, has_year_zero=True),\n",
" cftime.DatetimeNoLeap(2100, 12, 30, 12, 0, 0, 0, has_year_zero=True),\n",
" cftime.DatetimeNoLeap(2100, 12, 31, 12, 0, 0, 0, has_year_zero=True)],\n",
" dtype=object) Data variables: (1)
Attributes: (47)
Conventions : CF-1.7 CMIP-6.2 activity_id : ScenarioMIP contact : climatesci@rhg.com creation_date : 2019-07-23T13:02:14Z data_specs_version : 01.00.29 dc6_bias_correction_method : Quantile Delta Method (QDM) dc6_citation : Please refer to https://github.com/ClimateImpactLab/downscaleCMIP6/blob/master/README.rst for a dataset DOI and references. dc6_creation_date : 2022-02-04 dc6_data_version : v20211231 dc6_dataset_name : Rhodium Group/Climate Impact Lab Global Downscaled Projections for Climate Impacts Research (R/CIL GDPCIR) dc6_description : The prefix dc6 is the project-specific abbreviation for our R/CIL downscaling CMIP6 project dc6_downscaling_method : Quantile Preserving Localized Analogs Downscaling (QPLAD) dc6_grid : 0.25 deg x 0.25 deg regular global grid, domain file: https://github.com/ClimateImpactLab/downscaleCMIP6/blob/master/grids/domain.0p25x0p25.nc dc6_institution : Rhodium Group, New York, NY 10019 and Climate Impact Lab, https://impactlab.org/ dc6_institution_id : Rhodium Group / Climate Impact Lab dc6_methods_description_url : https://github.com/ClimateImpactLab/downscaleCMIP6/blob/master/README.rst dc6_nominal_resolution : 25 km dc6_version_id : v20220204071011 dc6_workflow_name : e2e-inm-cm5-0-pr-l9l7r dc6_workflow_uid : 248eb666-b3ba-4a6b-9283-df0e757838bf experiment : update of RCP8.5 based on SSP5 experiment_id : ssp585 forcing_index : 1 frequency : day further_info_url : https://furtherinfo.es-doc.org/CMIP6.INM.INM-CM5-0.ssp585.none.r1i1p1f1 grid : gs2x1.5 grid_label : gr1 initialization_index : 1 institution : Institute for Numerical Mathematics, Russian Academy of Science, Moscow 119991, Russia institution_id : INM license : https://github.com/ClimateImpactLab/downscaleCMIP6/tree/master/data_licenses/INM-CM5-0.txt mip_era : CMIP6 nominal_resolution : 100 km physics_index : 1 product : model-output realization_index : 1 realm : atmos source : INM-CM5-0 (2016): \n",
"aerosol: INM-AER1\n",
"atmos: INM-AM5-0 (2x1.5; 180 x 120 longitude/latitude; 73 levels; top level sigma = 0.0002)\n",
"atmosChem: none\n",
"land: INM-LND1\n",
"landIce: none\n",
"ocean: INM-OM5 (North Pole shifted to 60N, 90E. 0.5x0.25; 720 x 720 longitude/latitude; 40 levels; vertical sigma coordinate)\n",
"ocnBgchem: none\n",
"seaIce: INM-ICE1 source_id : INM-CM5-0 source_type : AOGCM AER sub_experiment : none sub_experiment_id : none table_id : day tracking_id : hdl:21.14100/ba34d30b-fca8-4737-887f-344ec571901c\n",
"hdl:21.14100/5894fdc2-5c6c-45e1-835e-fde701be830a variable_id : pr variant_label : r1i1p1f1 version_id : v20190724 "
],
"text/plain": [
"\n",
"Dimensions: (lat: 720, lon: 1440, time: 31390)\n",
"Coordinates:\n",
" * lat (lat) float64 -89.88 -89.62 -89.38 -89.12 ... 89.38 89.62 89.88\n",
" * lon (lon) float64 -179.9 -179.6 -179.4 -179.1 ... 179.4 179.6 179.9\n",
" * time (time) object 2015-01-01 12:00:00 ... 2100-12-31 12:00:00\n",
"Data variables:\n",
" pr (time, lat, lon) float64 dask.array\n",
"Attributes: (12/47)\n",
" Conventions: CF-1.7 CMIP-6.2\n",
" activity_id: ScenarioMIP\n",
" contact: climatesci@rhg.com\n",
" creation_date: 2019-07-23T13:02:14Z\n",
" data_specs_version: 01.00.29\n",
" dc6_bias_correction_method: Quantile Delta Method (QDM)\n",
" ... ...\n",
" sub_experiment_id: none\n",
" table_id: day\n",
" tracking_id: hdl:21.14100/ba34d30b-fca8-4737-887f-344ec5...\n",
" variable_id: pr\n",
" variant_label: r1i1p1f1\n",
" version_id: v20190724"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# catalog -> item -> asset -> xarray (zarr)\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"cil-gdpcir-cc0\")\n",
" .get_item(\"cil-gdpcir-INM-INM-CM5-0-ssp585-r1i1p1f1-day\")\n",
" .assets[\"pr\"]\n",
" .to_xarray()\n",
")\n",
"ds"
]
},
{
"cell_type": "markdown",
"id": "23c555d9-284d-4705-af28-25f59bad2684",
"metadata": {},
"source": [
"## Asset -> xarray (references)"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "7fdaa08b-01b5-47dd-9911-10ef3bd93b7a",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"\n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"
<xarray.Dataset>\n",
"Dimensions: (time: 1, lat: 216000, lon: 432000)\n",
"Coordinates:\n",
" * lat (lat) float64 -90.0 -90.0 -90.0 -90.0 ... 90.0 90.0 90.0 90.0\n",
" * lon (lon) float64 -180.0 -180.0 -180.0 -180.0 ... 180.0 180.0 180.0\n",
" * time (time) datetime64[ns] 2010-01-01\n",
"Data variables:\n",
" inun (time, lat, lon) float32 dask.array<chunksize=(1, 600, 600), meta=np.ndarray>\n",
" projection object ...\n",
"Attributes:\n",
" Conventions: CF-1.6\n",
" config_file: /mnt/globalRuns/watermask_post_NASA90m_rest/run_rp0010_slr2...\n",
" institution: Deltares\n",
" project: Microsoft Planetary Computer - Global Flood Maps\n",
" references: https://www.deltares.nl/en/\n",
" source: Global Tide and Surge Model v3.0 - ERA5\n",
" title: GFM - NASA DEM 90m - 2050 slr - 0010-year return level "
],
"text/plain": [
"\n",
"Dimensions: (time: 1, lat: 216000, lon: 432000)\n",
"Coordinates:\n",
" * lat (lat) float64 -90.0 -90.0 -90.0 -90.0 ... 90.0 90.0 90.0 90.0\n",
" * lon (lon) float64 -180.0 -180.0 -180.0 -180.0 ... 180.0 180.0 180.0\n",
" * time (time) datetime64[ns] 2010-01-01\n",
"Data variables:\n",
" inun (time, lat, lon) float32 dask.array\n",
" projection object ...\n",
"Attributes:\n",
" Conventions: CF-1.6\n",
" config_file: /mnt/globalRuns/watermask_post_NASA90m_rest/run_rp0010_slr2...\n",
" institution: Deltares\n",
" project: Microsoft Planetary Computer - Global Flood Maps\n",
" references: https://www.deltares.nl/en/\n",
" source: Global Tide and Surge Model v3.0 - ERA5\n",
" title: GFM - NASA DEM 90m - 2050 slr - 0010-year return level"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# catlaog -> item -> asset -> xarray (references)\n",
"ds = (\n",
" catalog\n",
" .get_collection(\"deltares-floods\")\n",
" .get_item(\"NASADEM-90m-2050-0010\")\n",
" .assets[\"index\"]\n",
" .to_xarray()\n",
")\n",
"ds"
]
},
{
"cell_type": "markdown",
"id": "70478a65-1bf7-49a4-8574-8cdf5c807cb9",
"metadata": {},
"source": [
"## Asset -> geopandas"
]
},
{
"cell_type": "code",
"execution_count": 5,
"id": "a7855a40-c770-463e-9470-63ad6e3f12af",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" \n",
" AIANNHCE \n",
" TTRACTCE \n",
" TBLKGPCE \n",
" AFFGEOID \n",
" GEOID \n",
" NAMELSAD \n",
" LSAD \n",
" ALAND \n",
" AWATER \n",
" geometry \n",
" \n",
" \n",
" \n",
" \n",
" 0 \n",
" 2430 \n",
" T03700 \n",
" C \n",
" 2580000US2430T03700C \n",
" 2430T03700C \n",
" Tribal Block Group C \n",
" IB \n",
" 3945195 \n",
" 0 \n",
" POLYGON ((-111.26008 36.10715, -111.25910 36.1... \n",
" \n",
" \n",
" 1 \n",
" 20 \n",
" T00400 \n",
" B \n",
" 2580000US0020T00400B \n",
" 0020T00400B \n",
" Tribal Block Group B \n",
" IB \n",
" 1200584 \n",
" 100165 \n",
" POLYGON ((-116.47052 33.78691, -116.46940 33.7... \n",
" \n",
" \n",
" 2 \n",
" 1150 \n",
" T00100 \n",
" C \n",
" 2580000US1150T00100C \n",
" 1150T00100C \n",
" Tribal Block Group C \n",
" IB \n",
" 654354613 \n",
" 2911122 \n",
" MULTIPOLYGON (((-108.90981 47.91399, -108.8883... \n",
" \n",
" \n",
" 3 \n",
" 2555 \n",
" T01000 \n",
" A \n",
" 2580000US2555T01000A \n",
" 2555T01000A \n",
" Tribal Block Group A \n",
" IB \n",
" 39634390 \n",
" 4216784 \n",
" POLYGON ((-75.91155 43.00678, -75.90228 43.006... \n",
" \n",
" \n",
" 4 \n",
" 275 \n",
" T00100 \n",
" A \n",
" 2580000US0275T00100A \n",
" 0275T00100A \n",
" Tribal Block Group A \n",
" IB \n",
" 482651 \n",
" 0 \n",
" POLYGON ((-122.88954 39.02367, -122.88639 39.0... \n",
" \n",
" \n",
"
\n",
"
"
],
"text/plain": [
" AIANNHCE TTRACTCE TBLKGPCE AFFGEOID GEOID \\\n",
"0 2430 T03700 C 2580000US2430T03700C 2430T03700C \n",
"1 20 T00400 B 2580000US0020T00400B 0020T00400B \n",
"2 1150 T00100 C 2580000US1150T00100C 1150T00100C \n",
"3 2555 T01000 A 2580000US2555T01000A 2555T01000A \n",
"4 275 T00100 A 2580000US0275T00100A 0275T00100A \n",
"\n",
" NAMELSAD LSAD ALAND AWATER \\\n",
"0 Tribal Block Group C IB 3945195 0 \n",
"1 Tribal Block Group B IB 1200584 100165 \n",
"2 Tribal Block Group C IB 654354613 2911122 \n",
"3 Tribal Block Group A IB 39634390 4216784 \n",
"4 Tribal Block Group A IB 482651 0 \n",
"\n",
" geometry \n",
"0 POLYGON ((-111.26008 36.10715, -111.25910 36.1... \n",
"1 POLYGON ((-116.47052 33.78691, -116.46940 33.7... \n",
"2 MULTIPOLYGON (((-108.90981 47.91399, -108.8883... \n",
"3 POLYGON ((-75.91155 43.00678, -75.90228 43.006... \n",
"4 POLYGON ((-122.88954 39.02367, -122.88639 39.0... "
]
},
"execution_count": 5,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df = (\n",
" catalog\n",
" .get_collection(\"us-census\")\n",
" .get_item(\"2020-cb_2020_us_tbg_500k\")\n",
" .assets[\"data\"]\n",
" .to_geopandas()\n",
")\n",
"df.head()"
]
},
{
"cell_type": "markdown",
"id": "bac888ba-1889-4d36-9a33-254b51f9286f",
"metadata": {},
"source": [
"## Asset -> dask_geopandas"
]
},
{
"cell_type": "code",
"execution_count": 6,
"id": "d8016766-19b4-40b6-acb8-4da75aaea0b9",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"Dask-GeoPandas GeoDataFrame Structure:
\n",
"\n",
"\n",
"
\n",
" \n",
" \n",
" \n",
" geometry \n",
" RegionName \n",
" \n",
" \n",
" npartitions=13 \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" geometry \n",
" category[known] \n",
" \n",
" \n",
" \n",
" ... \n",
" ... \n",
" \n",
" \n",
" ... \n",
" ... \n",
" ... \n",
" \n",
" \n",
" \n",
" ... \n",
" ... \n",
" \n",
" \n",
" \n",
" ... \n",
" ... \n",
" \n",
" \n",
"
\n",
"
\n",
"Dask Name: read-parquet, 13 tasks
"
],
"text/plain": [
"Dask GeoDataFrame Structure:\n",
" geometry RegionName\n",
"npartitions=13 \n",
" geometry category[known]\n",
" ... ...\n",
"... ... ...\n",
" ... ...\n",
" ... ...\n",
"Dask Name: read-parquet, 13 tasks"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ddf = (\n",
" catalog\n",
" .get_collection(\"ms-buildings\")\n",
" .get_item(\"Germany_2022-06-14\")\n",
" .assets[\"data\"]\n",
" .to_dask_geopandas()\n",
")\n",
"ddf"
]
},
{
"cell_type": "markdown",
"id": "8eaf9cd8-3085-4ad4-9b6a-8ec202043ffd",
"metadata": {},
"source": [
"## ItemCollection -> xarray"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "e726aad6-1e90-44a2-86b7-1ebb48db7f26",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"\n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"
<xarray.Dataset>\n",
"Dimensions: (time: 100, y: 30984, x: 10981,\n",
" band: 2)\n",
"Coordinates: (12/43)\n",
" * time (time) datetime64[ns] 2022-01-26...\n",
" id (time) <U54 'S2A_MSIL2A_20220126...\n",
" * x (x) float64 5e+05 ... 6.098e+05\n",
" * y (y) float64 1.02e+07 ... 9.89e+06\n",
" s2:unclassified_percentage (time) float64 4.19 4.19 ... 0.3259\n",
" s2:not_vegetated_percentage (time) float64 2.283 ... 0.321\n",
" ... ...\n",
" gsd float64 10.0\n",
" proj:shape object {10980}\n",
" common_name (band) <U5 'blue' 'green'\n",
" center_wavelength (band) float64 0.49 0.56\n",
" full_width_half_max (band) float64 0.098 0.045\n",
" epsg int64 32732\n",
"Dimensions without coordinates: band\n",
"Data variables:\n",
" B02 (time, y, x) float64 dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>\n",
" B03 (time, y, x) float64 dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>\n",
"Attributes:\n",
" spec: RasterSpec(epsg=32732, bounds=(499979.99999708973, 989020...\n",
" crs: epsg:32732\n",
" transform: | 10.00, 0.00, 499980.00|\\n| 0.00,-10.00, 10200040.00|\\n|...\n",
" resolution_xy: (9.999999999941792, 10.0) Dimensions: time : 100y : 30984x : 10981band : 2
Coordinates: (43)
time
(time)
datetime64[ns]
2022-01-26T09:32:51.024000 ... 2...
array(['2022-01-26T09:32:51.024000000', '2022-01-26T09:32:51.024000000',\n",
" '2022-01-31T09:31:19.024000000', '2022-01-31T09:31:19.024000000',\n",
" '2022-01-31T09:31:19.024000000', '2022-02-05T09:32:01.024000000',\n",
" '2022-02-05T09:32:01.024000000', '2022-02-05T09:32:01.024000000',\n",
" '2022-02-10T09:30:29.024000000', '2022-02-10T09:30:29.024000000',\n",
" '2022-02-10T09:30:29.024000000', '2022-02-15T09:31:01.024000000',\n",
" '2022-02-15T09:31:01.024000000', '2022-02-15T09:31:01.024000000',\n",
" '2022-02-20T09:30:29.024000000', '2022-02-20T09:30:29.024000000',\n",
" '2022-02-25T09:30:41.024000000', '2022-02-25T09:30:41.024000000',\n",
" '2022-02-25T09:30:41.024000000', '2022-03-02T09:30:29.024000000',\n",
" '2022-03-02T09:30:29.024000000', '2022-03-02T09:30:29.024000000',\n",
" '2022-03-07T09:30:41.024000000', '2022-03-07T09:30:41.024000000',\n",
" '2022-03-07T09:30:41.024000000', '2022-03-12T09:30:29.024000000',\n",
" '2022-03-12T09:30:29.024000000', '2022-03-12T09:30:29.024000000',\n",
" '2022-03-17T09:30:41.024000000', '2022-03-17T09:30:41.024000000',\n",
" '2022-03-17T09:30:41.024000000', '2022-03-22T09:30:29.024000000',\n",
" '2022-03-22T09:30:29.024000000', '2022-03-22T09:30:29.024000000',\n",
" '2022-03-27T09:30:41.024000000', '2022-03-27T09:30:41.024000000',\n",
" '2022-03-27T09:30:41.024000000', '2022-04-01T09:30:29.026000000',\n",
" '2022-04-01T09:30:29.026000000', '2022-04-01T09:30:29.026000000',\n",
" '2022-04-06T09:30:41.024000000', '2022-04-06T09:30:41.024000000',\n",
" '2022-04-06T09:30:41.024000000', '2022-04-11T09:30:29.024000000',\n",
" '2022-04-11T09:30:29.024000000', '2022-04-11T09:30:29.024000000',\n",
" '2022-04-16T09:30:41.024000000', '2022-04-16T09:30:41.024000000',\n",
" '2022-04-16T09:30:41.024000000', '2022-04-21T09:30:29.024000000',\n",
" '2022-04-21T09:30:29.024000000', '2022-04-21T09:30:29.024000000',\n",
" '2022-04-26T09:30:41.024000000', '2022-04-26T09:30:41.024000000',\n",
" '2022-04-26T09:30:41.024000000', '2022-05-01T09:30:29.024000000',\n",
" '2022-05-01T09:30:29.024000000', '2022-05-01T09:30:29.024000000',\n",
" '2022-05-06T09:30:41.024000000', '2022-05-06T09:30:41.024000000',\n",
" '2022-05-06T09:30:41.024000000', '2022-05-11T09:30:29.024000000',\n",
" '2022-05-11T09:30:29.024000000', '2022-05-11T09:30:29.024000000',\n",
" '2022-05-16T09:30:41.024000000', '2022-05-16T09:30:41.024000000',\n",
" '2022-05-16T09:30:41.024000000', '2022-05-21T09:30:39.024000000',\n",
" '2022-05-21T09:30:39.024000000', '2022-05-21T09:30:39.024000000',\n",
" '2022-05-26T09:30:41.024000000', '2022-05-26T09:30:41.024000000',\n",
" '2022-05-26T09:30:41.024000000', '2022-05-31T09:30:39.024000000',\n",
" '2022-05-31T09:30:39.024000000', '2022-05-31T09:30:39.024000000',\n",
" '2022-06-05T09:30:41.024000000', '2022-06-05T09:30:41.024000000',\n",
" '2022-06-05T09:30:41.024000000', '2022-06-10T09:30:39.024000000',\n",
" '2022-06-10T09:30:39.024000000', '2022-06-10T09:30:39.024000000',\n",
" '2022-06-15T09:30:51.024000000', '2022-06-15T09:30:51.024000000',\n",
" '2022-06-15T09:30:51.024000000', '2022-06-20T09:30:39.024000000',\n",
" '2022-06-20T09:30:39.024000000', '2022-06-20T09:30:39.024000000',\n",
" '2022-06-25T09:30:51.024000000', '2022-06-25T09:30:51.024000000',\n",
" '2022-06-25T09:30:51.024000000', '2022-06-30T09:30:39.025000000',\n",
" '2022-06-30T09:30:39.025000000', '2022-06-30T09:30:39.025000000',\n",
" '2022-07-05T09:30:51.025000000', '2022-07-05T09:30:51.025000000',\n",
" '2022-07-05T09:30:51.025000000', '2022-07-10T09:30:39.024000000',\n",
" '2022-07-10T09:30:39.024000000', '2022-07-10T09:30:39.024000000'],\n",
" dtype='datetime64[ns]') id
(time)
<U54
'S2A_MSIL2A_20220126T093251_R136...
array(['S2A_MSIL2A_20220126T093251_R136_T32NNG_20220227T203126',\n",
" 'S2A_MSIL2A_20220126T093251_R136_T32NNG_20220211T225246',\n",
" 'S2B_MSIL2A_20220131T093119_R136_T32NNG_20220216T162709',\n",
" 'S2B_MSIL2A_20220131T093119_R136_T32NNF_20220216T170020',\n",
" 'S2B_MSIL2A_20220131T093119_R136_T32MNE_20220216T174639',\n",
" 'S2A_MSIL2A_20220205T093201_R136_T32NNG_20220219T031238',\n",
" 'S2A_MSIL2A_20220205T093201_R136_T32NNF_20220219T032252',\n",
" 'S2A_MSIL2A_20220205T093201_R136_T32MNE_20220219T030508',\n",
" 'S2B_MSIL2A_20220210T093029_R136_T32NNG_20220221T085320',\n",
" 'S2B_MSIL2A_20220210T093029_R136_T32NNF_20220221T083054',\n",
" 'S2B_MSIL2A_20220210T093029_R136_T32MNE_20220221T091151',\n",
" 'S2A_MSIL2A_20220215T093101_R136_T32NNG_20220223T161845',\n",
" 'S2A_MSIL2A_20220215T093101_R136_T32NNF_20220223T163017',\n",
" 'S2A_MSIL2A_20220215T093101_R136_T32MNE_20220223T162726',\n",
" 'S2B_MSIL2A_20220220T093029_R136_T32NNG_20220225T231822',\n",
" 'S2B_MSIL2A_20220220T093029_R136_T32MNE_20220225T220652',\n",
" 'S2A_MSIL2A_20220225T093041_R136_T32NNG_20220301T220536',\n",
" 'S2A_MSIL2A_20220225T093041_R136_T32NNF_20220301T212050',\n",
" 'S2A_MSIL2A_20220225T093041_R136_T32MNE_20220301T212943',\n",
" 'S2B_MSIL2A_20220302T093029_R136_T32NNG_20220304T051349',\n",
"...\n",
" 'S2B_MSIL2A_20220610T093039_R136_T32MNE_20220611T043054',\n",
" 'S2A_MSIL2A_20220615T093051_R136_T32NNG_20220616T091051',\n",
" 'S2A_MSIL2A_20220615T093051_R136_T32NNF_20220616T091856',\n",
" 'S2A_MSIL2A_20220615T093051_R136_T32MNE_20220616T090836',\n",
" 'S2B_MSIL2A_20220620T093039_R136_T32NNG_20220621T141008',\n",
" 'S2B_MSIL2A_20220620T093039_R136_T32NNF_20220621T142153',\n",
" 'S2B_MSIL2A_20220620T093039_R136_T32MNE_20220621T135743',\n",
" 'S2A_MSIL2A_20220625T093051_R136_T32NNG_20220625T220050',\n",
" 'S2A_MSIL2A_20220625T093051_R136_T32NNF_20220625T235736',\n",
" 'S2A_MSIL2A_20220625T093051_R136_T32MNE_20220625T225249',\n",
" 'S2B_MSIL2A_20220630T093039_R136_T32NNG_20220701T010230',\n",
" 'S2B_MSIL2A_20220630T093039_R136_T32NNF_20220701T005051',\n",
" 'S2B_MSIL2A_20220630T093039_R136_T32MNE_20220630T213551',\n",
" 'S2A_MSIL2A_20220705T093051_R136_T32NNG_20220707T051735',\n",
" 'S2A_MSIL2A_20220705T093051_R136_T32NNF_20220707T053020',\n",
" 'S2A_MSIL2A_20220705T093051_R136_T32MNE_20220707T050855',\n",
" 'S2B_MSIL2A_20220710T093039_R136_T32NNG_20220712T095337',\n",
" 'S2B_MSIL2A_20220710T093039_R136_T32NNF_20220712T101012',\n",
" 'S2B_MSIL2A_20220710T093039_R136_T32MNE_20220712T111329'],\n",
" dtype='<U54') x
(x)
float64
5e+05 5e+05 ... 6.098e+05 6.098e+05
array([499979.999997, 499989.999997, 499999.999997, ..., 609759.999996,\n",
" 609769.999996, 609779.999996]) y
(y)
float64
1.02e+07 1.02e+07 ... 9.89e+06
array([10200040., 10200030., 10200020., ..., 9890230., 9890220., 9890210.]) s2:unclassified_percentage
(time)
float64
4.19 4.19 5.362 ... 2.739 0.3259
array([4.1903780e+00, 4.1903780e+00, 5.3621990e+00, 8.8483000e-02,\n",
" 8.8852690e+00, 1.0758800e-01, 9.1909020e+00, 8.1323720e+00,\n",
" 0.0000000e+00, 1.2475000e-02, 8.0230000e-03, 4.8916390e+00,\n",
" 8.6837340e+00, 4.0291570e+00, 3.1472000e-02, 1.0899100e-01,\n",
" 2.6544640e+00, 6.2394220e+00, 6.0719740e+00, 6.7767160e+00,\n",
" 8.2441760e+00, 1.4580967e+01, 3.1626000e-02, 4.9140000e-03,\n",
" 1.2030580e+00, 0.0000000e+00, 0.0000000e+00, 1.8910000e-03,\n",
" 3.9933910e+00, 1.4302180e+00, 4.1774680e+00, 0.0000000e+00,\n",
" 1.8278000e-02, 1.2780000e-02, 9.9777000e-02, 4.9842940e+00,\n",
" 6.8609490e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 1.6386080e+00, 3.2810000e-02, 2.0812340e+00, 1.4714350e+00,\n",
" 8.0520000e-03, 3.1291000e-02, 4.8476000e-01, 7.6522600e-01,\n",
" 1.1171340e+00, 1.1517940e+00, 1.0931820e+00, 1.6629870e+00,\n",
" 7.0700000e-04, 3.3500000e-04, 1.0920000e-03, 2.0961010e+00,\n",
" 1.0142570e+00, 1.7169820e+00, 4.0600400e-01, 1.2162040e+00,\n",
" 2.2330580e+00, 1.0109000e-02, 2.0504380e+00, 7.3036300e-01,\n",
" 9.7043500e-01, 1.4634860e+00, 2.6642280e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 7.5120000e-03, 0.0000000e+00,\n",
" 2.9530000e-03, 5.3099000e-02, 6.8580000e-03, 1.2674000e-02,\n",
" 0.0000000e+00, 3.1679400e-01, 7.8016360e+00, 1.8510000e-02,\n",
" 3.1326340e+00, 4.0637000e-02, 5.5482730e+00, 3.8557540e+00,\n",
" 8.6977510e+00, 4.3095000e-02, 0.0000000e+00, 4.7728010e+00,\n",
" 1.9471470e+00, 0.0000000e+00, 3.9784210e+00, 8.3554500e-01,\n",
" 2.8515200e-01, 3.2827700e-01, 5.0372060e+00, 2.7403760e+00,\n",
" 3.5679400e-01, 3.0524780e+00, 2.7389950e+00, 3.2585200e-01]) s2:not_vegetated_percentage
(time)
float64
2.283 2.283 2.519 ... 0.7237 0.321
array([2.282992e+00, 2.282992e+00, 2.518658e+00, 1.192600e-01,\n",
" 3.717891e+00, 2.742360e-01, 4.443004e+00, 3.566687e+00,\n",
" 0.000000e+00, 0.000000e+00, 0.000000e+00, 1.413496e+00,\n",
" 3.150295e+00, 3.568117e+00, 8.235900e-02, 2.268870e-01,\n",
" 2.298771e+00, 3.527377e+00, 2.950143e+00, 2.036981e+00,\n",
" 2.798829e+00, 3.884131e+00, 4.447200e-02, 1.031500e-02,\n",
" 6.187670e-01, 0.000000e+00, 0.000000e+00, 2.820000e-04,\n",
" 1.145753e+00, 5.868360e-01, 1.293884e+00, 0.000000e+00,\n",
" 1.300000e-05, 0.000000e+00, 5.841400e-02, 1.735575e+00,\n",
" 1.686617e+00, 0.000000e+00, 1.000000e-05, 0.000000e+00,\n",
" 3.558880e-01, 1.339700e-02, 1.978390e-01, 2.668570e-01,\n",
" 2.422400e-02, 7.786300e-02, 3.249960e-01, 4.167520e-01,\n",
" 4.610670e-01, 1.752810e-01, 1.094804e+00, 4.652110e-01,\n",
" 1.890000e-04, 6.317000e-03, 5.378000e-03, 3.555260e-01,\n",
" 9.440180e-01, 5.345740e-01, 2.895010e-01, 1.099625e+00,\n",
" 2.496140e-01, 3.007300e-02, 1.080461e+00, 2.857060e-01,\n",
" 3.530150e-01, 7.281730e-01, 1.165836e+00, 0.000000e+00,\n",
" 0.000000e+00, 0.000000e+00, 9.600000e-05, 0.000000e+00,\n",
" 0.000000e+00, 8.830000e-04, 0.000000e+00, 0.000000e+00,\n",
" 0.000000e+00, 2.066144e+00, 6.928623e+00, 2.006300e-02,\n",
" 2.414551e+00, 1.445120e-01, 9.392770e-01, 2.113998e+00,\n",
" 2.494876e+00, 1.246200e-02, 0.000000e+00, 9.012210e-01,\n",
" 2.219170e-01, 0.000000e+00, 2.457988e+00, 2.659450e-01,\n",
" 5.863520e-01, 2.920200e-01, 2.013971e+00, 1.258801e+00,\n",
" 9.151600e-02, 5.457680e-01, 7.236870e-01, 3.209640e-01]) s2:vegetation_percentage
(time)
float64
28.49 28.49 3.723 ... 5.547 1.237
array([2.8494897e+01, 2.8494897e+01, 3.7227780e+00, 6.0230400e-01,\n",
" 6.7588600e+00, 2.5230200e-01, 7.2609680e+00, 2.1484430e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 1.9938010e+01,\n",
" 1.8040803e+01, 3.5138625e+01, 6.0945500e-01, 1.4497300e-01,\n",
" 2.8025207e+01, 7.5333260e+00, 4.0561721e+01, 5.6849650e+00,\n",
" 1.3911785e+01, 2.2351953e+01, 3.3847900e-01, 2.3286900e-01,\n",
" 1.5599656e+01, 0.0000000e+00, 0.0000000e+00, 3.9091000e-02,\n",
" 2.1825106e+01, 5.0247910e+00, 1.0098778e+01, 3.0000000e-06,\n",
" 4.4144000e-02, 4.2163000e-02, 8.1311600e-01, 1.5452142e+01,\n",
" 2.0508933e+01, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 8.9206740e+00, 1.5464800e-01, 4.3568040e+00, 4.3732900e+00,\n",
" 3.3949100e-01, 5.3845500e-01, 1.5184489e+01, 1.1475161e+01,\n",
" 2.1744528e+01, 1.4091799e+01, 2.4324933e+01, 2.8601906e+01,\n",
" 3.9807000e-02, 3.5534000e-02, 5.2372000e-02, 7.5629280e+00,\n",
" 1.8114685e+01, 2.5988770e+01, 2.5731888e+01, 1.3495958e+01,\n",
" 5.8338560e+00, 8.6977000e-02, 1.3036303e+01, 8.6144040e+00,\n",
" 9.0126020e+00, 1.3368921e+01, 1.2800677e+01, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 7.5650000e-03, 0.0000000e+00,\n",
" 2.1860000e-03, 3.6927900e-01, 3.9200000e-04, 3.6160000e-03,\n",
" 0.0000000e+00, 9.4930000e-02, 7.1329720e+00, 1.6535000e-02,\n",
" 4.5728910e+00, 1.3055000e-01, 1.0405012e+01, 7.1835960e+00,\n",
" 1.4622837e+01, 6.9118900e-01, 0.0000000e+00, 5.4689030e+00,\n",
" 8.6030740e+00, 0.0000000e+00, 1.5147328e+01, 1.6029610e+00,\n",
" 9.4359300e-01, 7.1914200e-01, 1.1977798e+01, 4.5419360e+00,\n",
" 2.9267000e-01, 7.3530940e+00, 5.5465210e+00, 1.2368210e+00]) s2:datatake_type
()
<U8
'INS-NOBS'
array('INS-NOBS', dtype='<U8') eo:cloud_cover
(time)
float64
31.86 31.86 72.23 ... 68.18 78.52
array([ 31.861645, 31.861645, 72.233349, 84.23242 , 75.849092,\n",
" 71.334112, 36.364982, 71.224791, 99.142045, 99.906605,\n",
" 99.837601, 26.79213 , 25.446066, 38.147709, 92.274898,\n",
" 92.695457, 14.417477, 44.045162, 26.504228, 38.089094,\n",
" 46.706563, 38.851953, 89.106488, 98.220617, 73.140067,\n",
" 99.292749, 99.984759, 99.662882, 25.189388, 75.027752,\n",
" 82.056636, 99.995649, 98.107791, 99.765587, 83.436191,\n",
" 50.469458, 47.708932, 100. , 99.999958, 99.953192,\n",
" 82.920182, 86.556649, 82.889229, 65.112549, 90.771818,\n",
" 94.627321, 44.364241, 49.611434, 52.90342 , 39.246562,\n",
" 27.289197, 41.145855, 97.073066, 97.473019, 98.807198,\n",
" 61.491019, 44.57233 , 40.932187, 31.051832, 65.588689,\n",
" 91.048092, 90.142995, 49.703017, 72.725302, 58.075714,\n",
" 57.406908, 59.954602, 100. , 100. , 100. ,\n",
" 95.526582, 99.999702, 99.876261, 95.77809 , 98.130369,\n",
" 98.347533, 99.949104, 90.362376, 76.680422, 72.520459,\n",
" 70.604146, 78.647184, 58.553779, 61.808556, 56.622493,\n",
" 94.910634, 99.999523, 86.967117, 79.077148, 99.991983,\n",
" 70.218736, 71.797997, 68.115538, 77.252722, 56.683403,\n",
" 80.056298, 90.203667, 58.591008, 68.179029, 78.524631]) s2:product_type
()
<U7
'S2MSI2A'
array('S2MSI2A', dtype='<U7') s2:cloud_shadow_percentage
(time)
float64
0.362 0.362 1.879 ... 0.7559 5.733
array([3.6199600e-01, 3.6199600e-01, 1.8786730e+00, 5.4776720e+00,\n",
" 1.9875320e+00, 4.9367260e+00, 9.1991400e-01, 5.5115900e-01,\n",
" 0.0000000e+00, 8.0906000e-02, 6.4635000e-02, 1.3637650e+00,\n",
" 2.0395100e-01, 2.3071020e+00, 5.4045400e-01, 5.9719410e+00,\n",
" 1.6330900e+00, 1.9142900e-01, 4.6753000e+00, 3.0918510e+00,\n",
" 1.7151900e-01, 1.3517810e+00, 4.7555180e+00, 6.0624600e-01,\n",
" 5.9106280e+00, 1.2300000e-04, 3.0000000e-06, 5.0199000e-02,\n",
" 1.8149970e+00, 1.1523950e+00, 8.2527300e-01, 0.0000000e+00,\n",
" 1.2782040e+00, 1.5454800e-01, 6.9917780e+00, 3.0474000e-01,\n",
" 6.1477270e+00, 0.0000000e+00, 3.0000000e-05, 3.6742000e-02,\n",
" 3.2498900e-01, 4.9434010e+00, 2.3888470e+00, 1.6893810e+00,\n",
" 1.8932150e+00, 1.7392380e+00, 4.8706950e+00, 5.4660680e+00,\n",
" 1.1514550e+01, 5.3134590e+00, 5.8114170e+00, 1.0032644e+01,\n",
" 1.8421000e-02, 6.5975200e-01, 3.0701000e-01, 3.2721760e+00,\n",
" 3.8994300e+00, 1.1514056e+01, 1.9676550e+00, 8.6006000e-01,\n",
" 4.3550000e-02, 7.5583000e-01, 2.3799690e+00, 3.7290490e+00,\n",
" 5.1844690e+00, 6.0858090e+00, 6.7157800e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 1.0632710e+00, 3.0000000e-06,\n",
" 1.0369200e-01, 2.0048570e+00, 3.4950100e-01, 1.9062000e-01,\n",
" 5.0899000e-02, 4.4489930e+00, 5.6809400e-01, 4.5639300e-01,\n",
" 2.2432000e-02, 7.1155040e+00, 2.4405400e-01, 0.0000000e+00,\n",
" 3.7747000e-02, 4.2197070e+00, 4.3800000e-04, 1.6119100e-01,\n",
" 2.4077200e-01, 1.1610000e-03, 1.7409000e-01, 3.7878900e+00,\n",
" 4.0613630e+00, 6.3058880e+00, 2.3990000e-03, 0.0000000e+00,\n",
" 4.2030550e+00, 1.7447720e+00, 7.5587300e-01, 5.7326120e+00]) s2:mgrs_tile
(time)
<U5
'32NNG' '32NNG' ... '32NNF' '32MNE'
array(['32NNG', '32NNG', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE'], dtype='<U5') s2:datastrip_id
(time)
<U64
'S2A_OPER_MSI_L2A_DS_ESRI_202202...
array(['S2A_OPER_MSI_L2A_DS_ESRI_20220227T203127_S20220126T094615_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220211T225247_S20220126T094615_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220216T162710_S20220131T094132_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220216T170021_S20220131T094132_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220216T174641_S20220131T094132_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220219T031238_S20220205T094618_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220219T032253_S20220205T094618_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220219T030509_S20220205T094618_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220221T085321_S20220210T094038_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220221T083055_S20220210T094038_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220221T091153_S20220210T094038_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220223T161846_S20220215T094616_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220223T163018_S20220215T094616_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220223T162727_S20220215T094616_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220225T231824_S20220220T093745_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220225T220653_S20220220T095019_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220301T220537_S20220225T094944_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220301T212050_S20220225T094944_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220301T212943_S20220225T094944_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220304T051349_S20220302T094819_N04.00',\n",
"...\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220611T043055_S20220610T095019_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220616T091052_S20220615T094315_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220616T091857_S20220615T094315_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220616T090837_S20220615T094315_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220621T141008_S20220620T094927_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220621T142153_S20220620T094927_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220621T135743_S20220620T094927_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220625T220052_S20220625T094317_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220625T235737_S20220625T094317_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220625T225250_S20220625T094317_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220701T010231_S20220630T094125_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220701T005052_S20220630T094125_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220630T213552_S20220630T094125_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220707T051736_S20220705T094238_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220707T053022_S20220705T094238_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220707T050857_S20220705T094238_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220712T095338_S20220710T094237_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220712T101014_S20220710T094237_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220712T111330_S20220710T094237_N04.00'],\n",
" dtype='<U64') s2:medium_proba_clouds_percentage
(time)
float64
2.363 2.363 20.26 ... 16.18 10.78
array([ 2.362713, 2.362713, 20.256709, 18.678531, 18.071792,\n",
" 14.272928, 14.005518, 19.733107, 52.257973, 56.783301,\n",
" 33.732548, 7.836401, 11.867764, 12.108845, 45.137927,\n",
" 21.847041, 4.924957, 12.553455, 11.679082, 12.767433,\n",
" 14.835037, 17.294733, 19.156234, 14.35255 , 13.343738,\n",
" 8.631478, 3.832167, 20.710227, 7.956483, 17.532553,\n",
" 28.592262, 52.385193, 48.743111, 39.71734 , 19.807462,\n",
" 14.594567, 18.778978, 17.687227, 25.936005, 22.958912,\n",
" 14.739805, 17.214917, 13.450317, 12.999596, 28.811714,\n",
" 34.248084, 12.195566, 15.501006, 16.327991, 10.730598,\n",
" 9.682204, 12.568286, 51.750439, 41.838738, 46.003306,\n",
" 14.193723, 11.114323, 13.621753, 8.511207, 14.913142,\n",
" 28.777891, 20.624447, 18.29455 , 27.417535, 23.287424,\n",
" 19.889215, 18.064801, 100. , 99.899417, 44.55148 ,\n",
" 18.315029, 4.781285, 1.792293, 56.075662, 12.385251,\n",
" 5.231287, 69.804412, 52.588165, 40.740743, 7.494242,\n",
" 15.911995, 13.799044, 15.776251, 11.632868, 15.167773,\n",
" 25.922105, 10.788627, 19.343492, 7.874609, 0.363635,\n",
" 7.303055, 20.910753, 13.672224, 10.325556, 10.363642,\n",
" 10.146154, 9.552294, 18.817337, 16.181996, 10.782711]) s2:product_uri
(time)
<U65
'S2A_MSIL2A_20220126T093251_N040...
array(['S2A_MSIL2A_20220126T093251_N0400_R136_T32NNG_20220227T203126.SAFE',\n",
" 'S2A_MSIL2A_20220126T093251_N0400_R136_T32NNG_20220211T225246.SAFE',\n",
" 'S2B_MSIL2A_20220131T093119_N0400_R136_T32NNG_20220216T162709.SAFE',\n",
" 'S2B_MSIL2A_20220131T093119_N0400_R136_T32NNF_20220216T170020.SAFE',\n",
" 'S2B_MSIL2A_20220131T093119_N0400_R136_T32MNE_20220216T174639.SAFE',\n",
" 'S2A_MSIL2A_20220205T093201_N0400_R136_T32NNG_20220219T031238.SAFE',\n",
" 'S2A_MSIL2A_20220205T093201_N0400_R136_T32NNF_20220219T032252.SAFE',\n",
" 'S2A_MSIL2A_20220205T093201_N0400_R136_T32MNE_20220219T030508.SAFE',\n",
" 'S2B_MSIL2A_20220210T093029_N0400_R136_T32NNG_20220221T085320.SAFE',\n",
" 'S2B_MSIL2A_20220210T093029_N0400_R136_T32NNF_20220221T083054.SAFE',\n",
" 'S2B_MSIL2A_20220210T093029_N0400_R136_T32MNE_20220221T091151.SAFE',\n",
" 'S2A_MSIL2A_20220215T093101_N0400_R136_T32NNG_20220223T161845.SAFE',\n",
" 'S2A_MSIL2A_20220215T093101_N0400_R136_T32NNF_20220223T163017.SAFE',\n",
" 'S2A_MSIL2A_20220215T093101_N0400_R136_T32MNE_20220223T162726.SAFE',\n",
" 'S2B_MSIL2A_20220220T093029_N0400_R136_T32NNG_20220225T231822.SAFE',\n",
" 'S2B_MSIL2A_20220220T093029_N0400_R136_T32MNE_20220225T220652.SAFE',\n",
" 'S2A_MSIL2A_20220225T093041_N0400_R136_T32NNG_20220301T220536.SAFE',\n",
" 'S2A_MSIL2A_20220225T093041_N0400_R136_T32NNF_20220301T212050.SAFE',\n",
" 'S2A_MSIL2A_20220225T093041_N0400_R136_T32MNE_20220301T212943.SAFE',\n",
" 'S2B_MSIL2A_20220302T093029_N0400_R136_T32NNG_20220304T051349.SAFE',\n",
"...\n",
" 'S2B_MSIL2A_20220610T093039_N0400_R136_T32MNE_20220611T043054.SAFE',\n",
" 'S2A_MSIL2A_20220615T093051_N0400_R136_T32NNG_20220616T091051.SAFE',\n",
" 'S2A_MSIL2A_20220615T093051_N0400_R136_T32NNF_20220616T091856.SAFE',\n",
" 'S2A_MSIL2A_20220615T093051_N0400_R136_T32MNE_20220616T090836.SAFE',\n",
" 'S2B_MSIL2A_20220620T093039_N0400_R136_T32NNG_20220621T141008.SAFE',\n",
" 'S2B_MSIL2A_20220620T093039_N0400_R136_T32NNF_20220621T142153.SAFE',\n",
" 'S2B_MSIL2A_20220620T093039_N0400_R136_T32MNE_20220621T135743.SAFE',\n",
" 'S2A_MSIL2A_20220625T093051_N0400_R136_T32NNG_20220625T220050.SAFE',\n",
" 'S2A_MSIL2A_20220625T093051_N0400_R136_T32NNF_20220625T235736.SAFE',\n",
" 'S2A_MSIL2A_20220625T093051_N0400_R136_T32MNE_20220625T225249.SAFE',\n",
" 'S2B_MSIL2A_20220630T093039_N0400_R136_T32NNG_20220701T010230.SAFE',\n",
" 'S2B_MSIL2A_20220630T093039_N0400_R136_T32NNF_20220701T005051.SAFE',\n",
" 'S2B_MSIL2A_20220630T093039_N0400_R136_T32MNE_20220630T213551.SAFE',\n",
" 'S2A_MSIL2A_20220705T093051_N0400_R136_T32NNG_20220707T051735.SAFE',\n",
" 'S2A_MSIL2A_20220705T093051_N0400_R136_T32NNF_20220707T053020.SAFE',\n",
" 'S2A_MSIL2A_20220705T093051_N0400_R136_T32MNE_20220707T050855.SAFE',\n",
" 'S2B_MSIL2A_20220710T093039_N0400_R136_T32NNG_20220712T095337.SAFE',\n",
" 'S2B_MSIL2A_20220710T093039_N0400_R136_T32NNF_20220712T101012.SAFE',\n",
" 'S2B_MSIL2A_20220710T093039_N0400_R136_T32MNE_20220712T111329.SAFE'],\n",
" dtype='<U65') s2:nodata_pixel_percentage
(time)
float64
0.0 0.0 0.0 0.0 ... 3e-06 0.0 0.0
array([0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 1.6895404e+01, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 2.7000000e-05, 3.1900000e-04,\n",
" 5.6000000e-05, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 1.3000000e-05, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 2.0539255e+01,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 7.0000000e-06, 0.0000000e+00,\n",
" 0.0000000e+00, 3.0000000e-06, 0.0000000e+00, 0.0000000e+00]) s2:dark_features_percentage
(time)
float64
0.1486 0.1486 ... 0.02359 0.00348
array([1.48603e-01, 1.48603e-01, 1.78500e-03, 1.26100e-03, 1.03350e-02,\n",
" 8.46000e-04, 3.06200e-03, 1.35700e-03, 0.00000e+00, 0.00000e+00,\n",
" 0.00000e+00, 3.17580e-02, 9.60050e-02, 6.30090e-02, 1.76100e-03,\n",
" 7.53000e-04, 4.82980e-02, 3.10950e-02, 7.07200e-02, 4.49200e-03,\n",
" 4.32780e-02, 5.09590e-02, 1.65200e-03, 3.42000e-04, 2.01130e-02,\n",
" 0.00000e+00, 0.00000e+00, 0.00000e+00, 3.97100e-03, 1.73000e-04,\n",
" 4.89000e-03, 0.00000e+00, 1.70000e-05, 0.00000e+00, 7.30000e-04,\n",
" 5.20930e-02, 1.86560e-02, 0.00000e+00, 0.00000e+00, 0.00000e+00,\n",
" 1.30890e-02, 8.86000e-04, 2.37900e-03, 3.83900e-03, 9.82000e-04,\n",
" 2.45900e-03, 1.40880e-02, 5.12600e-03, 1.64600e-02, 1.82880e-02,\n",
" 3.51720e-02, 2.72300e-02, 5.01000e-04, 7.00000e-06, 5.11000e-04,\n",
" 1.05610e-02, 1.29860e-02, 2.96520e-02, 4.89780e-02, 1.41770e-02,\n",
" 4.79260e-02, 6.74000e-04, 1.65630e-02, 1.66200e-03, 6.31100e-03,\n",
" 4.25300e-03, 7.18000e-03, 0.00000e+00, 0.00000e+00, 0.00000e+00,\n",
" 0.00000e+00, 0.00000e+00, 0.00000e+00, 2.52800e-03, 0.00000e+00,\n",
" 0.00000e+00, 0.00000e+00, 1.22400e-03, 4.48200e-03, 2.00000e-04,\n",
" 4.65200e-03, 1.63000e-04, 4.05310e-02, 4.40010e-02, 1.35670e-01,\n",
" 9.22000e-04, 0.00000e+00, 3.70700e-02, 9.04800e-03, 0.00000e+00,\n",
" 3.90580e-02, 2.14700e-03, 3.46700e-03, 1.71500e-03, 1.53510e-01,\n",
" 1.12670e-02, 5.10300e-03, 1.32720e-01, 2.35870e-02, 3.48000e-03]) s2:reflectance_conversion_factor
(time)
float64
1.032 1.032 1.031 ... 0.9674 0.9674
array([1.03242112, 1.03242112, 1.0313223 , 1.0313223 , 1.0313223 ,\n",
" 1.02998837, 1.02998837, 1.02998837, 1.02843136, 1.02843136,\n",
" 1.02843136, 1.02666334, 1.02666334, 1.02666334, 1.02469969,\n",
" 1.02469969, 1.0225561 , 1.0225561 , 1.0225561 , 1.02025036,\n",
" 1.02025036, 1.02025036, 1.01780088, 1.01780088, 1.01780088,\n",
" 1.0152275 , 1.0152275 , 1.0152275 , 1.01255034, 1.01255034,\n",
" 1.01255034, 1.00979064, 1.00979064, 1.00979064, 1.00696946,\n",
" 1.00696946, 1.00696946, 1.00410867, 1.00410867, 1.00410867,\n",
" 1.00122957, 1.00122957, 1.00122957, 0.99835394, 0.99835394,\n",
" 0.99835394, 0.99550262, 0.99550262, 0.99550262, 0.99269664,\n",
" 0.99269664, 0.99269664, 0.98995581, 0.98995581, 0.98995581,\n",
" 0.98729986, 0.98729986, 0.98729986, 0.98474704, 0.98474704,\n",
" 0.98474704, 0.98231527, 0.98231527, 0.98231527, 0.98002088,\n",
" 0.98002088, 0.98002088, 0.97787956, 0.97787956, 0.97787956,\n",
" 0.9759055 , 0.9759055 , 0.9759055 , 0.97411179, 0.97411179,\n",
" 0.97411179, 0.97251013, 0.97251013, 0.97251013, 0.97111096,\n",
" 0.97111096, 0.97111096, 0.96992323, 0.96992323, 0.96992323,\n",
" 0.96895465, 0.96895465, 0.96895465, 0.96821127, 0.96821127,\n",
" 0.96821127, 0.96769789, 0.96769789, 0.96769789, 0.9674177 ,\n",
" 0.9674177 , 0.9674177 , 0.96737249, 0.96737249, 0.96737249]) s2:high_proba_clouds_percentage
(time)
float64
0.6281 0.6281 40.58 ... 46.11 66.68
array([ 0.628084, 0.628084, 40.583992, 21.564554, 20.277481, 23.819174,\n",
" 22.15472 , 50.136232, 22.694172, 38.791299, 57.244295, 2.616707,\n",
" 6.025099, 3.343549, 22.423942, 32.151905, 5.747655, 28.093126,\n",
" 11.269747, 21.504687, 28.38442 , 19.218108, 28.740543, 22.348094,\n",
" 23.078048, 87.803292, 95.067793, 73.485464, 6.236389, 19.056636,\n",
" 26.711217, 38.302299, 22.778571, 28.769973, 50.61751 , 16.737184,\n",
" 25.917226, 80.640739, 51.435572, 56.447327, 61.421198, 66.06338 ,\n",
" 66.844934, 35.451466, 21.718737, 27.883488, 23.967972, 32.227406,\n",
" 36.17101 , 19.800624, 16.662881, 23.739809, 15.794715, 18.56955 ,\n",
" 19.349697, 34.496167, 21.052246, 26.063952, 4.180697, 40.643391,\n",
" 53.745127, 62.111032, 26.82932 , 40.072662, 26.4833 , 28.999138,\n",
" 34.271979, 0. , 0.100584, 55.384374, 72.670227, 95.213664,\n",
" 98.031819, 31.006062, 83.904022, 92.736441, 30.035052, 26.589301,\n",
" 12.403695, 59.205872, 48.565295, 60.514867, 41.342255, 47.601169,\n",
" 41.376498, 66.643548, 88.984537, 63.568574, 66.386616, 99.628347,\n",
" 56.584328, 40.188289, 53.952378, 63.87139 , 44.027394, 68.633813,\n",
" 80.491626, 24.85355 , 46.114162, 66.680747]) sat:orbit_state
()
<U10
'descending'
array('descending', dtype='<U10') s2:datatake_id
(time)
<U34
'GS2A_20220126T093251_034453_N04...
array(['GS2A_20220126T093251_034453_N04.00',\n",
" 'GS2A_20220126T093251_034453_N04.00',\n",
" 'GS2B_20220131T093119_025616_N04.00',\n",
" 'GS2B_20220131T093119_025616_N04.00',\n",
" 'GS2B_20220131T093119_025616_N04.00',\n",
" 'GS2A_20220205T093201_034596_N04.00',\n",
" 'GS2A_20220205T093201_034596_N04.00',\n",
" 'GS2A_20220205T093201_034596_N04.00',\n",
" 'GS2B_20220210T093029_025759_N04.00',\n",
" 'GS2B_20220210T093029_025759_N04.00',\n",
" 'GS2B_20220210T093029_025759_N04.00',\n",
" 'GS2A_20220215T093101_034739_N04.00',\n",
" 'GS2A_20220215T093101_034739_N04.00',\n",
" 'GS2A_20220215T093101_034739_N04.00',\n",
" 'GS2B_20220220T093029_025902_N04.00',\n",
" 'GS2B_20220220T093029_025902_N04.00',\n",
" 'GS2A_20220225T093041_034882_N04.00',\n",
" 'GS2A_20220225T093041_034882_N04.00',\n",
" 'GS2A_20220225T093041_034882_N04.00',\n",
" 'GS2B_20220302T093029_026045_N04.00',\n",
"...\n",
" 'GS2B_20220610T093039_027475_N04.00',\n",
" 'GS2B_20220610T093039_027475_N04.00',\n",
" 'GS2A_20220615T093051_036455_N04.00',\n",
" 'GS2A_20220615T093051_036455_N04.00',\n",
" 'GS2A_20220615T093051_036455_N04.00',\n",
" 'GS2B_20220620T093039_027618_N04.00',\n",
" 'GS2B_20220620T093039_027618_N04.00',\n",
" 'GS2B_20220620T093039_027618_N04.00',\n",
" 'GS2A_20220625T093051_036598_N04.00',\n",
" 'GS2A_20220625T093051_036598_N04.00',\n",
" 'GS2A_20220625T093051_036598_N04.00',\n",
" 'GS2B_20220630T093039_027761_N04.00',\n",
" 'GS2B_20220630T093039_027761_N04.00',\n",
" 'GS2B_20220630T093039_027761_N04.00',\n",
" 'GS2A_20220705T093051_036741_N04.00',\n",
" 'GS2A_20220705T093051_036741_N04.00',\n",
" 'GS2A_20220705T093051_036741_N04.00',\n",
" 'GS2B_20220710T093039_027904_N04.00',\n",
" 'GS2B_20220710T093039_027904_N04.00',\n",
" 'GS2B_20220710T093039_027904_N04.00'], dtype='<U34') s2:mean_solar_azimuth
(time)
float64
129.3 129.3 126.9 ... 45.54 44.46
array([129.25028437, 129.25028437, 126.92246889, 125.79789101,\n",
" 124.62730789, 124.43655976, 123.2403182 , 121.99700095,\n",
" 121.69410687, 120.41928919, 119.09683004, 118.77133517,\n",
" 117.40907334, 115.99882569, 115.56543398, 112.60964464,\n",
" 112.15384967, 110.60039936, 109.00120848, 108.43481552,\n",
" 106.78343197, 105.08961627, 104.48744489, 102.73679113,\n",
" 100.94873021, 100.25950324, 98.42029778, 96.5510532 ,\n",
" 95.82277061, 93.90393539, 91.96450126, 91.18669589,\n",
" 89.21126561, 87.22674687, 86.42424138, 84.41254599,\n",
" 82.40452848, 81.61700492, 79.60131138, 77.60234272,\n",
" 76.8383811 , 74.84344896, 72.87754814, 72.2134995 ,\n",
" 70.26901238, 68.36401399, 67.78151833, 65.90573991,\n",
" 64.0776318 , 63.70193737, 61.91480381, 60.180628 ,\n",
" 59.90678944, 58.21259387, 56.57459158, 56.59882188,\n",
" 55.00438955, 53.46687169, 53.60476689, 52.10358931,\n",
" 50.65914152, 51.1099999 , 49.69796764, 48.34110292,\n",
" 48.95218351, 47.61901156, 46.33907984, 47.24512437,\n",
" 45.98151848, 44.76900471, 45.84626613, 44.64093856,\n",
" 43.48460349, 44.86974509, 43.71261096, 42.60250151,\n",
" 44.13671929, 43.0167377 , 41.94214154, 43.76926799,\n",
" 42.67675617, 41.62824475, 43.60878222, 42.53373689,\n",
" 41.50166545, 43.77963155, 42.71330126, 41.68911844,\n",
" 44.12643204, 43.05947277, 42.03431834, 44.77803964,\n",
" 43.70231983, 42.66816102, 45.57667211, 44.48299229,\n",
" 43.43102662, 46.66173483, 45.54207901, 44.46455811]) s2:mean_solar_zenith
(time)
float64
32.45 32.45 31.9 ... 32.08 32.68
array([32.45430587, 32.45430587, 31.90233803, 31.31666645, 30.74487203,\n",
" 31.22216884, 30.66750941, 30.12817517, 30.50518169, 29.98602653,\n",
" 29.48372341, 29.69130227, 29.21130399, 28.74996472, 28.88932509,\n",
" 28.03880811, 28.02361346, 27.63686952, 27.27270411, 27.23019167,\n",
" 26.89819573, 26.59087056, 26.4266075 , 26.15424718, 25.90858703,\n",
" 25.74333314, 25.53620238, 25.35762714, 25.10525486, 24.9676302 ,\n",
" 24.86020255, 24.63363298, 24.56943202, 24.53639085, 24.25599293,\n",
" 24.26739898, 24.31049196, 24.07723376, 24.16464166, 24.28352469,\n",
" 24.01334256, 24.17553083, 24.36831843, 24.14162044, 24.37482358,\n",
" 24.63725434, 24.37391563, 24.67365645, 25.00078068, 24.79918287,\n",
" 25.15842104, 25.5429822 , 25.2708987 , 25.68380524, 26.11992813,\n",
" 25.90999059, 26.36815414, 26.84742539, 26.53787038, 27.03563795,\n",
" 27.55267464, 27.26130107, 27.79101055, 28.33828804, 27.95088304,\n",
" 28.5075032 , 29.08018373, 28.66807171, 29.24530894, 29.83744035,\n",
" 29.31731249, 29.91114698, 30.51886052, 29.96039494, 30.56549842,\n",
" 31.18376639, 30.48864412, 31.10215318, 31.72824755, 30.97165746,\n",
" 31.5892335 , 32.21905111, 31.31705945, 31.93641829, 32.56777941,\n",
" 31.60019718, 32.21750632, 32.8467487 , 31.73016099, 32.34344697,\n",
" 32.96876517, 31.78790729, 32.39359019, 33.01151655, 31.67905084,\n",
" 32.27540505, 32.8843324 , 31.49625419, 32.0796653 , 32.67622379]) constellation
()
<U10
'Sentinel 2'
array('Sentinel 2', dtype='<U10') proj:epsg
(time)
int64
32632 32632 32632 ... 32632 32732
array([32632, 32632, 32632, 32632, 32732, 32632, 32632, 32732, 32632,\n",
" 32632, 32732, 32632, 32632, 32732, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732]) s2:thin_cirrus_percentage
(time)
float64
28.87 28.87 11.39 ... 5.883 1.061
array([2.8870851e+01, 2.8870851e+01, 1.1392650e+01, 4.3989334e+01,\n",
" 3.7499818e+01, 3.3242002e+01, 2.0474400e-01, 1.3554530e+00,\n",
" 2.4189903e+01, 4.3320030e+00, 8.8607530e+00, 1.6339023e+01,\n",
" 7.5532030e+00, 2.2695316e+01, 2.4713036e+01, 3.8696519e+01,\n",
" 3.7448650e+00, 3.3985820e+00, 3.5554000e+00, 3.8169750e+00,\n",
" 3.4871050e+00, 2.3391100e+00, 4.1209707e+01, 6.1519969e+01,\n",
" 3.6718282e+01, 2.8579830e+00, 1.0847970e+00, 5.4671850e+00,\n",
" 1.0996516e+01, 3.8438562e+01, 2.6753163e+01, 9.3081580e+00,\n",
" 2.6586109e+01, 3.1278270e+01, 1.3011222e+01, 1.9137710e+01,\n",
" 3.0127270e+00, 1.6720280e+00, 2.2628382e+01, 2.0546949e+01,\n",
" 6.7591820e+00, 3.2783530e+00, 2.5939730e+00, 1.6661488e+01,\n",
" 4.0241367e+01, 3.2495752e+01, 8.2007010e+00, 1.8830220e+00,\n",
" 4.0442200e-01, 8.7153390e+00, 9.4411100e-01, 4.8377610e+00,\n",
" 2.9527915e+01, 3.7064731e+01, 3.3454195e+01, 1.2801129e+01,\n",
" 1.2405762e+01, 1.2464820e+00, 1.8359928e+01, 1.0032153e+01,\n",
" 8.5250740e+00, 7.4075100e+00, 4.5791450e+00, 5.2351050e+00,\n",
" 8.3049890e+00, 8.5185550e+00, 7.6178220e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 6.4144000e-02, 4.5413190e+00, 4.7510000e-03,\n",
" 5.2146000e-02, 8.6963710e+00, 1.8410990e+00, 3.7980300e-01,\n",
" 1.0963100e-01, 1.1184906e+01, 2.3535983e+01, 5.8203440e+00,\n",
" 6.1268510e+00, 4.3332670e+00, 1.4352740e+00, 2.5745200e+00,\n",
" 7.8225000e-02, 2.3449820e+00, 2.2636000e-01, 4.0550430e+00,\n",
" 4.8159260e+00, 0.0000000e+00, 6.3313530e+00, 1.0698953e+01,\n",
" 4.9094100e-01, 3.0557790e+00, 2.2923680e+00, 1.2763260e+00,\n",
" 1.5975100e-01, 1.4920120e+01, 5.8828740e+00, 1.0611740e+00]) s2:snow_ice_percentage
()
float64
0.0
instruments
()
<U3
'msi'
array('msi', dtype='<U3') s2:degraded_msi_data_percentage
(time)
float64
0.0 0.0 0.0106 ... 0.0106 0.0066
array([0. , 0. , 0.0106, 0.0106, 0.0075, 0. , 0. , 0. ,\n",
" 0.0106, 0.0106, 0.0074, 0. , 0. , 0. , 0.0103, 0.0073,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.007 , 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.007 , 0. , 0. , 0. , 0.0106,\n",
" 0.0106, 0.0071, 0. , 0. , 0. , 0.0106, 0.0106, 0.0073,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.0072, 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.0074, 0. , 0. , 0. , 0.0106,\n",
" 0.0106, 0.0075, 0. , 0. , 0. , 0.0106, 0.0106, 0.0069,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.0067, 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.0069, 0. , 0. , 0. , 0.0106,\n",
" 0.0106, 0.0066, 0. , 0. , 0. , 0.0106, 0.0106, 0.0063,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.0064, 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.0066]) s2:granule_id
(time)
<U62
'S2A_OPER_MSI_L2A_TL_ESRI_202202...
array(['S2A_OPER_MSI_L2A_TL_ESRI_20220227T203127_A034453_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220211T225247_A034453_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220216T162710_A025616_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220216T170021_A025616_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220216T174641_A025616_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220219T031238_A034596_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220219T032253_A034596_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220219T030509_A034596_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220221T085321_A025759_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220221T083055_A025759_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220221T091153_A025759_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220223T161846_A034739_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220223T163018_A034739_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220223T162727_A034739_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220225T231824_A025902_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220225T220653_A025902_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220301T220537_A034882_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220301T212050_A034882_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220301T212943_A034882_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220304T051349_A026045_T32NNG_N04.00',\n",
"...\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220611T043055_A027475_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220616T091052_A036455_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220616T091857_A036455_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220616T090837_A036455_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220621T141008_A027618_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220621T142153_A027618_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220621T135743_A027618_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220625T220052_A036598_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220625T235737_A036598_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220625T225250_A036598_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220701T010231_A027761_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220701T005052_A027761_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220630T213552_A027761_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220707T051736_A036741_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220707T053022_A036741_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220707T050857_A036741_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220712T095338_A027904_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220712T101014_A027904_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220712T111330_A027904_T32MNE_N04.00'],\n",
" dtype='<U62') s2:water_percentage
(time)
float64
32.66 32.66 14.28 ... 22.03 13.86
array([3.2659486e+01, 3.2659486e+01, 1.4282557e+01, 9.4786020e+00,\n",
" 2.7910230e+00, 2.3094197e+01, 4.1817167e+01, 1.4375192e+01,\n",
" 8.5795000e-01, 1.7000000e-05, 8.9744000e-02, 4.5569202e+01,\n",
" 4.4379145e+01, 1.6746278e+01, 6.4595950e+00, 8.5099300e-01,\n",
" 5.0922692e+01, 3.8432190e+01, 1.9165915e+01, 4.4315901e+01,\n",
" 2.8123850e+01, 1.8928258e+01, 5.7217690e+00, 9.2470200e-01,\n",
" 3.5077090e+00, 7.0712800e-01, 1.5239000e-02, 2.4565900e-01,\n",
" 4.6027392e+01, 1.6777837e+01, 1.5430670e+00, 4.3460000e-03,\n",
" 5.5155400e-01, 2.4924000e-02, 8.5999910e+00, 2.7001697e+01,\n",
" 1.7068185e+01, 0.0000000e+00, 0.0000000e+00, 1.0070000e-02,\n",
" 5.8265700e+00, 8.2982110e+00, 8.0836730e+00, 2.7082652e+01,\n",
" 6.9622200e+00, 2.9833710e+00, 3.4756732e+01, 3.2260233e+01,\n",
" 1.2242836e+01, 4.0002817e+01, 4.0351295e+01, 1.8064167e+01,\n",
" 2.8673060e+00, 1.8250340e+00, 8.2644100e-01, 2.5211692e+01,\n",
" 3.1442294e+01, 1.9283782e+01, 4.0504140e+01, 1.7725289e+01,\n",
" 5.4390300e-01, 8.9733480e+00, 3.1733248e+01, 1.3913517e+01,\n",
" 2.6397458e+01, 2.0942453e+01, 1.6691697e+01, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 3.3949760e+00, 2.9500000e-04,\n",
" 1.4914000e-02, 1.7912650e+00, 1.5128780e+00, 1.4455630e+00,\n",
" 0.0000000e+00, 2.7095400e+00, 8.8376900e-01, 2.6967841e+01,\n",
" 1.9248699e+01, 1.3921453e+01, 2.4269073e+01, 2.4994095e+01,\n",
" 1.7388622e+01, 1.2199400e-01, 4.3000000e-05, 1.6917000e+00,\n",
" 9.9008930e+00, 6.8580000e-03, 7.9843760e+00, 2.1707520e+01,\n",
" 2.6004529e+01, 1.5100235e+01, 2.4131709e+01, 1.1391322e+01,\n",
" 4.8471940e+00, 2.8580156e+01, 2.2032306e+01, 1.3855641e+01]) s2:processing_baseline
()
<U5
'04.00'
array('04.00', dtype='<U5') sat:relative_orbit
()
int64
136
s2:generation_time
(time)
<U27
'2022-02-27T20:31:26.387390Z' .....
array(['2022-02-27T20:31:26.387390Z', '2022-02-11T22:52:46.949506Z',\n",
" '2022-02-16T16:27:09.421645Z', '2022-02-16T17:00:20.266223Z',\n",
" '2022-02-16T17:46:39.796976Z', '2022-02-19T03:12:38.150812Z',\n",
" '2022-02-19T03:22:52.791342Z', '2022-02-19T03:05:08.601173Z',\n",
" '2022-02-21T08:53:20.393536Z', '2022-02-21T08:30:54.268087Z',\n",
" '2022-02-21T09:11:51.907590Z', '2022-02-23T16:18:45.774184Z',\n",
" '2022-02-23T16:30:17.885370Z', '2022-02-23T16:27:26.251543Z',\n",
" '2022-02-25T23:18:22.870312Z', '2022-02-25T22:06:52.589374Z',\n",
" '2022-03-01T22:05:36.847346Z', '2022-03-01T21:20:50.89793Z',\n",
" '2022-03-01T21:29:43.231034Z', '2022-03-04T05:13:49.281750Z',\n",
" '2022-03-04T05:19:30.3257Z', '2022-03-04T05:15:08.803411Z',\n",
" '2022-03-07T21:22:08.443991Z', '2022-03-07T21:03:52.835321Z',\n",
" '2022-03-07T22:13:51.19551Z', '2022-03-13T00:29:48.398372Z',\n",
" '2022-03-13T00:19:51.89785Z', '2022-03-13T00:14:13.393412Z',\n",
" '2022-03-17T20:40:26.306778Z', '2022-03-17T19:12:00.881718Z',\n",
" '2022-03-17T18:40:10.787438Z', '2022-03-23T03:39:10.530806Z',\n",
" '2022-03-23T01:14:23.898113Z', '2022-03-23T00:57:34.511375Z',\n",
" '2022-03-27T23:41:36.444989Z', '2022-03-27T23:55:46.747580Z',\n",
" '2022-03-27T23:25:07.367843Z', '2022-04-01T22:49:27.777511Z',\n",
" '2022-04-01T22:33:46.24989Z', '2022-04-01T22:21:51.528907Z',\n",
"...\n",
" '2022-05-12T07:54:24.388733Z', '2022-05-12T07:37:02.612655Z',\n",
" '2022-05-18T17:18:22.675621Z', '2022-05-18T17:14:47.634423Z',\n",
" '2022-05-18T16:13:21.969555Z', '2022-05-22T14:55:22.668625Z',\n",
" '2022-05-22T16:23:54.762405Z', '2022-05-22T15:55:17.578182Z',\n",
" '2022-05-27T11:08:32.837162Z', '2022-05-27T10:28:45.567817Z',\n",
" '2022-05-27T11:03:01.660986Z', '2022-06-01T12:35:20.165065Z',\n",
" '2022-06-01T12:18:18.112706Z', '2022-06-01T11:02:33.471378Z',\n",
" '2022-06-05T23:26:46.502772Z', '2022-06-05T22:58:30.772968Z',\n",
" '2022-06-05T22:59:58.6357Z', '2022-06-11T04:22:21.314302Z',\n",
" '2022-06-11T04:12:02.267111Z', '2022-06-11T04:30:54.992494Z',\n",
" '2022-06-16T09:10:51.220782Z', '2022-06-16T09:18:56.484887Z',\n",
" '2022-06-16T09:08:36.183090Z', '2022-06-21T14:10:08.525448Z',\n",
" '2022-06-21T14:21:53.92779Z', '2022-06-21T13:57:43.260489Z',\n",
" '2022-06-25T22:00:50.606797Z', '2022-06-25T23:57:36.116623Z',\n",
" '2022-06-25T22:52:49.683079Z', '2022-07-01T01:02:30.72713Z',\n",
" '2022-07-01T00:50:51.497289Z', '2022-06-30T21:35:51.180680Z',\n",
" '2022-07-07T05:17:35.774817Z', '2022-07-07T05:30:20.998975Z',\n",
" '2022-07-07T05:08:55.892831Z', '2022-07-12T09:53:37.72293Z',\n",
" '2022-07-12T10:10:12.862068Z', '2022-07-12T11:13:29.377724Z'],\n",
" dtype='<U27') platform
(time)
<U11
'Sentinel-2A' ... 'Sentinel-2B'
array(['Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B'],\n",
" dtype='<U11') s2:saturated_defective_pixel_percentage
()
float64
0.0
title
(band)
<U20
'Band 2 - Blue - 10m' 'Band 3 - ...
array(['Band 2 - Blue - 10m', 'Band 3 - Green - 10m'], dtype='<U20') gsd
()
float64
10.0
proj:shape
()
object
{10980}
array({10980}, dtype=object) common_name
(band)
<U5
'blue' 'green'
array(['blue', 'green'], dtype='<U5') center_wavelength
(band)
float64
0.49 0.56
full_width_half_max
(band)
float64
0.098 0.045
epsg
()
int64
32732
Data variables: (2)
B02
(time, y, x)
float64
dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>
\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Array \n",
" Chunk \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Bytes \n",
" 253.50 GiB \n",
" 8.00 MiB \n",
" \n",
" \n",
" \n",
" Shape \n",
" (100, 30984, 10981) \n",
" (1, 1024, 1024) \n",
" \n",
" \n",
" Count \n",
" 102700 Tasks \n",
" 34100 Chunks \n",
" \n",
" \n",
" Type \n",
" float64 \n",
" numpy.ndarray \n",
" \n",
" \n",
"
\n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" 10981 \n",
" 30984 \n",
" 100 \n",
" \n",
" \n",
" \n",
"
B03
(time, y, x)
float64
dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>
\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Array \n",
" Chunk \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Bytes \n",
" 253.50 GiB \n",
" 8.00 MiB \n",
" \n",
" \n",
" \n",
" Shape \n",
" (100, 30984, 10981) \n",
" (1, 1024, 1024) \n",
" \n",
" \n",
" Count \n",
" 102700 Tasks \n",
" 34100 Chunks \n",
" \n",
" \n",
" Type \n",
" float64 \n",
" numpy.ndarray \n",
" \n",
" \n",
"
\n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" 10981 \n",
" 30984 \n",
" 100 \n",
" \n",
" \n",
" \n",
"
Attributes: (4)
spec : RasterSpec(epsg=32732, bounds=(499979.99999708973, 9890200.0, 609789.9999964505, 10200040.0), resolutions_xy=(9.999999999941792, 10.0)) crs : epsg:32732 transform : | 10.00, 0.00, 499980.00|\n",
"| 0.00,-10.00, 10200040.00|\n",
"| 0.00, 0.00, 1.00| resolution_xy : (9.999999999941792, 10.0) "
],
"text/plain": [
"\n",
"Dimensions: (time: 100, y: 30984, x: 10981,\n",
" band: 2)\n",
"Coordinates: (12/43)\n",
" * time (time) datetime64[ns] 2022-01-26...\n",
" id (time) \n",
" B03 (time, y, x) float64 dask.array\n",
"Attributes:\n",
" spec: RasterSpec(epsg=32732, bounds=(499979.99999708973, 989020...\n",
" crs: epsg:32732\n",
" transform: | 10.00, 0.00, 499980.00|\\n| 0.00,-10.00, 10200040.00|\\n|...\n",
" resolution_xy: (9.999999999941792, 10.0)"
]
},
"execution_count": 7,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ic = (\n",
" catalog.search(\n",
" collections=[\"sentinel-2-l2a\"],\n",
" bbox=[9.4, 0, 9.5, 1]\n",
" )\n",
")\n",
"\n",
"ds = ic.to_xarray(assets=[\"B02\", \"B03\"], epsg=32732)\n",
"ds"
]
},
{
"cell_type": "markdown",
"id": "7f88780c-5fe0-4874-a1ce-83e9ea951e65",
"metadata": {},
"source": [
"## Search -> xarray"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "ac96a76b-a4d9-4b01-a378-6b26fd94d256",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"\n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"
<xarray.Dataset>\n",
"Dimensions: (time: 100, y: 30984, x: 10981,\n",
" band: 2)\n",
"Coordinates: (12/43)\n",
" * time (time) datetime64[ns] 2022-01-26...\n",
" id (time) <U54 'S2A_MSIL2A_20220126...\n",
" * x (x) float64 5e+05 ... 6.098e+05\n",
" * y (y) float64 1.02e+07 ... 9.89e+06\n",
" s2:unclassified_percentage (time) float64 4.19 4.19 ... 0.3259\n",
" s2:not_vegetated_percentage (time) float64 2.283 ... 0.321\n",
" ... ...\n",
" gsd float64 10.0\n",
" proj:shape object {10980}\n",
" common_name (band) <U5 'blue' 'green'\n",
" center_wavelength (band) float64 0.49 0.56\n",
" full_width_half_max (band) float64 0.098 0.045\n",
" epsg int64 32732\n",
"Dimensions without coordinates: band\n",
"Data variables:\n",
" B02 (time, y, x) float64 dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>\n",
" B03 (time, y, x) float64 dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>\n",
"Attributes:\n",
" spec: RasterSpec(epsg=32732, bounds=(499979.99999708973, 989020...\n",
" crs: epsg:32732\n",
" transform: | 10.00, 0.00, 499980.00|\\n| 0.00,-10.00, 10200040.00|\\n|...\n",
" resolution_xy: (9.999999999941792, 10.0) Dimensions: time : 100y : 30984x : 10981band : 2
Coordinates: (43)
time
(time)
datetime64[ns]
2022-01-26T09:32:51.024000 ... 2...
array(['2022-01-26T09:32:51.024000000', '2022-01-26T09:32:51.024000000',\n",
" '2022-01-31T09:31:19.024000000', '2022-01-31T09:31:19.024000000',\n",
" '2022-01-31T09:31:19.024000000', '2022-02-05T09:32:01.024000000',\n",
" '2022-02-05T09:32:01.024000000', '2022-02-05T09:32:01.024000000',\n",
" '2022-02-10T09:30:29.024000000', '2022-02-10T09:30:29.024000000',\n",
" '2022-02-10T09:30:29.024000000', '2022-02-15T09:31:01.024000000',\n",
" '2022-02-15T09:31:01.024000000', '2022-02-15T09:31:01.024000000',\n",
" '2022-02-20T09:30:29.024000000', '2022-02-20T09:30:29.024000000',\n",
" '2022-02-25T09:30:41.024000000', '2022-02-25T09:30:41.024000000',\n",
" '2022-02-25T09:30:41.024000000', '2022-03-02T09:30:29.024000000',\n",
" '2022-03-02T09:30:29.024000000', '2022-03-02T09:30:29.024000000',\n",
" '2022-03-07T09:30:41.024000000', '2022-03-07T09:30:41.024000000',\n",
" '2022-03-07T09:30:41.024000000', '2022-03-12T09:30:29.024000000',\n",
" '2022-03-12T09:30:29.024000000', '2022-03-12T09:30:29.024000000',\n",
" '2022-03-17T09:30:41.024000000', '2022-03-17T09:30:41.024000000',\n",
" '2022-03-17T09:30:41.024000000', '2022-03-22T09:30:29.024000000',\n",
" '2022-03-22T09:30:29.024000000', '2022-03-22T09:30:29.024000000',\n",
" '2022-03-27T09:30:41.024000000', '2022-03-27T09:30:41.024000000',\n",
" '2022-03-27T09:30:41.024000000', '2022-04-01T09:30:29.026000000',\n",
" '2022-04-01T09:30:29.026000000', '2022-04-01T09:30:29.026000000',\n",
" '2022-04-06T09:30:41.024000000', '2022-04-06T09:30:41.024000000',\n",
" '2022-04-06T09:30:41.024000000', '2022-04-11T09:30:29.024000000',\n",
" '2022-04-11T09:30:29.024000000', '2022-04-11T09:30:29.024000000',\n",
" '2022-04-16T09:30:41.024000000', '2022-04-16T09:30:41.024000000',\n",
" '2022-04-16T09:30:41.024000000', '2022-04-21T09:30:29.024000000',\n",
" '2022-04-21T09:30:29.024000000', '2022-04-21T09:30:29.024000000',\n",
" '2022-04-26T09:30:41.024000000', '2022-04-26T09:30:41.024000000',\n",
" '2022-04-26T09:30:41.024000000', '2022-05-01T09:30:29.024000000',\n",
" '2022-05-01T09:30:29.024000000', '2022-05-01T09:30:29.024000000',\n",
" '2022-05-06T09:30:41.024000000', '2022-05-06T09:30:41.024000000',\n",
" '2022-05-06T09:30:41.024000000', '2022-05-11T09:30:29.024000000',\n",
" '2022-05-11T09:30:29.024000000', '2022-05-11T09:30:29.024000000',\n",
" '2022-05-16T09:30:41.024000000', '2022-05-16T09:30:41.024000000',\n",
" '2022-05-16T09:30:41.024000000', '2022-05-21T09:30:39.024000000',\n",
" '2022-05-21T09:30:39.024000000', '2022-05-21T09:30:39.024000000',\n",
" '2022-05-26T09:30:41.024000000', '2022-05-26T09:30:41.024000000',\n",
" '2022-05-26T09:30:41.024000000', '2022-05-31T09:30:39.024000000',\n",
" '2022-05-31T09:30:39.024000000', '2022-05-31T09:30:39.024000000',\n",
" '2022-06-05T09:30:41.024000000', '2022-06-05T09:30:41.024000000',\n",
" '2022-06-05T09:30:41.024000000', '2022-06-10T09:30:39.024000000',\n",
" '2022-06-10T09:30:39.024000000', '2022-06-10T09:30:39.024000000',\n",
" '2022-06-15T09:30:51.024000000', '2022-06-15T09:30:51.024000000',\n",
" '2022-06-15T09:30:51.024000000', '2022-06-20T09:30:39.024000000',\n",
" '2022-06-20T09:30:39.024000000', '2022-06-20T09:30:39.024000000',\n",
" '2022-06-25T09:30:51.024000000', '2022-06-25T09:30:51.024000000',\n",
" '2022-06-25T09:30:51.024000000', '2022-06-30T09:30:39.025000000',\n",
" '2022-06-30T09:30:39.025000000', '2022-06-30T09:30:39.025000000',\n",
" '2022-07-05T09:30:51.025000000', '2022-07-05T09:30:51.025000000',\n",
" '2022-07-05T09:30:51.025000000', '2022-07-10T09:30:39.024000000',\n",
" '2022-07-10T09:30:39.024000000', '2022-07-10T09:30:39.024000000'],\n",
" dtype='datetime64[ns]') id
(time)
<U54
'S2A_MSIL2A_20220126T093251_R136...
array(['S2A_MSIL2A_20220126T093251_R136_T32NNG_20220227T203126',\n",
" 'S2A_MSIL2A_20220126T093251_R136_T32NNG_20220211T225246',\n",
" 'S2B_MSIL2A_20220131T093119_R136_T32NNG_20220216T162709',\n",
" 'S2B_MSIL2A_20220131T093119_R136_T32NNF_20220216T170020',\n",
" 'S2B_MSIL2A_20220131T093119_R136_T32MNE_20220216T174639',\n",
" 'S2A_MSIL2A_20220205T093201_R136_T32NNG_20220219T031238',\n",
" 'S2A_MSIL2A_20220205T093201_R136_T32NNF_20220219T032252',\n",
" 'S2A_MSIL2A_20220205T093201_R136_T32MNE_20220219T030508',\n",
" 'S2B_MSIL2A_20220210T093029_R136_T32NNG_20220221T085320',\n",
" 'S2B_MSIL2A_20220210T093029_R136_T32NNF_20220221T083054',\n",
" 'S2B_MSIL2A_20220210T093029_R136_T32MNE_20220221T091151',\n",
" 'S2A_MSIL2A_20220215T093101_R136_T32NNG_20220223T161845',\n",
" 'S2A_MSIL2A_20220215T093101_R136_T32NNF_20220223T163017',\n",
" 'S2A_MSIL2A_20220215T093101_R136_T32MNE_20220223T162726',\n",
" 'S2B_MSIL2A_20220220T093029_R136_T32NNG_20220225T231822',\n",
" 'S2B_MSIL2A_20220220T093029_R136_T32MNE_20220225T220652',\n",
" 'S2A_MSIL2A_20220225T093041_R136_T32NNG_20220301T220536',\n",
" 'S2A_MSIL2A_20220225T093041_R136_T32NNF_20220301T212050',\n",
" 'S2A_MSIL2A_20220225T093041_R136_T32MNE_20220301T212943',\n",
" 'S2B_MSIL2A_20220302T093029_R136_T32NNG_20220304T051349',\n",
"...\n",
" 'S2B_MSIL2A_20220610T093039_R136_T32MNE_20220611T043054',\n",
" 'S2A_MSIL2A_20220615T093051_R136_T32NNG_20220616T091051',\n",
" 'S2A_MSIL2A_20220615T093051_R136_T32NNF_20220616T091856',\n",
" 'S2A_MSIL2A_20220615T093051_R136_T32MNE_20220616T090836',\n",
" 'S2B_MSIL2A_20220620T093039_R136_T32NNG_20220621T141008',\n",
" 'S2B_MSIL2A_20220620T093039_R136_T32NNF_20220621T142153',\n",
" 'S2B_MSIL2A_20220620T093039_R136_T32MNE_20220621T135743',\n",
" 'S2A_MSIL2A_20220625T093051_R136_T32NNG_20220625T220050',\n",
" 'S2A_MSIL2A_20220625T093051_R136_T32NNF_20220625T235736',\n",
" 'S2A_MSIL2A_20220625T093051_R136_T32MNE_20220625T225249',\n",
" 'S2B_MSIL2A_20220630T093039_R136_T32NNG_20220701T010230',\n",
" 'S2B_MSIL2A_20220630T093039_R136_T32NNF_20220701T005051',\n",
" 'S2B_MSIL2A_20220630T093039_R136_T32MNE_20220630T213551',\n",
" 'S2A_MSIL2A_20220705T093051_R136_T32NNG_20220707T051735',\n",
" 'S2A_MSIL2A_20220705T093051_R136_T32NNF_20220707T053020',\n",
" 'S2A_MSIL2A_20220705T093051_R136_T32MNE_20220707T050855',\n",
" 'S2B_MSIL2A_20220710T093039_R136_T32NNG_20220712T095337',\n",
" 'S2B_MSIL2A_20220710T093039_R136_T32NNF_20220712T101012',\n",
" 'S2B_MSIL2A_20220710T093039_R136_T32MNE_20220712T111329'],\n",
" dtype='<U54') x
(x)
float64
5e+05 5e+05 ... 6.098e+05 6.098e+05
array([499979.999997, 499989.999997, 499999.999997, ..., 609759.999996,\n",
" 609769.999996, 609779.999996]) y
(y)
float64
1.02e+07 1.02e+07 ... 9.89e+06
array([10200040., 10200030., 10200020., ..., 9890230., 9890220., 9890210.]) s2:unclassified_percentage
(time)
float64
4.19 4.19 5.362 ... 2.739 0.3259
array([4.1903780e+00, 4.1903780e+00, 5.3621990e+00, 8.8483000e-02,\n",
" 8.8852690e+00, 1.0758800e-01, 9.1909020e+00, 8.1323720e+00,\n",
" 0.0000000e+00, 1.2475000e-02, 8.0230000e-03, 4.8916390e+00,\n",
" 8.6837340e+00, 4.0291570e+00, 3.1472000e-02, 1.0899100e-01,\n",
" 2.6544640e+00, 6.2394220e+00, 6.0719740e+00, 6.7767160e+00,\n",
" 8.2441760e+00, 1.4580967e+01, 3.1626000e-02, 4.9140000e-03,\n",
" 1.2030580e+00, 0.0000000e+00, 0.0000000e+00, 1.8910000e-03,\n",
" 3.9933910e+00, 1.4302180e+00, 4.1774680e+00, 0.0000000e+00,\n",
" 1.8278000e-02, 1.2780000e-02, 9.9777000e-02, 4.9842940e+00,\n",
" 6.8609490e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 1.6386080e+00, 3.2810000e-02, 2.0812340e+00, 1.4714350e+00,\n",
" 8.0520000e-03, 3.1291000e-02, 4.8476000e-01, 7.6522600e-01,\n",
" 1.1171340e+00, 1.1517940e+00, 1.0931820e+00, 1.6629870e+00,\n",
" 7.0700000e-04, 3.3500000e-04, 1.0920000e-03, 2.0961010e+00,\n",
" 1.0142570e+00, 1.7169820e+00, 4.0600400e-01, 1.2162040e+00,\n",
" 2.2330580e+00, 1.0109000e-02, 2.0504380e+00, 7.3036300e-01,\n",
" 9.7043500e-01, 1.4634860e+00, 2.6642280e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 7.5120000e-03, 0.0000000e+00,\n",
" 2.9530000e-03, 5.3099000e-02, 6.8580000e-03, 1.2674000e-02,\n",
" 0.0000000e+00, 3.1679400e-01, 7.8016360e+00, 1.8510000e-02,\n",
" 3.1326340e+00, 4.0637000e-02, 5.5482730e+00, 3.8557540e+00,\n",
" 8.6977510e+00, 4.3095000e-02, 0.0000000e+00, 4.7728010e+00,\n",
" 1.9471470e+00, 0.0000000e+00, 3.9784210e+00, 8.3554500e-01,\n",
" 2.8515200e-01, 3.2827700e-01, 5.0372060e+00, 2.7403760e+00,\n",
" 3.5679400e-01, 3.0524780e+00, 2.7389950e+00, 3.2585200e-01]) s2:not_vegetated_percentage
(time)
float64
2.283 2.283 2.519 ... 0.7237 0.321
array([2.282992e+00, 2.282992e+00, 2.518658e+00, 1.192600e-01,\n",
" 3.717891e+00, 2.742360e-01, 4.443004e+00, 3.566687e+00,\n",
" 0.000000e+00, 0.000000e+00, 0.000000e+00, 1.413496e+00,\n",
" 3.150295e+00, 3.568117e+00, 8.235900e-02, 2.268870e-01,\n",
" 2.298771e+00, 3.527377e+00, 2.950143e+00, 2.036981e+00,\n",
" 2.798829e+00, 3.884131e+00, 4.447200e-02, 1.031500e-02,\n",
" 6.187670e-01, 0.000000e+00, 0.000000e+00, 2.820000e-04,\n",
" 1.145753e+00, 5.868360e-01, 1.293884e+00, 0.000000e+00,\n",
" 1.300000e-05, 0.000000e+00, 5.841400e-02, 1.735575e+00,\n",
" 1.686617e+00, 0.000000e+00, 1.000000e-05, 0.000000e+00,\n",
" 3.558880e-01, 1.339700e-02, 1.978390e-01, 2.668570e-01,\n",
" 2.422400e-02, 7.786300e-02, 3.249960e-01, 4.167520e-01,\n",
" 4.610670e-01, 1.752810e-01, 1.094804e+00, 4.652110e-01,\n",
" 1.890000e-04, 6.317000e-03, 5.378000e-03, 3.555260e-01,\n",
" 9.440180e-01, 5.345740e-01, 2.895010e-01, 1.099625e+00,\n",
" 2.496140e-01, 3.007300e-02, 1.080461e+00, 2.857060e-01,\n",
" 3.530150e-01, 7.281730e-01, 1.165836e+00, 0.000000e+00,\n",
" 0.000000e+00, 0.000000e+00, 9.600000e-05, 0.000000e+00,\n",
" 0.000000e+00, 8.830000e-04, 0.000000e+00, 0.000000e+00,\n",
" 0.000000e+00, 2.066144e+00, 6.928623e+00, 2.006300e-02,\n",
" 2.414551e+00, 1.445120e-01, 9.392770e-01, 2.113998e+00,\n",
" 2.494876e+00, 1.246200e-02, 0.000000e+00, 9.012210e-01,\n",
" 2.219170e-01, 0.000000e+00, 2.457988e+00, 2.659450e-01,\n",
" 5.863520e-01, 2.920200e-01, 2.013971e+00, 1.258801e+00,\n",
" 9.151600e-02, 5.457680e-01, 7.236870e-01, 3.209640e-01]) s2:vegetation_percentage
(time)
float64
28.49 28.49 3.723 ... 5.547 1.237
array([2.8494897e+01, 2.8494897e+01, 3.7227780e+00, 6.0230400e-01,\n",
" 6.7588600e+00, 2.5230200e-01, 7.2609680e+00, 2.1484430e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 1.9938010e+01,\n",
" 1.8040803e+01, 3.5138625e+01, 6.0945500e-01, 1.4497300e-01,\n",
" 2.8025207e+01, 7.5333260e+00, 4.0561721e+01, 5.6849650e+00,\n",
" 1.3911785e+01, 2.2351953e+01, 3.3847900e-01, 2.3286900e-01,\n",
" 1.5599656e+01, 0.0000000e+00, 0.0000000e+00, 3.9091000e-02,\n",
" 2.1825106e+01, 5.0247910e+00, 1.0098778e+01, 3.0000000e-06,\n",
" 4.4144000e-02, 4.2163000e-02, 8.1311600e-01, 1.5452142e+01,\n",
" 2.0508933e+01, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 8.9206740e+00, 1.5464800e-01, 4.3568040e+00, 4.3732900e+00,\n",
" 3.3949100e-01, 5.3845500e-01, 1.5184489e+01, 1.1475161e+01,\n",
" 2.1744528e+01, 1.4091799e+01, 2.4324933e+01, 2.8601906e+01,\n",
" 3.9807000e-02, 3.5534000e-02, 5.2372000e-02, 7.5629280e+00,\n",
" 1.8114685e+01, 2.5988770e+01, 2.5731888e+01, 1.3495958e+01,\n",
" 5.8338560e+00, 8.6977000e-02, 1.3036303e+01, 8.6144040e+00,\n",
" 9.0126020e+00, 1.3368921e+01, 1.2800677e+01, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 7.5650000e-03, 0.0000000e+00,\n",
" 2.1860000e-03, 3.6927900e-01, 3.9200000e-04, 3.6160000e-03,\n",
" 0.0000000e+00, 9.4930000e-02, 7.1329720e+00, 1.6535000e-02,\n",
" 4.5728910e+00, 1.3055000e-01, 1.0405012e+01, 7.1835960e+00,\n",
" 1.4622837e+01, 6.9118900e-01, 0.0000000e+00, 5.4689030e+00,\n",
" 8.6030740e+00, 0.0000000e+00, 1.5147328e+01, 1.6029610e+00,\n",
" 9.4359300e-01, 7.1914200e-01, 1.1977798e+01, 4.5419360e+00,\n",
" 2.9267000e-01, 7.3530940e+00, 5.5465210e+00, 1.2368210e+00]) s2:datatake_type
()
<U8
'INS-NOBS'
array('INS-NOBS', dtype='<U8') eo:cloud_cover
(time)
float64
31.86 31.86 72.23 ... 68.18 78.52
array([ 31.861645, 31.861645, 72.233349, 84.23242 , 75.849092,\n",
" 71.334112, 36.364982, 71.224791, 99.142045, 99.906605,\n",
" 99.837601, 26.79213 , 25.446066, 38.147709, 92.274898,\n",
" 92.695457, 14.417477, 44.045162, 26.504228, 38.089094,\n",
" 46.706563, 38.851953, 89.106488, 98.220617, 73.140067,\n",
" 99.292749, 99.984759, 99.662882, 25.189388, 75.027752,\n",
" 82.056636, 99.995649, 98.107791, 99.765587, 83.436191,\n",
" 50.469458, 47.708932, 100. , 99.999958, 99.953192,\n",
" 82.920182, 86.556649, 82.889229, 65.112549, 90.771818,\n",
" 94.627321, 44.364241, 49.611434, 52.90342 , 39.246562,\n",
" 27.289197, 41.145855, 97.073066, 97.473019, 98.807198,\n",
" 61.491019, 44.57233 , 40.932187, 31.051832, 65.588689,\n",
" 91.048092, 90.142995, 49.703017, 72.725302, 58.075714,\n",
" 57.406908, 59.954602, 100. , 100. , 100. ,\n",
" 95.526582, 99.999702, 99.876261, 95.77809 , 98.130369,\n",
" 98.347533, 99.949104, 90.362376, 76.680422, 72.520459,\n",
" 70.604146, 78.647184, 58.553779, 61.808556, 56.622493,\n",
" 94.910634, 99.999523, 86.967117, 79.077148, 99.991983,\n",
" 70.218736, 71.797997, 68.115538, 77.252722, 56.683403,\n",
" 80.056298, 90.203667, 58.591008, 68.179029, 78.524631]) s2:product_type
()
<U7
'S2MSI2A'
array('S2MSI2A', dtype='<U7') s2:cloud_shadow_percentage
(time)
float64
0.362 0.362 1.879 ... 0.7559 5.733
array([3.6199600e-01, 3.6199600e-01, 1.8786730e+00, 5.4776720e+00,\n",
" 1.9875320e+00, 4.9367260e+00, 9.1991400e-01, 5.5115900e-01,\n",
" 0.0000000e+00, 8.0906000e-02, 6.4635000e-02, 1.3637650e+00,\n",
" 2.0395100e-01, 2.3071020e+00, 5.4045400e-01, 5.9719410e+00,\n",
" 1.6330900e+00, 1.9142900e-01, 4.6753000e+00, 3.0918510e+00,\n",
" 1.7151900e-01, 1.3517810e+00, 4.7555180e+00, 6.0624600e-01,\n",
" 5.9106280e+00, 1.2300000e-04, 3.0000000e-06, 5.0199000e-02,\n",
" 1.8149970e+00, 1.1523950e+00, 8.2527300e-01, 0.0000000e+00,\n",
" 1.2782040e+00, 1.5454800e-01, 6.9917780e+00, 3.0474000e-01,\n",
" 6.1477270e+00, 0.0000000e+00, 3.0000000e-05, 3.6742000e-02,\n",
" 3.2498900e-01, 4.9434010e+00, 2.3888470e+00, 1.6893810e+00,\n",
" 1.8932150e+00, 1.7392380e+00, 4.8706950e+00, 5.4660680e+00,\n",
" 1.1514550e+01, 5.3134590e+00, 5.8114170e+00, 1.0032644e+01,\n",
" 1.8421000e-02, 6.5975200e-01, 3.0701000e-01, 3.2721760e+00,\n",
" 3.8994300e+00, 1.1514056e+01, 1.9676550e+00, 8.6006000e-01,\n",
" 4.3550000e-02, 7.5583000e-01, 2.3799690e+00, 3.7290490e+00,\n",
" 5.1844690e+00, 6.0858090e+00, 6.7157800e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 1.0632710e+00, 3.0000000e-06,\n",
" 1.0369200e-01, 2.0048570e+00, 3.4950100e-01, 1.9062000e-01,\n",
" 5.0899000e-02, 4.4489930e+00, 5.6809400e-01, 4.5639300e-01,\n",
" 2.2432000e-02, 7.1155040e+00, 2.4405400e-01, 0.0000000e+00,\n",
" 3.7747000e-02, 4.2197070e+00, 4.3800000e-04, 1.6119100e-01,\n",
" 2.4077200e-01, 1.1610000e-03, 1.7409000e-01, 3.7878900e+00,\n",
" 4.0613630e+00, 6.3058880e+00, 2.3990000e-03, 0.0000000e+00,\n",
" 4.2030550e+00, 1.7447720e+00, 7.5587300e-01, 5.7326120e+00]) s2:mgrs_tile
(time)
<U5
'32NNG' '32NNG' ... '32NNF' '32MNE'
array(['32NNG', '32NNG', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF',\n",
" '32MNE', '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE',\n",
" '32NNG', '32NNF', '32MNE', '32NNG', '32NNF', '32MNE', '32NNG',\n",
" '32NNF', '32MNE'], dtype='<U5') s2:datastrip_id
(time)
<U64
'S2A_OPER_MSI_L2A_DS_ESRI_202202...
array(['S2A_OPER_MSI_L2A_DS_ESRI_20220227T203127_S20220126T094615_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220211T225247_S20220126T094615_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220216T162710_S20220131T094132_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220216T170021_S20220131T094132_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220216T174641_S20220131T094132_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220219T031238_S20220205T094618_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220219T032253_S20220205T094618_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220219T030509_S20220205T094618_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220221T085321_S20220210T094038_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220221T083055_S20220210T094038_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220221T091153_S20220210T094038_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220223T161846_S20220215T094616_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220223T163018_S20220215T094616_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220223T162727_S20220215T094616_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220225T231824_S20220220T093745_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220225T220653_S20220220T095019_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220301T220537_S20220225T094944_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220301T212050_S20220225T094944_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220301T212943_S20220225T094944_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220304T051349_S20220302T094819_N04.00',\n",
"...\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220611T043055_S20220610T095019_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220616T091052_S20220615T094315_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220616T091857_S20220615T094315_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220616T090837_S20220615T094315_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220621T141008_S20220620T094927_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220621T142153_S20220620T094927_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220621T135743_S20220620T094927_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220625T220052_S20220625T094317_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220625T235737_S20220625T094317_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220625T225250_S20220625T094317_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220701T010231_S20220630T094125_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220701T005052_S20220630T094125_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220630T213552_S20220630T094125_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220707T051736_S20220705T094238_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220707T053022_S20220705T094238_N04.00',\n",
" 'S2A_OPER_MSI_L2A_DS_ESRI_20220707T050857_S20220705T094238_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220712T095338_S20220710T094237_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220712T101014_S20220710T094237_N04.00',\n",
" 'S2B_OPER_MSI_L2A_DS_ESRI_20220712T111330_S20220710T094237_N04.00'],\n",
" dtype='<U64') s2:medium_proba_clouds_percentage
(time)
float64
2.363 2.363 20.26 ... 16.18 10.78
array([ 2.362713, 2.362713, 20.256709, 18.678531, 18.071792,\n",
" 14.272928, 14.005518, 19.733107, 52.257973, 56.783301,\n",
" 33.732548, 7.836401, 11.867764, 12.108845, 45.137927,\n",
" 21.847041, 4.924957, 12.553455, 11.679082, 12.767433,\n",
" 14.835037, 17.294733, 19.156234, 14.35255 , 13.343738,\n",
" 8.631478, 3.832167, 20.710227, 7.956483, 17.532553,\n",
" 28.592262, 52.385193, 48.743111, 39.71734 , 19.807462,\n",
" 14.594567, 18.778978, 17.687227, 25.936005, 22.958912,\n",
" 14.739805, 17.214917, 13.450317, 12.999596, 28.811714,\n",
" 34.248084, 12.195566, 15.501006, 16.327991, 10.730598,\n",
" 9.682204, 12.568286, 51.750439, 41.838738, 46.003306,\n",
" 14.193723, 11.114323, 13.621753, 8.511207, 14.913142,\n",
" 28.777891, 20.624447, 18.29455 , 27.417535, 23.287424,\n",
" 19.889215, 18.064801, 100. , 99.899417, 44.55148 ,\n",
" 18.315029, 4.781285, 1.792293, 56.075662, 12.385251,\n",
" 5.231287, 69.804412, 52.588165, 40.740743, 7.494242,\n",
" 15.911995, 13.799044, 15.776251, 11.632868, 15.167773,\n",
" 25.922105, 10.788627, 19.343492, 7.874609, 0.363635,\n",
" 7.303055, 20.910753, 13.672224, 10.325556, 10.363642,\n",
" 10.146154, 9.552294, 18.817337, 16.181996, 10.782711]) s2:product_uri
(time)
<U65
'S2A_MSIL2A_20220126T093251_N040...
array(['S2A_MSIL2A_20220126T093251_N0400_R136_T32NNG_20220227T203126.SAFE',\n",
" 'S2A_MSIL2A_20220126T093251_N0400_R136_T32NNG_20220211T225246.SAFE',\n",
" 'S2B_MSIL2A_20220131T093119_N0400_R136_T32NNG_20220216T162709.SAFE',\n",
" 'S2B_MSIL2A_20220131T093119_N0400_R136_T32NNF_20220216T170020.SAFE',\n",
" 'S2B_MSIL2A_20220131T093119_N0400_R136_T32MNE_20220216T174639.SAFE',\n",
" 'S2A_MSIL2A_20220205T093201_N0400_R136_T32NNG_20220219T031238.SAFE',\n",
" 'S2A_MSIL2A_20220205T093201_N0400_R136_T32NNF_20220219T032252.SAFE',\n",
" 'S2A_MSIL2A_20220205T093201_N0400_R136_T32MNE_20220219T030508.SAFE',\n",
" 'S2B_MSIL2A_20220210T093029_N0400_R136_T32NNG_20220221T085320.SAFE',\n",
" 'S2B_MSIL2A_20220210T093029_N0400_R136_T32NNF_20220221T083054.SAFE',\n",
" 'S2B_MSIL2A_20220210T093029_N0400_R136_T32MNE_20220221T091151.SAFE',\n",
" 'S2A_MSIL2A_20220215T093101_N0400_R136_T32NNG_20220223T161845.SAFE',\n",
" 'S2A_MSIL2A_20220215T093101_N0400_R136_T32NNF_20220223T163017.SAFE',\n",
" 'S2A_MSIL2A_20220215T093101_N0400_R136_T32MNE_20220223T162726.SAFE',\n",
" 'S2B_MSIL2A_20220220T093029_N0400_R136_T32NNG_20220225T231822.SAFE',\n",
" 'S2B_MSIL2A_20220220T093029_N0400_R136_T32MNE_20220225T220652.SAFE',\n",
" 'S2A_MSIL2A_20220225T093041_N0400_R136_T32NNG_20220301T220536.SAFE',\n",
" 'S2A_MSIL2A_20220225T093041_N0400_R136_T32NNF_20220301T212050.SAFE',\n",
" 'S2A_MSIL2A_20220225T093041_N0400_R136_T32MNE_20220301T212943.SAFE',\n",
" 'S2B_MSIL2A_20220302T093029_N0400_R136_T32NNG_20220304T051349.SAFE',\n",
"...\n",
" 'S2B_MSIL2A_20220610T093039_N0400_R136_T32MNE_20220611T043054.SAFE',\n",
" 'S2A_MSIL2A_20220615T093051_N0400_R136_T32NNG_20220616T091051.SAFE',\n",
" 'S2A_MSIL2A_20220615T093051_N0400_R136_T32NNF_20220616T091856.SAFE',\n",
" 'S2A_MSIL2A_20220615T093051_N0400_R136_T32MNE_20220616T090836.SAFE',\n",
" 'S2B_MSIL2A_20220620T093039_N0400_R136_T32NNG_20220621T141008.SAFE',\n",
" 'S2B_MSIL2A_20220620T093039_N0400_R136_T32NNF_20220621T142153.SAFE',\n",
" 'S2B_MSIL2A_20220620T093039_N0400_R136_T32MNE_20220621T135743.SAFE',\n",
" 'S2A_MSIL2A_20220625T093051_N0400_R136_T32NNG_20220625T220050.SAFE',\n",
" 'S2A_MSIL2A_20220625T093051_N0400_R136_T32NNF_20220625T235736.SAFE',\n",
" 'S2A_MSIL2A_20220625T093051_N0400_R136_T32MNE_20220625T225249.SAFE',\n",
" 'S2B_MSIL2A_20220630T093039_N0400_R136_T32NNG_20220701T010230.SAFE',\n",
" 'S2B_MSIL2A_20220630T093039_N0400_R136_T32NNF_20220701T005051.SAFE',\n",
" 'S2B_MSIL2A_20220630T093039_N0400_R136_T32MNE_20220630T213551.SAFE',\n",
" 'S2A_MSIL2A_20220705T093051_N0400_R136_T32NNG_20220707T051735.SAFE',\n",
" 'S2A_MSIL2A_20220705T093051_N0400_R136_T32NNF_20220707T053020.SAFE',\n",
" 'S2A_MSIL2A_20220705T093051_N0400_R136_T32MNE_20220707T050855.SAFE',\n",
" 'S2B_MSIL2A_20220710T093039_N0400_R136_T32NNG_20220712T095337.SAFE',\n",
" 'S2B_MSIL2A_20220710T093039_N0400_R136_T32NNF_20220712T101012.SAFE',\n",
" 'S2B_MSIL2A_20220710T093039_N0400_R136_T32MNE_20220712T111329.SAFE'],\n",
" dtype='<U65') s2:nodata_pixel_percentage
(time)
float64
0.0 0.0 0.0 0.0 ... 3e-06 0.0 0.0
array([0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 1.6895404e+01, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 2.7000000e-05, 3.1900000e-04,\n",
" 5.6000000e-05, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 1.3000000e-05, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 2.0539255e+01,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 7.0000000e-06, 0.0000000e+00,\n",
" 0.0000000e+00, 3.0000000e-06, 0.0000000e+00, 0.0000000e+00]) s2:dark_features_percentage
(time)
float64
0.1486 0.1486 ... 0.02359 0.00348
array([1.48603e-01, 1.48603e-01, 1.78500e-03, 1.26100e-03, 1.03350e-02,\n",
" 8.46000e-04, 3.06200e-03, 1.35700e-03, 0.00000e+00, 0.00000e+00,\n",
" 0.00000e+00, 3.17580e-02, 9.60050e-02, 6.30090e-02, 1.76100e-03,\n",
" 7.53000e-04, 4.82980e-02, 3.10950e-02, 7.07200e-02, 4.49200e-03,\n",
" 4.32780e-02, 5.09590e-02, 1.65200e-03, 3.42000e-04, 2.01130e-02,\n",
" 0.00000e+00, 0.00000e+00, 0.00000e+00, 3.97100e-03, 1.73000e-04,\n",
" 4.89000e-03, 0.00000e+00, 1.70000e-05, 0.00000e+00, 7.30000e-04,\n",
" 5.20930e-02, 1.86560e-02, 0.00000e+00, 0.00000e+00, 0.00000e+00,\n",
" 1.30890e-02, 8.86000e-04, 2.37900e-03, 3.83900e-03, 9.82000e-04,\n",
" 2.45900e-03, 1.40880e-02, 5.12600e-03, 1.64600e-02, 1.82880e-02,\n",
" 3.51720e-02, 2.72300e-02, 5.01000e-04, 7.00000e-06, 5.11000e-04,\n",
" 1.05610e-02, 1.29860e-02, 2.96520e-02, 4.89780e-02, 1.41770e-02,\n",
" 4.79260e-02, 6.74000e-04, 1.65630e-02, 1.66200e-03, 6.31100e-03,\n",
" 4.25300e-03, 7.18000e-03, 0.00000e+00, 0.00000e+00, 0.00000e+00,\n",
" 0.00000e+00, 0.00000e+00, 0.00000e+00, 2.52800e-03, 0.00000e+00,\n",
" 0.00000e+00, 0.00000e+00, 1.22400e-03, 4.48200e-03, 2.00000e-04,\n",
" 4.65200e-03, 1.63000e-04, 4.05310e-02, 4.40010e-02, 1.35670e-01,\n",
" 9.22000e-04, 0.00000e+00, 3.70700e-02, 9.04800e-03, 0.00000e+00,\n",
" 3.90580e-02, 2.14700e-03, 3.46700e-03, 1.71500e-03, 1.53510e-01,\n",
" 1.12670e-02, 5.10300e-03, 1.32720e-01, 2.35870e-02, 3.48000e-03]) s2:reflectance_conversion_factor
(time)
float64
1.032 1.032 1.031 ... 0.9674 0.9674
array([1.03242112, 1.03242112, 1.0313223 , 1.0313223 , 1.0313223 ,\n",
" 1.02998837, 1.02998837, 1.02998837, 1.02843136, 1.02843136,\n",
" 1.02843136, 1.02666334, 1.02666334, 1.02666334, 1.02469969,\n",
" 1.02469969, 1.0225561 , 1.0225561 , 1.0225561 , 1.02025036,\n",
" 1.02025036, 1.02025036, 1.01780088, 1.01780088, 1.01780088,\n",
" 1.0152275 , 1.0152275 , 1.0152275 , 1.01255034, 1.01255034,\n",
" 1.01255034, 1.00979064, 1.00979064, 1.00979064, 1.00696946,\n",
" 1.00696946, 1.00696946, 1.00410867, 1.00410867, 1.00410867,\n",
" 1.00122957, 1.00122957, 1.00122957, 0.99835394, 0.99835394,\n",
" 0.99835394, 0.99550262, 0.99550262, 0.99550262, 0.99269664,\n",
" 0.99269664, 0.99269664, 0.98995581, 0.98995581, 0.98995581,\n",
" 0.98729986, 0.98729986, 0.98729986, 0.98474704, 0.98474704,\n",
" 0.98474704, 0.98231527, 0.98231527, 0.98231527, 0.98002088,\n",
" 0.98002088, 0.98002088, 0.97787956, 0.97787956, 0.97787956,\n",
" 0.9759055 , 0.9759055 , 0.9759055 , 0.97411179, 0.97411179,\n",
" 0.97411179, 0.97251013, 0.97251013, 0.97251013, 0.97111096,\n",
" 0.97111096, 0.97111096, 0.96992323, 0.96992323, 0.96992323,\n",
" 0.96895465, 0.96895465, 0.96895465, 0.96821127, 0.96821127,\n",
" 0.96821127, 0.96769789, 0.96769789, 0.96769789, 0.9674177 ,\n",
" 0.9674177 , 0.9674177 , 0.96737249, 0.96737249, 0.96737249]) s2:high_proba_clouds_percentage
(time)
float64
0.6281 0.6281 40.58 ... 46.11 66.68
array([ 0.628084, 0.628084, 40.583992, 21.564554, 20.277481, 23.819174,\n",
" 22.15472 , 50.136232, 22.694172, 38.791299, 57.244295, 2.616707,\n",
" 6.025099, 3.343549, 22.423942, 32.151905, 5.747655, 28.093126,\n",
" 11.269747, 21.504687, 28.38442 , 19.218108, 28.740543, 22.348094,\n",
" 23.078048, 87.803292, 95.067793, 73.485464, 6.236389, 19.056636,\n",
" 26.711217, 38.302299, 22.778571, 28.769973, 50.61751 , 16.737184,\n",
" 25.917226, 80.640739, 51.435572, 56.447327, 61.421198, 66.06338 ,\n",
" 66.844934, 35.451466, 21.718737, 27.883488, 23.967972, 32.227406,\n",
" 36.17101 , 19.800624, 16.662881, 23.739809, 15.794715, 18.56955 ,\n",
" 19.349697, 34.496167, 21.052246, 26.063952, 4.180697, 40.643391,\n",
" 53.745127, 62.111032, 26.82932 , 40.072662, 26.4833 , 28.999138,\n",
" 34.271979, 0. , 0.100584, 55.384374, 72.670227, 95.213664,\n",
" 98.031819, 31.006062, 83.904022, 92.736441, 30.035052, 26.589301,\n",
" 12.403695, 59.205872, 48.565295, 60.514867, 41.342255, 47.601169,\n",
" 41.376498, 66.643548, 88.984537, 63.568574, 66.386616, 99.628347,\n",
" 56.584328, 40.188289, 53.952378, 63.87139 , 44.027394, 68.633813,\n",
" 80.491626, 24.85355 , 46.114162, 66.680747]) sat:orbit_state
()
<U10
'descending'
array('descending', dtype='<U10') s2:datatake_id
(time)
<U34
'GS2A_20220126T093251_034453_N04...
array(['GS2A_20220126T093251_034453_N04.00',\n",
" 'GS2A_20220126T093251_034453_N04.00',\n",
" 'GS2B_20220131T093119_025616_N04.00',\n",
" 'GS2B_20220131T093119_025616_N04.00',\n",
" 'GS2B_20220131T093119_025616_N04.00',\n",
" 'GS2A_20220205T093201_034596_N04.00',\n",
" 'GS2A_20220205T093201_034596_N04.00',\n",
" 'GS2A_20220205T093201_034596_N04.00',\n",
" 'GS2B_20220210T093029_025759_N04.00',\n",
" 'GS2B_20220210T093029_025759_N04.00',\n",
" 'GS2B_20220210T093029_025759_N04.00',\n",
" 'GS2A_20220215T093101_034739_N04.00',\n",
" 'GS2A_20220215T093101_034739_N04.00',\n",
" 'GS2A_20220215T093101_034739_N04.00',\n",
" 'GS2B_20220220T093029_025902_N04.00',\n",
" 'GS2B_20220220T093029_025902_N04.00',\n",
" 'GS2A_20220225T093041_034882_N04.00',\n",
" 'GS2A_20220225T093041_034882_N04.00',\n",
" 'GS2A_20220225T093041_034882_N04.00',\n",
" 'GS2B_20220302T093029_026045_N04.00',\n",
"...\n",
" 'GS2B_20220610T093039_027475_N04.00',\n",
" 'GS2B_20220610T093039_027475_N04.00',\n",
" 'GS2A_20220615T093051_036455_N04.00',\n",
" 'GS2A_20220615T093051_036455_N04.00',\n",
" 'GS2A_20220615T093051_036455_N04.00',\n",
" 'GS2B_20220620T093039_027618_N04.00',\n",
" 'GS2B_20220620T093039_027618_N04.00',\n",
" 'GS2B_20220620T093039_027618_N04.00',\n",
" 'GS2A_20220625T093051_036598_N04.00',\n",
" 'GS2A_20220625T093051_036598_N04.00',\n",
" 'GS2A_20220625T093051_036598_N04.00',\n",
" 'GS2B_20220630T093039_027761_N04.00',\n",
" 'GS2B_20220630T093039_027761_N04.00',\n",
" 'GS2B_20220630T093039_027761_N04.00',\n",
" 'GS2A_20220705T093051_036741_N04.00',\n",
" 'GS2A_20220705T093051_036741_N04.00',\n",
" 'GS2A_20220705T093051_036741_N04.00',\n",
" 'GS2B_20220710T093039_027904_N04.00',\n",
" 'GS2B_20220710T093039_027904_N04.00',\n",
" 'GS2B_20220710T093039_027904_N04.00'], dtype='<U34') s2:mean_solar_azimuth
(time)
float64
129.3 129.3 126.9 ... 45.54 44.46
array([129.25028437, 129.25028437, 126.92246889, 125.79789101,\n",
" 124.62730789, 124.43655976, 123.2403182 , 121.99700095,\n",
" 121.69410687, 120.41928919, 119.09683004, 118.77133517,\n",
" 117.40907334, 115.99882569, 115.56543398, 112.60964464,\n",
" 112.15384967, 110.60039936, 109.00120848, 108.43481552,\n",
" 106.78343197, 105.08961627, 104.48744489, 102.73679113,\n",
" 100.94873021, 100.25950324, 98.42029778, 96.5510532 ,\n",
" 95.82277061, 93.90393539, 91.96450126, 91.18669589,\n",
" 89.21126561, 87.22674687, 86.42424138, 84.41254599,\n",
" 82.40452848, 81.61700492, 79.60131138, 77.60234272,\n",
" 76.8383811 , 74.84344896, 72.87754814, 72.2134995 ,\n",
" 70.26901238, 68.36401399, 67.78151833, 65.90573991,\n",
" 64.0776318 , 63.70193737, 61.91480381, 60.180628 ,\n",
" 59.90678944, 58.21259387, 56.57459158, 56.59882188,\n",
" 55.00438955, 53.46687169, 53.60476689, 52.10358931,\n",
" 50.65914152, 51.1099999 , 49.69796764, 48.34110292,\n",
" 48.95218351, 47.61901156, 46.33907984, 47.24512437,\n",
" 45.98151848, 44.76900471, 45.84626613, 44.64093856,\n",
" 43.48460349, 44.86974509, 43.71261096, 42.60250151,\n",
" 44.13671929, 43.0167377 , 41.94214154, 43.76926799,\n",
" 42.67675617, 41.62824475, 43.60878222, 42.53373689,\n",
" 41.50166545, 43.77963155, 42.71330126, 41.68911844,\n",
" 44.12643204, 43.05947277, 42.03431834, 44.77803964,\n",
" 43.70231983, 42.66816102, 45.57667211, 44.48299229,\n",
" 43.43102662, 46.66173483, 45.54207901, 44.46455811]) s2:mean_solar_zenith
(time)
float64
32.45 32.45 31.9 ... 32.08 32.68
array([32.45430587, 32.45430587, 31.90233803, 31.31666645, 30.74487203,\n",
" 31.22216884, 30.66750941, 30.12817517, 30.50518169, 29.98602653,\n",
" 29.48372341, 29.69130227, 29.21130399, 28.74996472, 28.88932509,\n",
" 28.03880811, 28.02361346, 27.63686952, 27.27270411, 27.23019167,\n",
" 26.89819573, 26.59087056, 26.4266075 , 26.15424718, 25.90858703,\n",
" 25.74333314, 25.53620238, 25.35762714, 25.10525486, 24.9676302 ,\n",
" 24.86020255, 24.63363298, 24.56943202, 24.53639085, 24.25599293,\n",
" 24.26739898, 24.31049196, 24.07723376, 24.16464166, 24.28352469,\n",
" 24.01334256, 24.17553083, 24.36831843, 24.14162044, 24.37482358,\n",
" 24.63725434, 24.37391563, 24.67365645, 25.00078068, 24.79918287,\n",
" 25.15842104, 25.5429822 , 25.2708987 , 25.68380524, 26.11992813,\n",
" 25.90999059, 26.36815414, 26.84742539, 26.53787038, 27.03563795,\n",
" 27.55267464, 27.26130107, 27.79101055, 28.33828804, 27.95088304,\n",
" 28.5075032 , 29.08018373, 28.66807171, 29.24530894, 29.83744035,\n",
" 29.31731249, 29.91114698, 30.51886052, 29.96039494, 30.56549842,\n",
" 31.18376639, 30.48864412, 31.10215318, 31.72824755, 30.97165746,\n",
" 31.5892335 , 32.21905111, 31.31705945, 31.93641829, 32.56777941,\n",
" 31.60019718, 32.21750632, 32.8467487 , 31.73016099, 32.34344697,\n",
" 32.96876517, 31.78790729, 32.39359019, 33.01151655, 31.67905084,\n",
" 32.27540505, 32.8843324 , 31.49625419, 32.0796653 , 32.67622379]) constellation
()
<U10
'Sentinel 2'
array('Sentinel 2', dtype='<U10') proj:epsg
(time)
int64
32632 32632 32632 ... 32632 32732
array([32632, 32632, 32632, 32632, 32732, 32632, 32632, 32732, 32632,\n",
" 32632, 32732, 32632, 32632, 32732, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732, 32632, 32632, 32732, 32632, 32632, 32732, 32632, 32632,\n",
" 32732]) s2:thin_cirrus_percentage
(time)
float64
28.87 28.87 11.39 ... 5.883 1.061
array([2.8870851e+01, 2.8870851e+01, 1.1392650e+01, 4.3989334e+01,\n",
" 3.7499818e+01, 3.3242002e+01, 2.0474400e-01, 1.3554530e+00,\n",
" 2.4189903e+01, 4.3320030e+00, 8.8607530e+00, 1.6339023e+01,\n",
" 7.5532030e+00, 2.2695316e+01, 2.4713036e+01, 3.8696519e+01,\n",
" 3.7448650e+00, 3.3985820e+00, 3.5554000e+00, 3.8169750e+00,\n",
" 3.4871050e+00, 2.3391100e+00, 4.1209707e+01, 6.1519969e+01,\n",
" 3.6718282e+01, 2.8579830e+00, 1.0847970e+00, 5.4671850e+00,\n",
" 1.0996516e+01, 3.8438562e+01, 2.6753163e+01, 9.3081580e+00,\n",
" 2.6586109e+01, 3.1278270e+01, 1.3011222e+01, 1.9137710e+01,\n",
" 3.0127270e+00, 1.6720280e+00, 2.2628382e+01, 2.0546949e+01,\n",
" 6.7591820e+00, 3.2783530e+00, 2.5939730e+00, 1.6661488e+01,\n",
" 4.0241367e+01, 3.2495752e+01, 8.2007010e+00, 1.8830220e+00,\n",
" 4.0442200e-01, 8.7153390e+00, 9.4411100e-01, 4.8377610e+00,\n",
" 2.9527915e+01, 3.7064731e+01, 3.3454195e+01, 1.2801129e+01,\n",
" 1.2405762e+01, 1.2464820e+00, 1.8359928e+01, 1.0032153e+01,\n",
" 8.5250740e+00, 7.4075100e+00, 4.5791450e+00, 5.2351050e+00,\n",
" 8.3049890e+00, 8.5185550e+00, 7.6178220e+00, 0.0000000e+00,\n",
" 0.0000000e+00, 6.4144000e-02, 4.5413190e+00, 4.7510000e-03,\n",
" 5.2146000e-02, 8.6963710e+00, 1.8410990e+00, 3.7980300e-01,\n",
" 1.0963100e-01, 1.1184906e+01, 2.3535983e+01, 5.8203440e+00,\n",
" 6.1268510e+00, 4.3332670e+00, 1.4352740e+00, 2.5745200e+00,\n",
" 7.8225000e-02, 2.3449820e+00, 2.2636000e-01, 4.0550430e+00,\n",
" 4.8159260e+00, 0.0000000e+00, 6.3313530e+00, 1.0698953e+01,\n",
" 4.9094100e-01, 3.0557790e+00, 2.2923680e+00, 1.2763260e+00,\n",
" 1.5975100e-01, 1.4920120e+01, 5.8828740e+00, 1.0611740e+00]) s2:snow_ice_percentage
()
float64
0.0
instruments
()
<U3
'msi'
array('msi', dtype='<U3') s2:degraded_msi_data_percentage
(time)
float64
0.0 0.0 0.0106 ... 0.0106 0.0066
array([0. , 0. , 0.0106, 0.0106, 0.0075, 0. , 0. , 0. ,\n",
" 0.0106, 0.0106, 0.0074, 0. , 0. , 0. , 0.0103, 0.0073,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.007 , 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.007 , 0. , 0. , 0. , 0.0106,\n",
" 0.0106, 0.0071, 0. , 0. , 0. , 0.0106, 0.0106, 0.0073,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.0072, 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.0074, 0. , 0. , 0. , 0.0106,\n",
" 0.0106, 0.0075, 0. , 0. , 0. , 0.0106, 0.0106, 0.0069,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.0067, 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.0069, 0. , 0. , 0. , 0.0106,\n",
" 0.0106, 0.0066, 0. , 0. , 0. , 0.0106, 0.0106, 0.0063,\n",
" 0. , 0. , 0. , 0.0106, 0.0106, 0.0064, 0. , 0. ,\n",
" 0. , 0.0106, 0.0106, 0.0066]) s2:granule_id
(time)
<U62
'S2A_OPER_MSI_L2A_TL_ESRI_202202...
array(['S2A_OPER_MSI_L2A_TL_ESRI_20220227T203127_A034453_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220211T225247_A034453_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220216T162710_A025616_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220216T170021_A025616_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220216T174641_A025616_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220219T031238_A034596_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220219T032253_A034596_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220219T030509_A034596_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220221T085321_A025759_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220221T083055_A025759_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220221T091153_A025759_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220223T161846_A034739_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220223T163018_A034739_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220223T162727_A034739_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220225T231824_A025902_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220225T220653_A025902_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220301T220537_A034882_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220301T212050_A034882_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220301T212943_A034882_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220304T051349_A026045_T32NNG_N04.00',\n",
"...\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220611T043055_A027475_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220616T091052_A036455_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220616T091857_A036455_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220616T090837_A036455_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220621T141008_A027618_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220621T142153_A027618_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220621T135743_A027618_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220625T220052_A036598_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220625T235737_A036598_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220625T225250_A036598_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220701T010231_A027761_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220701T005052_A027761_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220630T213552_A027761_T32MNE_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220707T051736_A036741_T32NNG_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220707T053022_A036741_T32NNF_N04.00',\n",
" 'S2A_OPER_MSI_L2A_TL_ESRI_20220707T050857_A036741_T32MNE_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220712T095338_A027904_T32NNG_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220712T101014_A027904_T32NNF_N04.00',\n",
" 'S2B_OPER_MSI_L2A_TL_ESRI_20220712T111330_A027904_T32MNE_N04.00'],\n",
" dtype='<U62') s2:water_percentage
(time)
float64
32.66 32.66 14.28 ... 22.03 13.86
array([3.2659486e+01, 3.2659486e+01, 1.4282557e+01, 9.4786020e+00,\n",
" 2.7910230e+00, 2.3094197e+01, 4.1817167e+01, 1.4375192e+01,\n",
" 8.5795000e-01, 1.7000000e-05, 8.9744000e-02, 4.5569202e+01,\n",
" 4.4379145e+01, 1.6746278e+01, 6.4595950e+00, 8.5099300e-01,\n",
" 5.0922692e+01, 3.8432190e+01, 1.9165915e+01, 4.4315901e+01,\n",
" 2.8123850e+01, 1.8928258e+01, 5.7217690e+00, 9.2470200e-01,\n",
" 3.5077090e+00, 7.0712800e-01, 1.5239000e-02, 2.4565900e-01,\n",
" 4.6027392e+01, 1.6777837e+01, 1.5430670e+00, 4.3460000e-03,\n",
" 5.5155400e-01, 2.4924000e-02, 8.5999910e+00, 2.7001697e+01,\n",
" 1.7068185e+01, 0.0000000e+00, 0.0000000e+00, 1.0070000e-02,\n",
" 5.8265700e+00, 8.2982110e+00, 8.0836730e+00, 2.7082652e+01,\n",
" 6.9622200e+00, 2.9833710e+00, 3.4756732e+01, 3.2260233e+01,\n",
" 1.2242836e+01, 4.0002817e+01, 4.0351295e+01, 1.8064167e+01,\n",
" 2.8673060e+00, 1.8250340e+00, 8.2644100e-01, 2.5211692e+01,\n",
" 3.1442294e+01, 1.9283782e+01, 4.0504140e+01, 1.7725289e+01,\n",
" 5.4390300e-01, 8.9733480e+00, 3.1733248e+01, 1.3913517e+01,\n",
" 2.6397458e+01, 2.0942453e+01, 1.6691697e+01, 0.0000000e+00,\n",
" 0.0000000e+00, 0.0000000e+00, 3.3949760e+00, 2.9500000e-04,\n",
" 1.4914000e-02, 1.7912650e+00, 1.5128780e+00, 1.4455630e+00,\n",
" 0.0000000e+00, 2.7095400e+00, 8.8376900e-01, 2.6967841e+01,\n",
" 1.9248699e+01, 1.3921453e+01, 2.4269073e+01, 2.4994095e+01,\n",
" 1.7388622e+01, 1.2199400e-01, 4.3000000e-05, 1.6917000e+00,\n",
" 9.9008930e+00, 6.8580000e-03, 7.9843760e+00, 2.1707520e+01,\n",
" 2.6004529e+01, 1.5100235e+01, 2.4131709e+01, 1.1391322e+01,\n",
" 4.8471940e+00, 2.8580156e+01, 2.2032306e+01, 1.3855641e+01]) s2:processing_baseline
()
<U5
'04.00'
array('04.00', dtype='<U5') sat:relative_orbit
()
int64
136
s2:generation_time
(time)
<U27
'2022-02-27T20:31:26.387390Z' .....
array(['2022-02-27T20:31:26.387390Z', '2022-02-11T22:52:46.949506Z',\n",
" '2022-02-16T16:27:09.421645Z', '2022-02-16T17:00:20.266223Z',\n",
" '2022-02-16T17:46:39.796976Z', '2022-02-19T03:12:38.150812Z',\n",
" '2022-02-19T03:22:52.791342Z', '2022-02-19T03:05:08.601173Z',\n",
" '2022-02-21T08:53:20.393536Z', '2022-02-21T08:30:54.268087Z',\n",
" '2022-02-21T09:11:51.907590Z', '2022-02-23T16:18:45.774184Z',\n",
" '2022-02-23T16:30:17.885370Z', '2022-02-23T16:27:26.251543Z',\n",
" '2022-02-25T23:18:22.870312Z', '2022-02-25T22:06:52.589374Z',\n",
" '2022-03-01T22:05:36.847346Z', '2022-03-01T21:20:50.89793Z',\n",
" '2022-03-01T21:29:43.231034Z', '2022-03-04T05:13:49.281750Z',\n",
" '2022-03-04T05:19:30.3257Z', '2022-03-04T05:15:08.803411Z',\n",
" '2022-03-07T21:22:08.443991Z', '2022-03-07T21:03:52.835321Z',\n",
" '2022-03-07T22:13:51.19551Z', '2022-03-13T00:29:48.398372Z',\n",
" '2022-03-13T00:19:51.89785Z', '2022-03-13T00:14:13.393412Z',\n",
" '2022-03-17T20:40:26.306778Z', '2022-03-17T19:12:00.881718Z',\n",
" '2022-03-17T18:40:10.787438Z', '2022-03-23T03:39:10.530806Z',\n",
" '2022-03-23T01:14:23.898113Z', '2022-03-23T00:57:34.511375Z',\n",
" '2022-03-27T23:41:36.444989Z', '2022-03-27T23:55:46.747580Z',\n",
" '2022-03-27T23:25:07.367843Z', '2022-04-01T22:49:27.777511Z',\n",
" '2022-04-01T22:33:46.24989Z', '2022-04-01T22:21:51.528907Z',\n",
"...\n",
" '2022-05-12T07:54:24.388733Z', '2022-05-12T07:37:02.612655Z',\n",
" '2022-05-18T17:18:22.675621Z', '2022-05-18T17:14:47.634423Z',\n",
" '2022-05-18T16:13:21.969555Z', '2022-05-22T14:55:22.668625Z',\n",
" '2022-05-22T16:23:54.762405Z', '2022-05-22T15:55:17.578182Z',\n",
" '2022-05-27T11:08:32.837162Z', '2022-05-27T10:28:45.567817Z',\n",
" '2022-05-27T11:03:01.660986Z', '2022-06-01T12:35:20.165065Z',\n",
" '2022-06-01T12:18:18.112706Z', '2022-06-01T11:02:33.471378Z',\n",
" '2022-06-05T23:26:46.502772Z', '2022-06-05T22:58:30.772968Z',\n",
" '2022-06-05T22:59:58.6357Z', '2022-06-11T04:22:21.314302Z',\n",
" '2022-06-11T04:12:02.267111Z', '2022-06-11T04:30:54.992494Z',\n",
" '2022-06-16T09:10:51.220782Z', '2022-06-16T09:18:56.484887Z',\n",
" '2022-06-16T09:08:36.183090Z', '2022-06-21T14:10:08.525448Z',\n",
" '2022-06-21T14:21:53.92779Z', '2022-06-21T13:57:43.260489Z',\n",
" '2022-06-25T22:00:50.606797Z', '2022-06-25T23:57:36.116623Z',\n",
" '2022-06-25T22:52:49.683079Z', '2022-07-01T01:02:30.72713Z',\n",
" '2022-07-01T00:50:51.497289Z', '2022-06-30T21:35:51.180680Z',\n",
" '2022-07-07T05:17:35.774817Z', '2022-07-07T05:30:20.998975Z',\n",
" '2022-07-07T05:08:55.892831Z', '2022-07-12T09:53:37.72293Z',\n",
" '2022-07-12T10:10:12.862068Z', '2022-07-12T11:13:29.377724Z'],\n",
" dtype='<U27') platform
(time)
<U11
'Sentinel-2A' ... 'Sentinel-2B'
array(['Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B',\n",
" 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2A', 'Sentinel-2B',\n",
" 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2A', 'Sentinel-2A',\n",
" 'Sentinel-2A', 'Sentinel-2B', 'Sentinel-2B', 'Sentinel-2B'],\n",
" dtype='<U11') s2:saturated_defective_pixel_percentage
()
float64
0.0
title
(band)
<U20
'Band 2 - Blue - 10m' 'Band 3 - ...
array(['Band 2 - Blue - 10m', 'Band 3 - Green - 10m'], dtype='<U20') gsd
()
float64
10.0
proj:shape
()
object
{10980}
array({10980}, dtype=object) common_name
(band)
<U5
'blue' 'green'
array(['blue', 'green'], dtype='<U5') center_wavelength
(band)
float64
0.49 0.56
full_width_half_max
(band)
float64
0.098 0.045
epsg
()
int64
32732
Data variables: (2)
B02
(time, y, x)
float64
dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>
\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Array \n",
" Chunk \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Bytes \n",
" 253.50 GiB \n",
" 8.00 MiB \n",
" \n",
" \n",
" \n",
" Shape \n",
" (100, 30984, 10981) \n",
" (1, 1024, 1024) \n",
" \n",
" \n",
" Count \n",
" 102700 Tasks \n",
" 34100 Chunks \n",
" \n",
" \n",
" Type \n",
" float64 \n",
" numpy.ndarray \n",
" \n",
" \n",
"
\n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" 10981 \n",
" 30984 \n",
" 100 \n",
" \n",
" \n",
" \n",
"
B03
(time, y, x)
float64
dask.array<chunksize=(1, 1024, 1024), meta=np.ndarray>
\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Array \n",
" Chunk \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" Bytes \n",
" 253.50 GiB \n",
" 8.00 MiB \n",
" \n",
" \n",
" \n",
" Shape \n",
" (100, 30984, 10981) \n",
" (1, 1024, 1024) \n",
" \n",
" \n",
" Count \n",
" 102700 Tasks \n",
" 34100 Chunks \n",
" \n",
" \n",
" Type \n",
" float64 \n",
" numpy.ndarray \n",
" \n",
" \n",
"
\n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
" \n",
"\n",
" \n",
" \n",
"\n",
" \n",
" 10981 \n",
" 30984 \n",
" 100 \n",
" \n",
" \n",
" \n",
"
Attributes: (4)
spec : RasterSpec(epsg=32732, bounds=(499979.99999708973, 9890200.0, 609789.9999964505, 10200040.0), resolutions_xy=(9.999999999941792, 10.0)) crs : epsg:32732 transform : | 10.00, 0.00, 499980.00|\n",
"| 0.00,-10.00, 10200040.00|\n",
"| 0.00, 0.00, 1.00| resolution_xy : (9.999999999941792, 10.0) "
],
"text/plain": [
"\n",
"Dimensions: (time: 100, y: 30984, x: 10981,\n",
" band: 2)\n",
"Coordinates: (12/43)\n",
" * time (time) datetime64[ns] 2022-01-26...\n",
" id (time) \n",
" B03 (time, y, x) float64 dask.array\n",
"Attributes:\n",
" spec: RasterSpec(epsg=32732, bounds=(499979.99999708973, 989020...\n",
" crs: epsg:32732\n",
" transform: | 10.00, 0.00, 499980.00|\\n| 0.00,-10.00, 10200040.00|\\n|...\n",
" resolution_xy: (9.999999999941792, 10.0)"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"ds = (\n",
" catalog.search(\n",
" collections=[\"sentinel-2-l2a\"],\n",
" bbox=[9.4, 0, 9.5, 1]\n",
" ).to_xarray(assets=[\"B02\", \"B03\"], epsg=32732)\n",
")\n",
"ds"
]
},
{
"cell_type": "markdown",
"id": "0e673fc4-61cb-4c7f-b750-3ee0dddfdf9b",
"metadata": {},
"source": [
"## Search / ItemCollection -> geopandas"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "97dba696-24bf-410d-b7f8-d7d8d05742b6",
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"\n",
"\n",
"
\n",
" \n",
" \n",
" \n",
" type \n",
" stac_version \n",
" id \n",
" geometry \n",
" links \n",
" bbox \n",
" stac_extensions \n",
" collection \n",
" datetime \n",
" platform \n",
" ... \n",
" assets.datastrip-metadata.roles \n",
" assets.tilejson.href \n",
" assets.tilejson.type \n",
" assets.tilejson.title \n",
" assets.tilejson.roles \n",
" assets.rendered_preview.href \n",
" assets.rendered_preview.type \n",
" assets.rendered_preview.title \n",
" assets.rendered_preview.rel \n",
" assets.rendered_preview.roles \n",
" \n",
" \n",
" \n",
" \n",
" 0 \n",
" Feature \n",
" 1.0.0 \n",
" S2B_MSIL2A_20220710T093039_R136_T32NNG_2022071... \n",
" POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-07-10T09:30:39.024000Z \n",
" Sentinel-2B \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 1 \n",
" Feature \n",
" 1.0.0 \n",
" S2B_MSIL2A_20220710T093039_R136_T32NNF_2022071... \n",
" POLYGON ((8.99982 0.90491, 9.98664 0.90478, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982024, -0.08848273, 9.98663827, 0.90491156] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-07-10T09:30:39.024000Z \n",
" Sentinel-2B \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 2 \n",
" Feature \n",
" 1.0.0 \n",
" S2B_MSIL2A_20220710T093039_R136_T32MNE_2022071... \n",
" POLYGON ((8.99982 0.00000, 9.98652 0.00000, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982024, -0.99339404, 9.98666334, 0.0] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-07-10T09:30:39.024000Z \n",
" Sentinel-2B \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 3 \n",
" Feature \n",
" 1.0.0 \n",
" S2A_MSIL2A_20220705T093051_R136_T32NNG_2022070... \n",
" POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-07-05T09:30:51.025000Z \n",
" Sentinel-2A \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 4 \n",
" Feature \n",
" 1.0.0 \n",
" S2A_MSIL2A_20220705T093051_R136_T32NNF_2022070... \n",
" POLYGON ((8.99982 0.90491, 9.98664 0.90478, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982024, -0.08848273, 9.98663827, 0.90491156] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-07-05T09:30:51.025000Z \n",
" Sentinel-2A \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" ... \n",
" \n",
" \n",
" 95 \n",
" Feature \n",
" 1.0.0 \n",
" S2B_MSIL2A_20220131T093119_R136_T32NNG_2022021... \n",
" POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-01-31T09:31:19.024000Z \n",
" Sentinel-2B \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 96 \n",
" Feature \n",
" 1.0.0 \n",
" S2B_MSIL2A_20220131T093119_R136_T32NNF_2022021... \n",
" POLYGON ((8.99982 0.90491, 9.98664 0.90478, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982024, -0.08848273, 9.98663827, 0.90491156] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-01-31T09:31:19.024000Z \n",
" Sentinel-2B \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 97 \n",
" Feature \n",
" 1.0.0 \n",
" S2B_MSIL2A_20220131T093119_R136_T32MNE_2022021... \n",
" POLYGON ((8.99982 0.00000, 9.98652 0.00000, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982024, -0.99339404, 9.98666334, 0.0] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-01-31T09:31:19.024000Z \n",
" Sentinel-2B \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 98 \n",
" Feature \n",
" 1.0.0 \n",
" S2A_MSIL2A_20220126T093251_R136_T32NNG_2022022... \n",
" POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-01-26T09:32:51.024000Z \n",
" Sentinel-2A \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
" 99 \n",
" Feature \n",
" 1.0.0 \n",
" S2A_MSIL2A_20220126T093251_R136_T32NNG_2022021... \n",
" POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
" [{'rel': 'collection', 'href': 'https://planet... \n",
" NaN \n",
" [https://stac-extensions.github.io/eo/v1.0.0/s... \n",
" sentinel-2-l2a \n",
" 2022-01-26T09:32:51.024000Z \n",
" Sentinel-2A \n",
" ... \n",
" [metadata] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" application/json \n",
" TileJSON with default rendering \n",
" [tiles] \n",
" https://planetarycomputer.microsoft.com/api/da... \n",
" image/png \n",
" Rendered preview \n",
" preview \n",
" [overview] \n",
" \n",
" \n",
"
\n",
"
100 rows × 215 columns
\n",
"
"
],
"text/plain": [
" type stac_version id \\\n",
"0 Feature 1.0.0 S2B_MSIL2A_20220710T093039_R136_T32NNG_2022071... \n",
"1 Feature 1.0.0 S2B_MSIL2A_20220710T093039_R136_T32NNF_2022071... \n",
"2 Feature 1.0.0 S2B_MSIL2A_20220710T093039_R136_T32MNE_2022071... \n",
"3 Feature 1.0.0 S2A_MSIL2A_20220705T093051_R136_T32NNG_2022070... \n",
"4 Feature 1.0.0 S2A_MSIL2A_20220705T093051_R136_T32NNF_2022070... \n",
".. ... ... ... \n",
"95 Feature 1.0.0 S2B_MSIL2A_20220131T093119_R136_T32NNG_2022021... \n",
"96 Feature 1.0.0 S2B_MSIL2A_20220131T093119_R136_T32NNF_2022021... \n",
"97 Feature 1.0.0 S2B_MSIL2A_20220131T093119_R136_T32MNE_2022021... \n",
"98 Feature 1.0.0 S2A_MSIL2A_20220126T093251_R136_T32NNG_2022022... \n",
"99 Feature 1.0.0 S2A_MSIL2A_20220126T093251_R136_T32NNG_2022021... \n",
"\n",
" geometry \\\n",
"0 POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
"1 POLYGON ((8.99982 0.90491, 9.98664 0.90478, 9.... \n",
"2 POLYGON ((8.99982 0.00000, 9.98652 0.00000, 9.... \n",
"3 POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
"4 POLYGON ((8.99982 0.90491, 9.98664 0.90478, 9.... \n",
".. ... \n",
"95 POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
"96 POLYGON ((8.99982 0.90491, 9.98664 0.90478, 9.... \n",
"97 POLYGON ((8.99982 0.00000, 9.98652 0.00000, 9.... \n",
"98 POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
"99 POLYGON ((8.99982 1.80982, 9.98700 1.80955, 9.... \n",
"\n",
" links \\\n",
"0 [{'rel': 'collection', 'href': 'https://planet... \n",
"1 [{'rel': 'collection', 'href': 'https://planet... \n",
"2 [{'rel': 'collection', 'href': 'https://planet... \n",
"3 [{'rel': 'collection', 'href': 'https://planet... \n",
"4 [{'rel': 'collection', 'href': 'https://planet... \n",
".. ... \n",
"95 [{'rel': 'collection', 'href': 'https://planet... \n",
"96 [{'rel': 'collection', 'href': 'https://planet... \n",
"97 [{'rel': 'collection', 'href': 'https://planet... \n",
"98 [{'rel': 'collection', 'href': 'https://planet... \n",
"99 [{'rel': 'collection', 'href': 'https://planet... \n",
"\n",
" bbox \\\n",
"0 [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
"1 [8.99982024, -0.08848273, 9.98663827, 0.90491156] \n",
"2 [8.99982024, -0.99339404, 9.98666334, 0.0] \n",
"3 [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
"4 [8.99982024, -0.08848273, 9.98663827, 0.90491156] \n",
".. ... \n",
"95 [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
"96 [8.99982024, -0.08848273, 9.98663827, 0.90491156] \n",
"97 [8.99982024, -0.99339404, 9.98666334, 0.0] \n",
"98 [8.99982018, 0.81630719, 9.98700503, 1.80981859] \n",
"99 NaN \n",
"\n",
" stac_extensions collection \\\n",
"0 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"1 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"2 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"3 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"4 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
".. ... ... \n",
"95 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"96 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"97 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"98 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"99 [https://stac-extensions.github.io/eo/v1.0.0/s... sentinel-2-l2a \n",
"\n",
" datetime platform ... \\\n",
"0 2022-07-10T09:30:39.024000Z Sentinel-2B ... \n",
"1 2022-07-10T09:30:39.024000Z Sentinel-2B ... \n",
"2 2022-07-10T09:30:39.024000Z Sentinel-2B ... \n",
"3 2022-07-05T09:30:51.025000Z Sentinel-2A ... \n",
"4 2022-07-05T09:30:51.025000Z Sentinel-2A ... \n",
".. ... ... ... \n",
"95 2022-01-31T09:31:19.024000Z Sentinel-2B ... \n",
"96 2022-01-31T09:31:19.024000Z Sentinel-2B ... \n",
"97 2022-01-31T09:31:19.024000Z Sentinel-2B ... \n",
"98 2022-01-26T09:32:51.024000Z Sentinel-2A ... \n",
"99 2022-01-26T09:32:51.024000Z Sentinel-2A ... \n",
"\n",
" assets.datastrip-metadata.roles \\\n",
"0 [metadata] \n",
"1 [metadata] \n",
"2 [metadata] \n",
"3 [metadata] \n",
"4 [metadata] \n",
".. ... \n",
"95 [metadata] \n",
"96 [metadata] \n",
"97 [metadata] \n",
"98 [metadata] \n",
"99 [metadata] \n",
"\n",
" assets.tilejson.href assets.tilejson.type \\\n",
"0 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"1 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"2 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"3 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"4 https://planetarycomputer.microsoft.com/api/da... application/json \n",
".. ... ... \n",
"95 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"96 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"97 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"98 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"99 https://planetarycomputer.microsoft.com/api/da... application/json \n",
"\n",
" assets.tilejson.title assets.tilejson.roles \\\n",
"0 TileJSON with default rendering [tiles] \n",
"1 TileJSON with default rendering [tiles] \n",
"2 TileJSON with default rendering [tiles] \n",
"3 TileJSON with default rendering [tiles] \n",
"4 TileJSON with default rendering [tiles] \n",
".. ... ... \n",
"95 TileJSON with default rendering [tiles] \n",
"96 TileJSON with default rendering [tiles] \n",
"97 TileJSON with default rendering [tiles] \n",
"98 TileJSON with default rendering [tiles] \n",
"99 TileJSON with default rendering [tiles] \n",
"\n",
" assets.rendered_preview.href \\\n",
"0 https://planetarycomputer.microsoft.com/api/da... \n",
"1 https://planetarycomputer.microsoft.com/api/da... \n",
"2 https://planetarycomputer.microsoft.com/api/da... \n",
"3 https://planetarycomputer.microsoft.com/api/da... \n",
"4 https://planetarycomputer.microsoft.com/api/da... \n",
".. ... \n",
"95 https://planetarycomputer.microsoft.com/api/da... \n",
"96 https://planetarycomputer.microsoft.com/api/da... \n",
"97 https://planetarycomputer.microsoft.com/api/da... \n",
"98 https://planetarycomputer.microsoft.com/api/da... \n",
"99 https://planetarycomputer.microsoft.com/api/da... \n",
"\n",
" assets.rendered_preview.type assets.rendered_preview.title \\\n",
"0 image/png Rendered preview \n",
"1 image/png Rendered preview \n",
"2 image/png Rendered preview \n",
"3 image/png Rendered preview \n",
"4 image/png Rendered preview \n",
".. ... ... \n",
"95 image/png Rendered preview \n",
"96 image/png Rendered preview \n",
"97 image/png Rendered preview \n",
"98 image/png Rendered preview \n",
"99 image/png Rendered preview \n",
"\n",
" assets.rendered_preview.rel assets.rendered_preview.roles \n",
"0 preview [overview] \n",
"1 preview [overview] \n",
"2 preview [overview] \n",
"3 preview [overview] \n",
"4 preview [overview] \n",
".. ... ... \n",
"95 preview [overview] \n",
"96 preview [overview] \n",
"97 preview [overview] \n",
"98 preview [overview] \n",
"99 preview [overview] \n",
"\n",
"[100 rows x 215 columns]"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"df = catalog.search(collections=[\"sentinel-2-l2a\"], bbox=[9.4, 0, 9.5, 1]).to_geopandas()\n",
"df"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b4a5aa76-df04-4d0c-9034-f0d84e89bffb",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {
"state": {
"03f55cfe30964add91b58bb624b69aa1": {
"model_module": "@jupyter-widgets/controls",
"model_module_version": "1.5.0",
"model_name": "VBoxModel",
"state": {
"layout": "IPY_MODEL_f7f4e6f6c4c9493c93223388eeabf41c"
}
},
"f7f4e6f6c4c9493c93223388eeabf41c": {
"model_module": "@jupyter-widgets/base",
"model_module_version": "1.2.0",
"model_name": "LayoutModel",
"state": {}
}
},
"version_major": 2,
"version_minor": 0
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}