diff --git a/user-guide/notebooks/datasets/air-quality-covid.ipynb b/user-guide/notebooks/datasets/air-quality-covid.ipynb index 99c68731..100489de 100644 --- a/user-guide/notebooks/datasets/air-quality-covid.ipynb +++ b/user-guide/notebooks/datasets/air-quality-covid.ipynb @@ -36,7 +36,7 @@ "## Approach\n", "\n", " 1. Identify available dates and temporal frequency of observations for a given collection - NO₂\n", - " 2. Pass the STAC item into raster API `/stac/tilejson.json` endpoint\n", + " 2. Pass the STAC item into raster API `collections` endpoint\n", " 3. We'll visualize two tiles (side-by-side) allowing for comparison of each of the time points using `folium.plugins.DualMap`\n", " " ] @@ -114,7 +114,11 @@ " 'href': 'https://openveda.cloud/api/stac/'},\n", " {'rel': 'self',\n", " 'type': 'application/json',\n", - " 'href': 'https://openveda.cloud/api/stac/collections/no2-monthly'}],\n", + " 'href': 'https://openveda.cloud/api/stac/collections/no2-monthly'},\n", + " {'rel': 'http://www.opengis.net/def/rel/ogc/1.0/queryables',\n", + " 'type': 'application/schema+json',\n", + " 'title': 'Queryables',\n", + " 'href': 'https://openveda.cloud/api/stac/collections/no2-monthly/queryables'}],\n", " 'title': 'NO₂',\n", " 'assets': {'thumbnail': {'href': 'https://thumbnails.openveda.cloud/no2--dataset-cover.jpg',\n", " 'type': 'image/jpeg',\n", @@ -167,7 +171,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Examining the contents of our `collection` under `summaries` we see that the data is available from January 2015 to December 2022. By looking at the `dashboard:time density` we observe that the periodic frequency of these observations is monthly. " + "Examining the contents of our `collection` under `summaries` we see that the data is available from January 2015 to September 2023. By looking at the `dashboard:time density` we observe that the periodic frequency of these observations is monthly. " ] }, { @@ -194,7 +198,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "This makes sense as there are 7 years between 2016 - 2022, with 12 months per year, meaning 84 records in total. \n", + "This makes sense as there are 8 years between 2016 - 2023, with 12 months per year, meaning 96 possible records. Since our dataset ends in September, we subtract 3 months to give us a total of 93 items.\n", "\n", "Below, we'll provide the max range of values to apply to visualizations of all items in the collection (`rescale_values`). " ] @@ -250,7 +254,7 @@ "{'tilejson': '2.2.0',\n", " 'version': '1.0.0',\n", " 'scheme': 'xyz',\n", - " 'tiles': ['https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=no2-monthly&item=OMI_trno2_0.10x0.10_202002_Col3_V4.nc&assets=cog_default&color_formula=gamma+r+1.05&colormap_name=cool&rescale=-1018382487283302%2C50064805976866816'],\n", + " 'tiles': ['https://openveda.cloud/api/raster/collections/no2-monthly/items/OMI_trno2_0.10x0.10_202002_Col3_V4.nc/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default&color_formula=gamma+r+1.05&colormap_name=cool&rescale=-1018382487283302%2C50064805976866816'],\n", " 'minzoom': 0,\n", " 'maxzoom': 24,\n", " 'bounds': [-180.0, -90.0, 180.0, 90.0],\n", @@ -264,7 +268,7 @@ ], "source": [ "february_2020_tile = requests.get(\n", - " f\"{RASTER_API_URL}/stac/tilejson.json?collection={items['2020-02']['collection']}&item={items['2020-02']['id']}\"\n", + " f\"{RASTER_API_URL}/collections/{items['2020-02']['collection']}/items/{items['2020-02']['id']}/WebMercatorQuad/tilejson.json?\"\n", " \"&assets=cog_default\"\n", " \"&color_formula=gamma+r+1.05&colormap_name=cool\"\n", " f\"&rescale={rescale_values['min']},{rescale_values['max']}\", \n", @@ -283,7 +287,7 @@ "{'tilejson': '2.2.0',\n", " 'version': '1.0.0',\n", " 'scheme': 'xyz',\n", - " 'tiles': ['https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=no2-monthly&item=OMI_trno2_0.10x0.10_202202_Col3_V4.nc&assets=cog_default&color_formula=gamma+r+1.05&colormap_name=cool&rescale=-1018382487283302%2C50064805976866816'],\n", + " 'tiles': ['https://openveda.cloud/api/raster/collections/no2-monthly/items/OMI_trno2_0.10x0.10_202202_Col3_V4.nc/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default&color_formula=gamma+r+1.05&colormap_name=cool&rescale=-1018382487283302%2C50064805976866816'],\n", " 'minzoom': 0,\n", " 'maxzoom': 24,\n", " 'bounds': [-180.0, -90.0, 180.0, 90.0],\n", @@ -297,7 +301,7 @@ ], "source": [ "february_2022_tile = requests.get(\n", - " f\"{RASTER_API_URL}/stac/tilejson.json?collection={items['2022-02']['collection']}&item={items['2022-02']['id']}\"\n", + " f\"{RASTER_API_URL}/collections/{items['2022-02']['collection']}/items/{items['2022-02']['id']}/WebMercatorQuad/tilejson.json?\"\n", " \"&assets=cog_default\"\n", " \"&color_formula=gamma+r+1.05&colormap_name=cool\"\n", " f\"&rescale={rescale_values['min']},{rescale_values['max']}\", \n", @@ -344,7 +348,7 @@ " <script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>\n", - " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>\n", + " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>\n", " <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>\n", @@ -352,7 +356,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_e32927666b28d271958699eb75c9b3de {\n", + " #map_5c580dfb463638fd141c9f35e26e764a {\n", " position: absolute;\n", " width: 50.0%;\n", " height: 100.0%;\n", @@ -366,7 +370,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_bbaf0c0bd1a55e590749e405c5e26755 {\n", + " #map_182773b58f4c85e85d56761b3fdd307b {\n", " position: absolute;\n", " width: 50.0%;\n", " height: 100.0%;\n", @@ -381,17 +385,17 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_e32927666b28d271958699eb75c9b3de" ></div>\n", + " <div class="folium-map" id="map_5c580dfb463638fd141c9f35e26e764a" ></div>\n", " \n", " \n", - " <div class="folium-map" id="map_bbaf0c0bd1a55e590749e405c5e26755" ></div>\n", + " <div class="folium-map" id="map_182773b58f4c85e85d56761b3fdd307b" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_e32927666b28d271958699eb75c9b3de = L.map(\n", - " "map_e32927666b28d271958699eb75c9b3de",\n", + " var map_5c580dfb463638fd141c9f35e26e764a = L.map(\n", + " "map_5c580dfb463638fd141c9f35e26e764a",\n", " {\n", " center: [33.6901, 118.9325],\n", " crs: L.CRS.EPSG3857,\n", @@ -405,26 +409,26 @@ "\n", " \n", " \n", - " var tile_layer_43eced198f351a1c0d707a9014da2382 = L.tileLayer(\n", + " var tile_layer_d7403ada74d0a75486a18ee0b5f43416 = L.tileLayer(\n", " "https://tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_43eced198f351a1c0d707a9014da2382.addTo(map_e32927666b28d271958699eb75c9b3de);\n", + " tile_layer_d7403ada74d0a75486a18ee0b5f43416.addTo(map_5c580dfb463638fd141c9f35e26e764a);\n", " \n", " \n", - " var tile_layer_88bc1f63e04a991c779b5da7850e12cb = L.tileLayer(\n", - " "https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=no2-monthly\\u0026item=OMI_trno2_0.10x0.10_202002_Col3_V4.nc\\u0026assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=cool\\u0026rescale=-1018382487283302%2C50064805976866816",\n", - " {"attribution": "VEDA", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.8, "subdomains": "abc", "tms": false}\n", + " var tile_layer_5785cc3f5a418b0e27c8bd61af058158 = L.tileLayer(\n", + " "https://openveda.cloud/api/raster/collections/no2-monthly/items/OMI_trno2_0.10x0.10_202002_Col3_V4.nc/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=cool\\u0026rescale=-1018382487283302%2C50064805976866816",\n", + " {"attribution": "VEDA", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.8, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_88bc1f63e04a991c779b5da7850e12cb.addTo(map_e32927666b28d271958699eb75c9b3de);\n", + " tile_layer_5785cc3f5a418b0e27c8bd61af058158.addTo(map_5c580dfb463638fd141c9f35e26e764a);\n", " \n", " \n", - " var map_bbaf0c0bd1a55e590749e405c5e26755 = L.map(\n", - " "map_bbaf0c0bd1a55e590749e405c5e26755",\n", + " var map_182773b58f4c85e85d56761b3fdd307b = L.map(\n", + " "map_182773b58f4c85e85d56761b3fdd307b",\n", " {\n", " center: [33.6901, 118.9325],\n", " crs: L.CRS.EPSG3857,\n", @@ -438,32 +442,32 @@ "\n", " \n", " \n", - " var tile_layer_60683b9265ccf303db1f8fcbff7b5bdb = L.tileLayer(\n", + " var tile_layer_223fcae3834456c7abbdbc4f06b72f0c = L.tileLayer(\n", " "https://tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_60683b9265ccf303db1f8fcbff7b5bdb.addTo(map_bbaf0c0bd1a55e590749e405c5e26755);\n", + " tile_layer_223fcae3834456c7abbdbc4f06b72f0c.addTo(map_182773b58f4c85e85d56761b3fdd307b);\n", " \n", " \n", - " var tile_layer_ca6be6d014cdfc7a72ce05073ade86d6 = L.tileLayer(\n", - " "https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=no2-monthly\\u0026item=OMI_trno2_0.10x0.10_202202_Col3_V4.nc\\u0026assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=cool\\u0026rescale=-1018382487283302%2C50064805976866816",\n", - " {"attribution": "VEDA", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.8, "subdomains": "abc", "tms": false}\n", + " var tile_layer_20b594d3b02cb64d2f08f778883e20a4 = L.tileLayer(\n", + " "https://openveda.cloud/api/raster/collections/no2-monthly/items/OMI_trno2_0.10x0.10_202202_Col3_V4.nc/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=cool\\u0026rescale=-1018382487283302%2C50064805976866816",\n", + " {"attribution": "VEDA", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.8, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_ca6be6d014cdfc7a72ce05073ade86d6.addTo(map_bbaf0c0bd1a55e590749e405c5e26755);\n", + " tile_layer_20b594d3b02cb64d2f08f778883e20a4.addTo(map_182773b58f4c85e85d56761b3fdd307b);\n", " \n", " \n", - " map_e32927666b28d271958699eb75c9b3de.sync(map_bbaf0c0bd1a55e590749e405c5e26755);\n", - " map_bbaf0c0bd1a55e590749e405c5e26755.sync(map_e32927666b28d271958699eb75c9b3de);\n", + " map_5c580dfb463638fd141c9f35e26e764a.sync(map_182773b58f4c85e85d56761b3fdd307b);\n", + " map_182773b58f4c85e85d56761b3fdd307b.sync(map_5c580dfb463638fd141c9f35e26e764a);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 9, @@ -526,7 +530,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.9" + "version": "3.12.7" } }, "nbformat": 4, diff --git a/user-guide/notebooks/datasets/volcano-so2-monitoring.ipynb b/user-guide/notebooks/datasets/volcano-so2-monitoring.ipynb index 1ed39941..0e2f46b9 100644 --- a/user-guide/notebooks/datasets/volcano-so2-monitoring.ipynb +++ b/user-guide/notebooks/datasets/volcano-so2-monitoring.ipynb @@ -35,7 +35,7 @@ "## Approach\n", "\n", " 1. Identify available dates and temporal frequency of observations for a given collection - SO2\n", - " 2. Pass the STAC item into raster API `/stac/tilejson.json` endpoint\n", + " 2. Pass the STAC item into raster API `collection` endpoint\n", " 3. We'll visualize tiles for each of the time steps of interest using `folium`\n", " " ] @@ -103,7 +103,11 @@ " 'href': 'https://openveda.cloud/api/stac/'},\n", " {'rel': 'self',\n", " 'type': 'application/json',\n", - " 'href': 'https://openveda.cloud/api/stac/collections/OMSO2PCA-COG'}],\n", + " 'href': 'https://openveda.cloud/api/stac/collections/OMSO2PCA-COG'},\n", + " {'rel': 'http://www.opengis.net/def/rel/ogc/1.0/queryables',\n", + " 'type': 'application/schema+json',\n", + " 'title': 'Queryables',\n", + " 'href': 'https://openveda.cloud/api/stac/collections/OMSO2PCA-COG/queryables'}],\n", " 'title': 'OMI/Aura Sulfur Dioxide (SO2) Total Column L3 1 day Best Pixel in 0.25 degree x 0.25 degree V3 as Cloud-Optimized GeoTIFFs (COGs)',\n", " 'assets': {'thumbnail': {'href': 'https://thumbnails.openveda.cloud/so2--dataset-cover.jpg',\n", " 'type': 'image/jpeg',\n", @@ -237,7 +241,7 @@ "{'tilejson': '2.2.0',\n", " 'version': '1.0.0',\n", " 'scheme': 'xyz',\n", - " 'tiles': ['https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=OMSO2PCA-COG&item=OMSO2PCA_LUT_SCD_2005&assets=cog_default&color_formula=gamma+r+1.05&colormap_name=viridis&rescale=0%2C1'],\n", + " 'tiles': ['https://openveda.cloud/api/raster/collections/OMSO2PCA-COG/items/OMSO2PCA_LUT_SCD_2005/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default&color_formula=gamma+r+1.05&colormap_name=viridis&rescale=0%2C1'],\n", " 'minzoom': 0,\n", " 'maxzoom': 24,\n", " 'bounds': [-180.0, -90.0, 180.0, 90.0],\n", @@ -251,7 +255,7 @@ ], "source": [ "tile_2005 = requests.get(\n", - " f\"{RASTER_API_URL}/stac/tilejson.json?collection={items['2005']['collection']}&item={items['2005']['id']}\"\n", + " f\"{RASTER_API_URL}/collections/{items['2005']['collection']}/items/{items['2005']['id']}/WebMercatorQuad/tilejson.json?\"\n", " \"&assets=cog_default\"\n", " \"&color_formula=gamma+r+1.05&colormap_name=viridis\"\n", " f\"&rescale={rescaling_factor}\",\n", @@ -270,7 +274,7 @@ "{'tilejson': '2.2.0',\n", " 'version': '1.0.0',\n", " 'scheme': 'xyz',\n", - " 'tiles': ['https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=OMSO2PCA-COG&item=OMSO2PCA_LUT_SCD_2009&assets=cog_default&color_formula=gamma+r+1.05&colormap_name=viridis&rescale=0%2C1'],\n", + " 'tiles': ['https://openveda.cloud/api/raster/collections/OMSO2PCA-COG/items/OMSO2PCA_LUT_SCD_2009/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default&color_formula=gamma+r+1.05&colormap_name=viridis&rescale=0%2C1'],\n", " 'minzoom': 0,\n", " 'maxzoom': 24,\n", " 'bounds': [-180.0, -90.0, 180.0, 90.0],\n", @@ -284,7 +288,7 @@ ], "source": [ "tile_2009 = requests.get(\n", - " f\"{RASTER_API_URL}/stac/tilejson.json?collection={items['2009']['collection']}&item={items['2009']['id']}\"\n", + " f\"{RASTER_API_URL}/collections/{items['2009']['collection']}/items/{items['2009']['id']}/WebMercatorQuad/tilejson.json?\"\n", " \"&assets=cog_default\"\n", " \"&color_formula=gamma+r+1.05&colormap_name=viridis\"\n", " f\"&rescale={rescaling_factor}\",\n", @@ -303,7 +307,7 @@ "{'tilejson': '2.2.0',\n", " 'version': '1.0.0',\n", " 'scheme': 'xyz',\n", - " 'tiles': ['https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=OMSO2PCA-COG&item=OMSO2PCA_LUT_SCD_2021&assets=cog_default&color_formula=gamma+r+1.05&colormap_name=viridis&rescale=0%2C1'],\n", + " 'tiles': ['https://openveda.cloud/api/raster/collections/OMSO2PCA-COG/items/OMSO2PCA_LUT_SCD_2021/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default&color_formula=gamma+r+1.05&colormap_name=viridis&rescale=0%2C1'],\n", " 'minzoom': 0,\n", " 'maxzoom': 24,\n", " 'bounds': [-180.0, -90.0, 180.0, 90.0],\n", @@ -317,7 +321,7 @@ ], "source": [ "tile_2021 = requests.get(\n", - " f\"{RASTER_API_URL}/stac/tilejson.json?collection={items['2021']['collection']}&item={items['2021']['id']}\"\n", + " f\"{RASTER_API_URL}/collections/{items['2021']['collection']}/items/{items['2021']['id']}/WebMercatorQuad/tilejson.json?\"\n", " \"&assets=cog_default\"\n", " \"&color_formula=gamma+r+1.05&colormap_name=viridis\"\n", " f\"&rescale={rescaling_factor}\",\n", @@ -366,7 +370,7 @@ " <script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>\n", - " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>\n", + " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>\n", " <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>\n", @@ -374,7 +378,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_9111359c127775c14035a9aa1e57c685 {\n", + " #map_d30cd8719ce90867122b1693a56c4afc {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -388,14 +392,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_9111359c127775c14035a9aa1e57c685" ></div>\n", + " <div class="folium-map" id="map_d30cd8719ce90867122b1693a56c4afc" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_9111359c127775c14035a9aa1e57c685 = L.map(\n", - " "map_9111359c127775c14035a9aa1e57c685",\n", + " var map_d30cd8719ce90867122b1693a56c4afc = L.map(\n", + " "map_d30cd8719ce90867122b1693a56c4afc",\n", " {\n", " center: [-0.915435, -89.57216],\n", " crs: L.CRS.EPSG3857,\n", @@ -409,28 +413,28 @@ "\n", " \n", " \n", - " var tile_layer_4dc6d6eaaaa13a7c6b917b8e08747ae8 = L.tileLayer(\n", + " var tile_layer_4b9c229aeabe9254de793442f0a504d2 = L.tileLayer(\n", " "https://tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_4dc6d6eaaaa13a7c6b917b8e08747ae8.addTo(map_9111359c127775c14035a9aa1e57c685);\n", + " tile_layer_4b9c229aeabe9254de793442f0a504d2.addTo(map_d30cd8719ce90867122b1693a56c4afc);\n", " \n", " \n", - " var tile_layer_0d62b1f501d61a031cd8c63922f37172 = L.tileLayer(\n", - " "https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=OMSO2PCA-COG\\u0026item=OMSO2PCA_LUT_SCD_2005\\u0026assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=viridis\\u0026rescale=0%2C1",\n", - " {"attribution": "VEDA", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.6, "subdomains": "abc", "tms": false}\n", + " var tile_layer_99ae1f5517f93394cd14ac1d44e1eb71 = L.tileLayer(\n", + " "https://openveda.cloud/api/raster/collections/OMSO2PCA-COG/items/OMSO2PCA_LUT_SCD_2005/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=viridis\\u0026rescale=0%2C1",\n", + " {"attribution": "VEDA", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.6, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_0d62b1f501d61a031cd8c63922f37172.addTo(map_9111359c127775c14035a9aa1e57c685);\n", + " tile_layer_99ae1f5517f93394cd14ac1d44e1eb71.addTo(map_d30cd8719ce90867122b1693a56c4afc);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 10, @@ -497,7 +501,7 @@ " <script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>\n", - " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>\n", + " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>\n", " <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>\n", @@ -505,7 +509,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_9159396f3d1019b4a8027e87316ca461 {\n", + " #map_a6cc49bfe09c2ca3f472767c38c09cc5 {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -519,14 +523,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_9159396f3d1019b4a8027e87316ca461" ></div>\n", + " <div class="folium-map" id="map_a6cc49bfe09c2ca3f472767c38c09cc5" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_9159396f3d1019b4a8027e87316ca461 = L.map(\n", - " "map_9159396f3d1019b4a8027e87316ca461",\n", + " var map_a6cc49bfe09c2ca3f472767c38c09cc5 = L.map(\n", + " "map_a6cc49bfe09c2ca3f472767c38c09cc5",\n", " {\n", " center: [53.018234, 158.67016],\n", " crs: L.CRS.EPSG3857,\n", @@ -540,28 +544,28 @@ "\n", " \n", " \n", - " var tile_layer_17136d83aa0cc599ca498c8fa64c6e8e = L.tileLayer(\n", + " var tile_layer_5827ceb925544b13fc6298c4fc6fb71a = L.tileLayer(\n", " "https://tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_17136d83aa0cc599ca498c8fa64c6e8e.addTo(map_9159396f3d1019b4a8027e87316ca461);\n", + " tile_layer_5827ceb925544b13fc6298c4fc6fb71a.addTo(map_a6cc49bfe09c2ca3f472767c38c09cc5);\n", " \n", " \n", - " var tile_layer_aeaea4a0c1d952d7a912a6f9ac7d0050 = L.tileLayer(\n", - " "https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=OMSO2PCA-COG\\u0026item=OMSO2PCA_LUT_SCD_2009\\u0026assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=viridis\\u0026rescale=0%2C1",\n", - " {"attribution": "VEDA", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.6, "subdomains": "abc", "tms": false}\n", + " var tile_layer_998943ed236bd6cb58f27f4468e8e86b = L.tileLayer(\n", + " "https://openveda.cloud/api/raster/collections/OMSO2PCA-COG/items/OMSO2PCA_LUT_SCD_2009/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=viridis\\u0026rescale=0%2C1",\n", + " {"attribution": "VEDA", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.6, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_aeaea4a0c1d952d7a912a6f9ac7d0050.addTo(map_9159396f3d1019b4a8027e87316ca461);\n", + " tile_layer_998943ed236bd6cb58f27f4468e8e86b.addTo(map_a6cc49bfe09c2ca3f472767c38c09cc5);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 11, @@ -628,7 +632,7 @@ " <script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js"></script>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css"/>\n", - " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"/>\n", + " <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css"/>\n", " <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css"/>\n", " <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css"/>\n", @@ -636,7 +640,7 @@ " <meta name="viewport" content="width=device-width,\n", " initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n", " <style>\n", - " #map_10b95adb84c8970a6ec3781b6e8e9b4d {\n", + " #map_f224d4f6a4ed8c76c95b804a99071074 {\n", " position: relative;\n", " width: 100.0%;\n", " height: 100.0%;\n", @@ -650,14 +654,14 @@ "<body>\n", " \n", " \n", - " <div class="folium-map" id="map_10b95adb84c8970a6ec3781b6e8e9b4d" ></div>\n", + " <div class="folium-map" id="map_f224d4f6a4ed8c76c95b804a99071074" ></div>\n", " \n", "</body>\n", "<script>\n", " \n", " \n", - " var map_10b95adb84c8970a6ec3781b6e8e9b4d = L.map(\n", - " "map_10b95adb84c8970a6ec3781b6e8e9b4d",\n", + " var map_f224d4f6a4ed8c76c95b804a99071074 = L.map(\n", + " "map_f224d4f6a4ed8c76c95b804a99071074",\n", " {\n", " center: [65.0294256, -18.39387],\n", " crs: L.CRS.EPSG3857,\n", @@ -671,28 +675,28 @@ "\n", " \n", " \n", - " var tile_layer_c8983ec21a759c4edc234a6616244622 = L.tileLayer(\n", + " var tile_layer_28bc7188f0bf2ef03697093197ccacab = L.tileLayer(\n", " "https://tile.openstreetmap.org/{z}/{x}/{y}.png",\n", " {"attribution": "\\u0026copy; \\u003ca href=\\"https://www.openstreetmap.org/copyright\\"\\u003eOpenStreetMap\\u003c/a\\u003e contributors", "detectRetina": false, "maxNativeZoom": 19, "maxZoom": 19, "minZoom": 0, "noWrap": false, "opacity": 1, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_c8983ec21a759c4edc234a6616244622.addTo(map_10b95adb84c8970a6ec3781b6e8e9b4d);\n", + " tile_layer_28bc7188f0bf2ef03697093197ccacab.addTo(map_f224d4f6a4ed8c76c95b804a99071074);\n", " \n", " \n", - " var tile_layer_2a26a720ba962b0f373910e177211e21 = L.tileLayer(\n", - " "https://openveda.cloud/api/raster/stac/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?collection=OMSO2PCA-COG\\u0026item=OMSO2PCA_LUT_SCD_2021\\u0026assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=viridis\\u0026rescale=0%2C1",\n", - " {"attribution": "VEDA", "detectRetina": false, "maxNativeZoom": 18, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.6, "subdomains": "abc", "tms": false}\n", + " var tile_layer_e0b82fa989ea054854052f366155ed56 = L.tileLayer(\n", + " "https://openveda.cloud/api/raster/collections/OMSO2PCA-COG/items/OMSO2PCA_LUT_SCD_2021/tiles/WebMercatorQuad/{z}/{x}/{y}@1x?assets=cog_default\\u0026color_formula=gamma+r+1.05\\u0026colormap_name=viridis\\u0026rescale=0%2C1",\n", + " {"attribution": "VEDA", "detectRetina": false, "maxZoom": 18, "minZoom": 0, "noWrap": false, "opacity": 0.6, "subdomains": "abc", "tms": false}\n", " );\n", " \n", " \n", - " tile_layer_2a26a720ba962b0f373910e177211e21.addTo(map_10b95adb84c8970a6ec3781b6e8e9b4d);\n", + " tile_layer_e0b82fa989ea054854052f366155ed56.addTo(map_f224d4f6a4ed8c76c95b804a99071074);\n", " \n", "</script>\n", "</html>\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen>" ], "text/plain": [ - "" + "" ] }, "execution_count": 12, @@ -733,13 +737,6 @@ "\n", "In this case study we have successfully visualized how NASA monitors sulfur dioxide emissions from space, by showcasing three different examples across the globe: volcanic activity in the Galápagos islands (2005), large scale emissions on the Kamchatka Peninsula (2009), and eruptions of Fagradalsfjall in Iceland (2021)." ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { @@ -758,7 +755,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.9" + "version": "3.12.7" } }, "nbformat": 4,