-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
11,011 additions
and
1,283 deletions.
There are no files selected for viewing
503 changes: 66 additions & 437 deletions
503
Implementations/FY21/DIS_ICT_distance_calculations/DIS_ETIMT_ICT_distances.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
7,394 changes: 7,265 additions & 129 deletions
7,394
Implementations/FY22/AWS_EAWPV_ExploreWOfS/AWS_Search_Download.ipynb
Large diffs are not rendered by default.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
Implementations/FY22/AWS_EAWPV_ExploreWOfS/GRIDS_Extents.geojson
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"# Explore the Data Cube and deafrica packages\n", | ||
"\n", | ||
"https://github.com/digitalearthafrica/deafrica-sandbox-notebooks" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": {}, | ||
"outputs": [ | ||
{ | ||
"ename": "ModuleNotFoundError", | ||
"evalue": "No module named 'datacube'", | ||
"output_type": "error", | ||
"traceback": [ | ||
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", | ||
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", | ||
"\u001b[0;32m<ipython-input-1-4a48eb274d93>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[1;32m 8\u001b[0m \u001b[0mget_ipython\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_line_magic\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'matplotlib'\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m'inline'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 9\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 10\u001b[0;31m \u001b[0;32mimport\u001b[0m \u001b[0mdatacube\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 11\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mseaborn\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0msns\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 12\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mmatplotlib\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mpyplot\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0mplt\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", | ||
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'datacube'" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"import sys, os\n", | ||
"import rasterio, geojson\n", | ||
"\n", | ||
"import pandas as pd\n", | ||
"import geopandas as gpd\n", | ||
"\n", | ||
"\n", | ||
"%matplotlib inline\n", | ||
"\n", | ||
"import datacube\n", | ||
"import seaborn as sns\n", | ||
"import matplotlib.pyplot as plt\n", | ||
"from datacube.utils import masking\n", | ||
"from datacube.utils import geometry\n", | ||
"from datacube.utils.geometry import CRS\n", | ||
"\n", | ||
"from deafrica_tools.plotting import display_map, plot_wofs\n", | ||
"from deafrica_tools.datahandling import wofs_fuser, mostcommon_crs" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Earth Engine", | ||
"language": "python", | ||
"name": "ee" | ||
}, | ||
"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.9.4" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 2 | ||
} |
53 changes: 53 additions & 0 deletions
53
Implementations/FY22/AWS_EAWPV_ExploreWOfS/VRT_Extents.geojson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"type": "FeatureCollection", | ||
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:EPSG::32635" } }, | ||
"features": [ | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_01_11.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 552315.0, 1335285.0 ], [ 552315.0, 2343015.0 ], [ 130785.0, 2343015.0 ], [ 130785.0, 1335285.0 ], [ 552315.0, 1335285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_01_27.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 554415.0, 1334985.0 ], [ 554415.0, 2342715.0 ], [ 133185.0, 2342715.0 ], [ 133185.0, 1334985.0 ], [ 554415.0, 1334985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_01_02.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 501015.0, 2610885.0 ], [ 501015.0, 2822415.0 ], [ 258885.0, 2822415.0 ], [ 258885.0, 2610885.0 ], [ 501015.0, 2610885.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_01_18.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 502815.0, 1973985.0 ], [ 502815.0, 2822415.0 ], [ 112485.0, 2822415.0 ], [ 112485.0, 1973985.0 ], [ 502815.0, 1973985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_01_20.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 541815.0, 1174785.0 ], [ 541815.0, 1543815.0 ], [ 265785.0, 1543815.0 ], [ 265785.0, 1174785.0 ], [ 541815.0, 1174785.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_03_15.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 553515.0, 1335285.0 ], [ 553515.0, 2343015.0 ], [ 132585.0, 2343015.0 ], [ 132585.0, 1335285.0 ], [ 553515.0, 1335285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_03_31.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 552315.0, 1493985.0 ], [ 552315.0, 2343015.0 ], [ 168885.0, 2343015.0 ], [ 168885.0, 1493985.0 ], [ 552315.0, 1493985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_03_06.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 504015.0, 1973385.0 ], [ 504015.0, 2822715.0 ], [ 113985.0, 2822715.0 ], [ 113985.0, 1973385.0 ], [ 504015.0, 1973385.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_03_22.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 502215.0, 2292585.0 ], [ 502215.0, 2822715.0 ], [ 186285.0, 2822715.0 ], [ 186285.0, 2292585.0 ], [ 502215.0, 2292585.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_04_16.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 553815.0, 1334385.0 ], [ 553815.0, 2343015.0 ], [ 133485.0, 2343015.0 ], [ 133485.0, 1334385.0 ], [ 553815.0, 1334385.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_04_23.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 498015.0, 1973385.0 ], [ 498015.0, 2822715.0 ], [ 107985.0, 2822715.0 ], [ 107985.0, 1973385.0 ], [ 498015.0, 1973385.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_04_07.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 467415.0, 1974285.0 ], [ 467415.0, 2663715.0 ], [ 113085.0, 2663715.0 ], [ 113085.0, 1974285.0 ], [ 467415.0, 1974285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_04_09.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 437115.0, 855885.0 ], [ 437115.0, 1064715.0 ], [ 196485.0, 1064715.0 ], [ 196485.0, 855885.0 ], [ 437115.0, 855885.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_05_02.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 541815.0, 1334685.0 ], [ 541815.0, 2343315.0 ], [ 120885.0, 2343315.0 ], [ 120885.0, 1334685.0 ], [ 541815.0, 1334685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_05_18.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 536715.0, 1653885.0 ], [ 536715.0, 2343015.0 ], [ 186885.0, 2343015.0 ], [ 186885.0, 1653885.0 ], [ 536715.0, 1653885.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_05_09.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 486615.0, 1974285.0 ], [ 486615.0, 2822715.0 ], [ 95685.0, 2822715.0 ], [ 95685.0, 1974285.0 ], [ 486615.0, 1974285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_05_25.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 492915.0, 2610585.0 ], [ 492915.0, 2822715.0 ], [ 250785.0, 2822715.0 ], [ 250785.0, 2610585.0 ], [ 492915.0, 2610585.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_06_19.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 554715.0, 1334685.0 ], [ 554715.0, 2343015.0 ], [ 134985.0, 2343015.0 ], [ 134985.0, 1334685.0 ], [ 554715.0, 1334685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_06_10.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 504015.0, 1973685.0 ], [ 504015.0, 2822115.0 ], [ 113385.0, 2822115.0 ], [ 113385.0, 1973685.0 ], [ 504015.0, 1973685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_06_28.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 543915.0, 854985.0 ], [ 543915.0, 1543515.0 ], [ 198885.0, 1543515.0 ], [ 198885.0, 854985.0 ], [ 543915.0, 854985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_06_03.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 480315.0, 1334985.0 ], [ 480315.0, 2024115.0 ], [ 130485.0, 2024115.0 ], [ 130485.0, 1334985.0 ], [ 480315.0, 1334985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_09_23.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 555915.0, 1334985.0 ], [ 555915.0, 2342715.0 ], [ 134385.0, 2342715.0 ], [ 134385.0, 1334985.0 ], [ 555915.0, 1334985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_09_14.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 506415.0, 1973085.0 ], [ 506415.0, 2822715.0 ], [ 115785.0, 2822715.0 ], [ 115785.0, 1973085.0 ], [ 506415.0, 1973085.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_09_16.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 439515.0, 855285.0 ], [ 439515.0, 1065015.0 ], [ 198885.0, 1065015.0 ], [ 198885.0, 855285.0 ], [ 439515.0, 855285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_10_09.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 555315.0, 1334685.0 ], [ 555315.0, 2342715.0 ], [ 135585.0, 2342715.0 ], [ 135585.0, 1334685.0 ], [ 555315.0, 1334685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_10_25.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 554415.0, 2132085.0 ], [ 554415.0, 2343015.0 ], [ 313185.0, 2343015.0 ], [ 313185.0, 2132085.0 ], [ 554415.0, 2132085.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_10_16.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 394215.0, 1973985.0 ], [ 394215.0, 2345115.0 ], [ 113685.0, 2345115.0 ], [ 113685.0, 1973985.0 ], [ 394215.0, 1973985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_02_19.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 501915.0, 1973985.0 ], [ 501915.0, 2822715.0 ], [ 111585.0, 2822715.0 ], [ 111585.0, 1973985.0 ], [ 501915.0, 1973985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_02_05.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 541215.0, 855885.0 ], [ 541215.0, 1544115.0 ], [ 194985.0, 1544115.0 ], [ 194985.0, 855885.0 ], [ 541215.0, 855885.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_02_21.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 539715.0, 855285.0 ], [ 539715.0, 1543815.0 ], [ 195285.0, 1543815.0 ], [ 195285.0, 855285.0 ], [ 539715.0, 855285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_02_12.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 481215.0, 1334985.0 ], [ 481215.0, 2024115.0 ], [ 131685.0, 2024115.0 ], [ 131685.0, 1334985.0 ], [ 481215.0, 1334985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_02_28.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 481515.0, 1334985.0 ], [ 481515.0, 2023815.0 ], [ 131985.0, 2023815.0 ], [ 131985.0, 1334985.0 ], [ 481515.0, 1334985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_07_12.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 505815.0, 2609985.0 ], [ 505815.0, 2822715.0 ], [ 263685.0, 2822715.0 ], [ 263685.0, 2609985.0 ], [ 505815.0, 2609985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_07_28.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 506715.0, 1973385.0 ], [ 506715.0, 2822715.0 ], [ 115785.0, 2822715.0 ], [ 115785.0, 1973385.0 ], [ 506715.0, 1973385.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_07_14.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 542415.0, 854985.0 ], [ 542415.0, 1543515.0 ], [ 197385.0, 1543515.0 ], [ 197385.0, 854985.0 ], [ 542415.0, 854985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_07_30.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 544815.0, 855885.0 ], [ 544815.0, 1544115.0 ], [ 197985.0, 1544115.0 ], [ 197985.0, 855885.0 ], [ 544815.0, 855885.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_08_13.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 505215.0, 2610285.0 ], [ 505215.0, 2822115.0 ], [ 263085.0, 2822115.0 ], [ 263085.0, 2610285.0 ], [ 505215.0, 2610285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_08_29.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 506715.0, 1973085.0 ], [ 506715.0, 2822415.0 ], [ 116085.0, 2822415.0 ], [ 116085.0, 1973085.0 ], [ 506715.0, 1973085.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_08_31.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 544515.0, 854685.0 ], [ 544515.0, 1543815.0 ], [ 198285.0, 1543815.0 ], [ 198285.0, 854685.0 ], [ 544515.0, 854685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_12_19.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 503415.0, 1973985.0 ], [ 503415.0, 2822415.0 ], [ 112485.0, 2822415.0 ], [ 112485.0, 1973985.0 ], [ 503415.0, 1973985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_12_03.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 431715.0, 1973985.0 ], [ 431715.0, 2504115.0 ], [ 114885.0, 2504115.0 ], [ 114885.0, 1973985.0 ], [ 431715.0, 1973985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_12_21.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 506715.0, 855285.0 ], [ 506715.0, 1384215.0 ], [ 195285.0, 1384215.0 ], [ 195285.0, 855285.0 ], [ 506715.0, 855285.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_11_01.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 393615.0, 1973685.0 ], [ 393615.0, 2345115.0 ], [ 114585.0, 2345115.0 ], [ 114585.0, 1973685.0 ], [ 393615.0, 1973685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_11_17.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 393615.0, 1973985.0 ], [ 393615.0, 2345115.0 ], [ 113085.0, 2345115.0 ], [ 113085.0, 1973985.0 ], [ 393615.0, 1973985.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_11_19.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 506415.0, 1014585.0 ], [ 506415.0, 1383615.0 ], [ 231285.0, 1383615.0 ], [ 231285.0, 1014585.0 ], [ 506415.0, 1014585.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_11_10.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 448215.0, 1334685.0 ], [ 448215.0, 1864515.0 ], [ 134685.0, 1864515.0 ], [ 134685.0, 1334685.0 ], [ 448215.0, 1334685.0 ] ] ] } }, | ||
{ "type": "Feature", "properties": { "File": "WOFS_VRT_2012_11_26.vrt" }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 447015.0, 1334085.0 ], [ 447015.0, 1864215.0 ], [ 134085.0, 1864215.0 ], [ 134085.0, 1334085.0 ], [ 447015.0, 1334085.0 ] ] ] } } | ||
] | ||
} |
Oops, something went wrong.