From e6f50a90817e6b7145a328fc68a6f449e98792cb Mon Sep 17 00:00:00 2001 From: LaurenSchenk1 Date: Thu, 25 Jul 2024 01:31:02 +0000 Subject: [PATCH 1/2] WIT note about loading polygons --- DEA_products/DEA_Wetlands_Insight_Tool.ipynb | 86 +++++++++----------- 1 file changed, 40 insertions(+), 46 deletions(-) diff --git a/DEA_products/DEA_Wetlands_Insight_Tool.ipynb b/DEA_products/DEA_Wetlands_Insight_Tool.ipynb index c5759807..84c2da9f 100755 --- a/DEA_products/DEA_Wetlands_Insight_Tool.ipynb +++ b/DEA_products/DEA_Wetlands_Insight_Tool.ipynb @@ -134,7 +134,7 @@ "
\n", "
\n", "

Client

\n", - "

Client-98138099-4260-11ef-8124-a65cf44136ef

\n", + "

Client-13b76067-4a25-11ef-809c-2ece1b33e086

\n", " \n", "\n", " \n", @@ -147,7 +147,7 @@ " \n", " \n", " \n", " \n", " \n", @@ -156,7 +156,7 @@ "
\n", - " Dashboard: /user/bex.dunn@ga.gov.au/proxy/8787/status\n", + " Dashboard: /user/lauren.schenk@ga.gov.au/proxy/8787/status\n", "
\n", "\n", " \n", - " \n", " \n", @@ -169,11 +169,11 @@ "
\n", "
\n", "

LocalCluster

\n", - "

94443c02

\n", + "

729d0a1a

\n", " \n", " \n", " \n", "
\n", - " Dashboard: /user/bex.dunn@ga.gov.au/proxy/8787/status\n", + " Dashboard: /user/lauren.schenk@ga.gov.au/proxy/8787/status\n", " \n", " Workers: 1\n", @@ -206,11 +206,11 @@ "
\n", "
\n", "

Scheduler

\n", - "

Scheduler-2c16632d-4e2b-4011-9348-112985ec9a13

\n", + "

Scheduler-aca6db24-c519-4ea3-ad9a-4fd1a9e3a9c6

\n", " \n", " \n", " \n", " \n", " \n", " \n", "
\n", - " Comm: tcp://127.0.0.1:41721\n", + " Comm: tcp://127.0.0.1:35857\n", " \n", " Workers: 1\n", @@ -218,7 +218,7 @@ "
\n", - " Dashboard: /user/bex.dunn@ga.gov.au/proxy/8787/status\n", + " Dashboard: /user/lauren.schenk@ga.gov.au/proxy/8787/status\n", " \n", " Total threads: 2\n", @@ -252,7 +252,7 @@ " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "\n", @@ -301,7 +301,7 @@ "" ], "text/plain": [ - "" + "" ] }, "metadata": {}, @@ -362,7 +362,9 @@ }, "source": [ "### Analysis parameters\n", - "* `poly`: The polygon of your wetland of interest. This can be a shapefile or a GeoJSON. User will need to drag and drop the file into the sandbox and update the file path. Your polygon should be in EPSG:3577 [GDA94 Australian Albers](https://epsg.io/3577)." + "* `poly`: The polygon of your wetland of interest. This can be a shapefile or a GeoJSON. User will need to drag and drop the file into the sandbox and update the file path. Your polygon should be in EPSG:3577 [GDA94 Australian Albers](https://epsg.io/3577).\n", + "\n", + "> **Note:** Ensure that if a shapefile is used there are no elevation ('Z') values associated with it. If there are, these will need to be removed before the WIT notebook can be run." ] }, { @@ -854,7 +856,7 @@ " nbart_swir_2 (time, y, x) float32 1MB 2.41e+03 2.291e+03 ... nan nan\n", "Attributes:\n", " crs: EPSG:3577\n", - " grid_mapping: spatial_ref
  • crs :
    EPSG:3577
    grid_mapping :
    spatial_ref
  • " ], "text/plain": [ " Size: 8MB\n", @@ -1254,14 +1256,6 @@ "tags": [] }, "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/env/lib/python3.10/site-packages/rasterio/warp.py:344: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix will be returned.\n", - " _reproject(\n" - ] - }, { "data": { "text/html": [ @@ -1642,7 +1636,7 @@ " ue (time, y, x) uint8 589kB 9 10 10 9 8 8 9 10 ... 3 4 4 4 4 4 3 4\n", "Attributes:\n", " crs: PROJCS["GDA94 / Australian Albers",GEOGCS["GDA94",DATUM["G...\n", - " grid_mapping: spatial_ref
  • crs :
    PROJCS["GDA94 / Australian Albers",GEOGCS["GDA94",DATUM["Geocentric_Datum_of_Australia_1994",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6283"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4283"]],PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",132],PARAMETER["standard_parallel_1",-18],PARAMETER["standard_parallel_2",-36],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","3577"]]
    grid_mapping :
    spatial_ref
  • " ], "text/plain": [ " Size: 2MB\n", From b3a062c0df42f13c4164ae12d9e555e9c400db20 Mon Sep 17 00:00:00 2001 From: LaurenSchenk1 Date: Fri, 26 Jul 2024 05:21:52 +0000 Subject: [PATCH 2/2] Improve accuracy of NOTE message --- DEA_products/DEA_Wetlands_Insight_Tool.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEA_products/DEA_Wetlands_Insight_Tool.ipynb b/DEA_products/DEA_Wetlands_Insight_Tool.ipynb index 84c2da9f..8b069eaa 100755 --- a/DEA_products/DEA_Wetlands_Insight_Tool.ipynb +++ b/DEA_products/DEA_Wetlands_Insight_Tool.ipynb @@ -364,7 +364,7 @@ "### Analysis parameters\n", "* `poly`: The polygon of your wetland of interest. This can be a shapefile or a GeoJSON. User will need to drag and drop the file into the sandbox and update the file path. Your polygon should be in EPSG:3577 [GDA94 Australian Albers](https://epsg.io/3577).\n", "\n", - "> **Note:** Ensure that if a shapefile is used there are no elevation ('Z') values associated with it. If there are, these will need to be removed before the WIT notebook can be run." + "> **Note:** Ensure that input shapefiles contain only 2D polygon geometries with no \"z\" dimension/coordinates. If this is not the case, \"z\" coordinates will need to be removed before the WIT notebook can be run." ] }, {
    \n", - " Comm: tcp://127.0.0.1:42815\n", + " Comm: tcp://127.0.0.1:40943\n", " \n", " Total threads: 2\n", @@ -260,7 +260,7 @@ "
    \n", - " Dashboard: /user/bex.dunn@ga.gov.au/proxy/37117/status\n", + " Dashboard: /user/lauren.schenk@ga.gov.au/proxy/37419/status\n", " \n", " Memory: 12.21 GiB\n", @@ -268,13 +268,13 @@ "
    \n", - " Nanny: tcp://127.0.0.1:35379\n", + " Nanny: tcp://127.0.0.1:45195\n", "
    \n", - " Local directory: /tmp/dask-scratch-space/worker-7h0yz79u\n", + " Local directory: /tmp/dask-scratch-space/worker-_yws9zfw\n", "