From 890fb5438d2feb7fe51bc99645b449e273495a8c Mon Sep 17 00:00:00 2001 From: Max Kampen Date: Wed, 12 Oct 2022 13:35:25 +0200 Subject: [PATCH] Final corrections of JN --- .../how_to_access_public_collections.ipynb | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/examples/how_to_access_public_collections.ipynb b/examples/how_to_access_public_collections.ipynb index 03b9c2b..964ce5b 100644 --- a/examples/how_to_access_public_collections.ipynb +++ b/examples/how_to_access_public_collections.ipynb @@ -59,9 +59,9 @@ "# Set up credentials\n", "config = SHConfig()\n", "\n", - "# If you haven't saved your config, uncomment teh lines below and specify client id and client secret\n", + "# If you haven't saved your config, uncomment the lines below and specify client id and client secret\n", "# config.sh_client_id = ''\n", - "#config.sh_client_secret = ''" + "# config.sh_client_secret = ''" ] }, { @@ -130,19 +130,16 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "After defining the evalscript, we can then use this in our request payload. You can see that the Data Collection is named as `DataCollection.SENTINEL2_L2A`. If we were requesting the Sentinel-2 L1C it would be `DataCollection.SENTINEL2_L1C`. More information about the Sentinel and other datasets available at Sentinel Hub can be found [here](https://docs.sentinel-hub.com/api/latest/data/).\n", + "After defining the evalscript, we can then use this in our request payload. You can see that the Data Collection is named as `DataCollection.SENTINEL2_L2A`. If we were requesting Sentinel-2 L1C it would be `DataCollection.SENTINEL2_L1C`. More information about Sentinels and other datasets available at Sentinel Hub can be found [here](https://docs.sentinel-hub.com/api/latest/data/).\n", "\n", "We build the request payload according to the [API Reference](https://docs.sentinel-hub.com/api/latest/reference/), using the `SentinelHubRequest` class. Each Process API request also needs an evalscript.\n", "\n", "The information that we specify in the SentinelHubRequest object is:\n", "\n", - "an evalscript,\n", - "\n", - "a list of input data collections with time interval,\n", - "\n", - "a format of the response,\n", - "\n", - "a bounding box and it’s size (size or resolution)." + "- an evalscript,\n", + "- a list of input data collections with time interval,\n", + "- a format of the response,\n", + "- a bounding box and it’s size (size or resolution)." ] }, { @@ -197,7 +194,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 7, @@ -225,7 +222,7 @@ "metadata": {}, "source": [ "## BYOC Collections\n", - "BYOC collections are data collections that have been ingested to Sentinel Hub for public access using Sentinel Hub Bring Your Own COG service ([BYOC](https://docs.sentinel-hub.com/api/latest/api/byoc/)). For these collections on [Sentinel Hub Public Collections](https://collections.sentinel-hub.com/) page, the Resources section provides `collectionId`,`Endpoint` and `Type` which start with `byoc-` . For example, [Sentinel-2 L2A 120m Mosaic](https://collections.sentinel-hub.com/sentinel-s2-l2a-mosaic-120/), [ESA WorldCover](https://collections.sentinel-hub.com/worldcover/), etc. Note that these collections can be deployed on different endpoints, which need to be specified when requesting the data." + "BYOC collections are data collections that have been ingested to Sentinel Hub for public access using Sentinel Hub Bring Your Own COG service ([BYOC](https://docs.sentinel-hub.com/api/latest/api/byoc/)). For these collections on [Sentinel Hub Public Collections](https://collections.sentinel-hub.com/) page, the Resources section provides `collectionId`, `Endpoint` and `Type` which start with `byoc-` . For example, [Sentinel-2 L2A 120m Mosaic](https://collections.sentinel-hub.com/sentinel-s2-l2a-mosaic-120/), [ESA WorldCover](https://collections.sentinel-hub.com/worldcover/), etc. Note that these collections can be deployed on different endpoints, which need to be specified when requesting the data." ] }, { @@ -331,7 +328,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "And then can plot the requested data collection:" + "After having received the response, we can plot the requested data:" ] }, { @@ -342,7 +339,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 13, @@ -370,7 +367,7 @@ "metadata": {}, "source": [ "### Copernicus Services Data\n", - "Several Copernicus Services data have been ingested to Sentinel Hub using Sentinel Hub BYOC service. These include [CORINE Land Cover](https://collections.sentinel-hub.com/corine-land-cover/), [Global Surface Water](https://collections.sentinel-hub.com/global-surface-water/) etc. Most of these data are deployed on `creodias.sentinel-hub.com`, and this is indicated on the Resources section of the collections on [Public Colections](https://collections.sentinel-hub.com/) page\n", + "Several Copernicus Services data have been ingested to Sentinel Hub using Sentinel Hub BYOC service. These include [CORINE Land Cover](https://collections.sentinel-hub.com/corine-land-cover/), [Global Surface Water](https://collections.sentinel-hub.com/global-surface-water/) etc. Most of these data are deployed on `creodias.sentinel-hub.com`, and this is indicated on the Resources section of the collections on [Public Collections](https://collections.sentinel-hub.com/) page\n", "\n", "#### Example 3: Corine Land Cover Data\n", "\n", @@ -543,7 +540,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 19, @@ -602,7 +599,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "The example worldview collection is deployed on Sentinel Hub, so we set the `sh_base_url` back to the default setting `https://services.sentinel-hub.com` and define a BYOC collection using the collection ID." + "The example WorldView collection is deployed on Sentinel Hub, so we set the `sh_base_url` back to the default setting `https://services.sentinel-hub.com` and define a BYOC collection using the collection ID." ] }, { @@ -720,7 +717,7 @@ { "data": { "text/plain": [ - "" + "" ] }, "execution_count": 25, @@ -747,7 +744,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "That concludes this notebook, and you should now fully understand how to access the different types of data collections available on Sentinel Hub Public Collections!\n", + "That concludes this notebook, and you should now have all the tools needed to access the different types of data collections available on Sentinel Hub Public Collections!\n", "\n", "If you need more support you can always contact us on the [Sentinel Hub Forum](https://forum.sentinel-hub.com/). " ]