{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Pléiades Display (Download)\n", "\n", "Pléiades 1A/1B are very-high resolution twin satellites offering 0.5m resolution products. The constellation is highly reactive and has been designed for daily revisit anywhere on Earth, with stereo and tri-stereo capacity. \n", "\n", "In the example, we use catalog search to find cloud-cover free images and plot their quicklooks. Then the workflow, the area of interest and the workflow parameters are defined. After running the job, the results are downloaded and visualized. For more information, refer to the block's [UP42 Marketplace page](https://marketplace.up42.com/block/defb134b-ca00-4e16-afa0-639c6dc0c5fe) and [Documentation](https://docs.up42.com/up42-blocks/data/pleiades-reflectance-download.html)." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import up42" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "2021-04-08 14:03:54,544 - Authentication with UP42 successful!\n" ] } ], "source": [ "# Authenticate with UP42.\n", "up42.authenticate(project_id=\"1234\", project_api_key=\"5678\")" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Use Catalog Search to find available images" ] }, { "cell_type": "code", "execution_count": 97, "metadata": {}, "outputs": [], "source": [ "aoi = {\"type\": \"FeatureCollection\",\"features\": [{\"type\": \"Feature\",\"properties\": {},\n", " \"geometry\": {\"type\": \"Polygon\",\"coordinates\": [[[13.373408317565918,52.51568549156065],\n", " [13.381991386413574,52.51568549156065],\n", " [13.381991386413574,52.519302392686626],\n", " [13.373408317565918,52.519302392686626],\n", " [13.373408317565918,52.51568549156065]]]}}]}" ] }, { "cell_type": "code", "execution_count": 98, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "2021-04-08 15:12:55,127 - Searching catalog with search_parameters: {'datetime': '2020-04-23T00:00:00Z/2020-04-28T23:59:59Z', 'intersects': {'type': 'Polygon', 'coordinates': (((13.373408317565918, 52.51568549156065), (13.381991386413574, 52.51568549156065), (13.381991386413574, 52.519302392686626), (13.373408317565918, 52.519302392686626), (13.373408317565918, 52.51568549156065)),)}, 'limit': 3, 'query': {'dataBlock': {'in': ['oneatlas-pleiades-fullscene', 'oneatlas-pleiades-display', 'oneatlas-pleiades-aoiclipped']}, 'cloudCoverage': {'lte': 100}}, 'sortby': [{'field': 'properties.acquisitionDate', 'direction': 'asc'}]}\n", "2021-04-08 15:12:55,750 - 3 results returned.\n" ] }, { "data": { "text/html": [ "
\n", " | geometry | \n", "id | \n", "acquisitionDate | \n", "constellation | \n", "collection | \n", "providerName | \n", "blockNames | \n", "cloudCoverage | \n", "up42:usageType | \n", "providerProperties | \n", "sceneId | \n", "resolution | \n", "deliveryTime | \n", "producer | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "POLYGON ((13.21858 52.45587, 13.34190 52.45724... | \n", "3c89938c-e669-4525-959b-62ba46c904e2 | \n", "2020-04-23T10:19:52Z | \n", "PHR | \n", "PHR | \n", "oneatlas | \n", "[oneatlas-pleiades-display, oneatlas-pleiades-... | \n", "0.000000 | \n", "[DATA] | \n", "{'qualified': False, 'acquisitionDate': '2020-... | \n", "DS_PHR1B_202004231019525_FR1_PX_E013N52_0513_0... | \n", "0.7 | \n", "HOURS | \n", "Airbus | \n", "
1 | \n", "POLYGON ((13.21800 52.58082, 13.21860 52.45684... | \n", "07e5eaba-7830-4aee-8c27-6b69fa1da89f | \n", "2020-04-23T10:19:52Z | \n", "PHR | \n", "PHR | \n", "oneatlas | \n", "[oneatlas-pleiades-display, oneatlas-pleiades-... | \n", "0.000000 | \n", "[DATA, ANALYTICS] | \n", "{'commercialReference': 'SO20022129', 'qualifi... | \n", "DS_PHR1B_202004231019525_FR1_PX_E013N52_0513_0... | \n", "0.5 | \n", "MINUTES | \n", "Airbus | \n", "
2 | \n", "POLYGON ((13.33197 52.33049, 13.46304 52.32930... | \n", "804c50f2-4093-4b85-ab84-e328b8fc47f1 | \n", "2020-04-28T10:31:23Z | \n", "PHR | \n", "PHR | \n", "oneatlas | \n", "[oneatlas-pleiades-display, oneatlas-pleiades-... | \n", "0.013443 | \n", "[DATA] | \n", "{'qualified': False, 'acquisitionDate': '2020-... | \n", "DS_PHR1B_202004281031230_FR1_PX_E013N52_0612_0... | \n", "0.7 | \n", "HOURS | \n", "Airbus | \n", "