diff --git a/EDA.ipynb b/EDA.ipynb index d16a753..dd0f436 100644 --- a/EDA.ipynb +++ b/EDA.ipynb @@ -2,13 +2,13 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "
✔️ 700 ms (2024-02-28T16:52:10/2024-02-28T16:52:11)" + "
✔️ 3.45 ms (2024-03-04T10:20:31/2024-03-04T10:20:31)" ], "text/plain": [ "
✔️ 458 µs (2024-02-28T16:52:11/2024-02-28T16:52:11)" + "
✔️ 821 µs (2024-03-04T10:20:32/2024-03-04T10:20:32)" ], "text/plain": [ "
✔️ 3 min 51 s (2024-02-28T16:52:11/2024-02-28T16:56:03)" + "
✔️ 289 ms (2024-03-04T10:20:32/2024-03-04T10:20:32)" ], "text/plain": [ "
✔️ 211 ms (2024-02-28T16:56:03/2024-02-28T16:56:03)" + "
✔️ 185 ms (2024-03-04T10:20:32/2024-03-04T10:20:32)" ], "text/plain": [ "
2438 rows × 1 columns
\n", + "2444 rows × 1 columns
\n", "" ], "text/plain": [ - " filename\n", - "29906 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Matarangi_18FEB2023.shp\n", - "29907 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Matarangi_24DEC2022.shp\n", - "29910 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/NewChums_18FEB2023.shp\n", - "29911 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Whangapoua_24DEC2022.shp\n", - "29918 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Whangapoua_18FEB2023.shp\n", - "... ...\n", - "109278 Retrolens/Wellington/KapitiSouth/Shorelines/KapitiSouth_02JAN1988.shp\n", - "109283 Retrolens/Wellington/KapitiSouth/Shorelines/KapitiSouth_06OCT1980.shp\n", - "110387 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_22AUG1961.shp\n", - "110398 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_Wellington_13FEB2021.shp\n", - "110400 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp\n", + " filename\n", + "29900 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Matarangi_18FEB2023.shp\n", + "29901 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Matarangi_24DEC2022.shp\n", + "29904 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/NewChums_18FEB2023.shp\n", + "29905 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Whangapoua_24DEC2022.shp\n", + "29912 Gabrielle/Shorelines/Waikato/Matarangi and surrounds/Whangapoua_18FEB2023.shp\n", + "... ...\n", + "185977 Retrolens/Wellington/KapitiSouth/Shorelines/KapitiSouth_02JAN1988.shp\n", + "185982 Retrolens/Wellington/KapitiSouth/Shorelines/KapitiSouth_06OCT1980.shp\n", + "187085 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_22AUG1961.shp\n", + "187087 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_13FEB2021.shp\n", + "187097 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp\n", "\n", - "[2438 rows x 1 columns]" + "[2444 rows x 1 columns]" ] }, - "execution_count": 4, + "execution_count": 18, "metadata": {}, "output_type": "execute_result" } @@ -281,13 +275,13 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "✔️ 379 µs (2024-02-28T16:56:03/2024-02-28T16:56:03)" + "
✔️ 931 µs (2024-03-04T10:20:33/2024-03-04T10:20:33)" ], "text/plain": [ "
✔️ 366 ms (2024-03-04T10:20:33/2024-03-04T10:20:33)" ], "text/plain": [ "
✔️ 103 ms (2024-02-28T16:56:04/2024-02-28T16:56:04)" + "
✔️ 104 ms (2024-03-04T10:20:33/2024-03-04T10:20:33)" ], "text/plain": [ "
✔️ 730 ms (2024-02-28T16:56:04/2024-02-28T16:56:05)" + "
✔️ 647 ms (2024-03-04T10:20:34/2024-03-04T10:20:34)" ], "text/plain": [ "
✔️ 8.92 ms (2024-02-28T16:56:05/2024-02-28T16:56:05)" + "
✔️ 7.76 ms (2024-03-04T10:20:34/2024-03-04T10:20:35)" ], "text/plain": [ "
2438 rows × 3 columns
\n", + "2444 rows × 3 columns
\n", "" ], "text/plain": [ " filename \\\n", - "30274 Gabrielle/Shorelines/BayofPlenty/Opotiki/BOPLINZ_Opotiki_05APR2023.shp \n", - "31160 Gabrielle/Shorelines/Gisborne/TeAraroa/EastCape_18DEC2021.shp \n", - "30441 Gabrielle/Shorelines/BayofPlenty/EasternBoP/EasternBoP_20DEC2021.shp \n", - "30213 Gabrielle/Shorelines/BayofPlenty/Waihi/BOPLINZ_Waihi_05APR2023.shp \n", - "44135 Retrolens/Southland/Riverton/Shorelines/Riverton_Mosaic_STH13R_05FEB2014.shp \n", + "30252 Gabrielle/Shorelines/BayofPlenty/Opotiki/BOPLINZ_Opotiki_05APR2023.shp \n", + "31100 Gabrielle/Shorelines/Gisborne/TeAraroa/EastCape_18DEC2021.shp \n", + "30409 Gabrielle/Shorelines/BayofPlenty/EasternBoP/EasternBoP_20DEC2021.shp \n", + "30195 Gabrielle/Shorelines/BayofPlenty/Waihi/BOPLINZ_Waihi_05APR2023.shp \n", + "121641 Retrolens/Southland/Riverton/Shorelines/Riverton_Mosaic_STH13R_05FEB2014.shp \n", "... ... \n", - "3571 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_14OCT1980.shp \n", - "3576 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_25MAR1965.shp \n", - "3586 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_07SEP1944.shp \n", - "3367 Retrolens/HawkesBay/WhakakiLagoon/Shorelines/WhakakiLagoon_01NOV1942.shp \n", - "110400 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp \n", + "81366 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_23NOV1976.shp \n", + "81582 Retrolens/HawkesBay/Wairoa/Shorelines/Wairoa_22JAN1979.shp \n", + "81586 Retrolens/HawkesBay/Wairoa/Shorelines/Wairoa_7NOV1942.shp \n", + "81344 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_27JAN1999.shp \n", + "187097 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp \n", "\n", " matched_image \\\n", - "30274 Gabrielle/Imagery/post_storm/Region/BayofPlenty/Opotiki/Opotiki_28FEB2023.tif \n", - "31160 Gabrielle/Imagery/pre-storm/Auckland/Waiheke/Onetangi_21DEC2022.tif \n", - "30441 Gabrielle/Imagery/pre-storm/Waikato/Matarangi/Matarangi_24DEC2022.tif \n", - "30213 Gabrielle/Imagery/post_storm/Region/Auckland/Omaha/PNEO/OmahaPakiri_04APR2023.tif \n", - "44135 MaxarImagery/HighFreq/Southland/Riverton/Stack/Riverton_13MAR2021.tif \n", + "30252 Gabrielle/Imagery/post_storm/Region/BayofPlenty/Opotiki/Opotiki_28FEB2023.tif \n", + "31100 Gabrielle/Imagery/pre-storm/Auckland/Waiheke/Onetangi_21DEC2022.tif \n", + "30409 Gabrielle/Imagery/pre-storm/Waikato/Matarangi/Matarangi_24DEC2022.tif \n", + "30195 Gabrielle/Imagery/post_storm/Region/Auckland/Omaha/PNEO/OmahaPakiri_04APR2023.tif \n", + "121641 MaxarImagery/HighFreq/Southland/Riverton/Stack/Riverton_13MAR2021.tif \n", "... ... \n", - "3571 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_14OCT1980_mosaic.jp2 \n", - "3576 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_25MAR1965_mosaic.jp2 \n", - "3586 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_07SEP1944_mosaic.jp2 \n", - "3367 Retrolens/HawkesBay/WhakakiLagoon/Stack/WhakakiLagoon_01NOV1942_mosaic.jp2 \n", - "110400 Retrolens/Wellington/PukeruaBay/Stack/PukeruaBay_20SEP1980_mosaic.jp2 \n", + "81366 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_23NOV1976_mosaic.jp2 \n", + "81582 Retrolens/HawkesBay/Wairoa/Stack/Wairoa_22JAN1979_mosaic.jp2 \n", + "81586 Retrolens/HawkesBay/Wairoa/Stack/Wairoa_7NOV1942_mosaic.jp2 \n", + "81344 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_27JAN1999_mosaic.jp2 \n", + "187097 Retrolens/Wellington/PukeruaBay/Stack/PukeruaBay_20SEP1980_mosaic.jp2 \n", "\n", " match_score \n", - "30274 57.894737 \n", - "31160 58.823529 \n", - "30441 59.459459 \n", - "30213 61.538462 \n", - "44135 62.307692 \n", + "30252 57.894737 \n", + "31100 58.823529 \n", + "30409 59.459459 \n", + "30195 61.538462 \n", + "121641 62.307692 \n", "... ... \n", - "3571 100.000000 \n", - "3576 100.000000 \n", - "3586 100.000000 \n", - "3367 100.000000 \n", - "110400 100.000000 \n", + "81366 100.000000 \n", + "81582 100.000000 \n", + "81586 100.000000 \n", + "81344 100.000000 \n", + "187097 100.000000 \n", "\n", - "[2438 rows x 3 columns]" + "[2444 rows x 3 columns]" ] }, - "execution_count": 9, + "execution_count": 23, "metadata": {}, "output_type": "execute_result" } @@ -614,13 +608,13 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 24, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "✔️ 39.1 s (2024-02-28T16:56:05/2024-02-28T16:56:44)" + "
✔️ 30.7 s (2024-03-04T10:20:35/2024-03-04T10:21:05)" ], "text/plain": [ "
2438 rows × 8 columns
\n", + "2444 rows × 8 columns
\n", "" ], "text/plain": [ " filename \\\n", - "30274 Gabrielle/Shorelines/BayofPlenty/Opotiki/BOPLINZ_Opotiki_05APR2023.shp \n", - "31160 Gabrielle/Shorelines/Gisborne/TeAraroa/EastCape_18DEC2021.shp \n", - "30441 Gabrielle/Shorelines/BayofPlenty/EasternBoP/EasternBoP_20DEC2021.shp \n", - "30213 Gabrielle/Shorelines/BayofPlenty/Waihi/BOPLINZ_Waihi_05APR2023.shp \n", - "44135 Retrolens/Southland/Riverton/Shorelines/Riverton_Mosaic_STH13R_05FEB2014.shp \n", + "30252 Gabrielle/Shorelines/BayofPlenty/Opotiki/BOPLINZ_Opotiki_05APR2023.shp \n", + "31100 Gabrielle/Shorelines/Gisborne/TeAraroa/EastCape_18DEC2021.shp \n", + "30409 Gabrielle/Shorelines/BayofPlenty/EasternBoP/EasternBoP_20DEC2021.shp \n", + "30195 Gabrielle/Shorelines/BayofPlenty/Waihi/BOPLINZ_Waihi_05APR2023.shp \n", + "121641 Retrolens/Southland/Riverton/Shorelines/Riverton_Mosaic_STH13R_05FEB2014.shp \n", "... ... \n", - "3571 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_14OCT1980.shp \n", - "3576 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_25MAR1965.shp \n", - "3586 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_07SEP1944.shp \n", - "3367 Retrolens/HawkesBay/WhakakiLagoon/Shorelines/WhakakiLagoon_01NOV1942.shp \n", - "110400 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp \n", + "81366 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_23NOV1976.shp \n", + "81582 Retrolens/HawkesBay/Wairoa/Shorelines/Wairoa_22JAN1979.shp \n", + "81586 Retrolens/HawkesBay/Wairoa/Shorelines/Wairoa_7NOV1942.shp \n", + "81344 Retrolens/HawkesBay/Porangahau/Shorelines/Porangahau_27JAN1999.shp \n", + "187097 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp \n", "\n", " matched_image \\\n", - "30274 Gabrielle/Imagery/post_storm/Region/BayofPlenty/Opotiki/Opotiki_28FEB2023.tif \n", - "31160 Gabrielle/Imagery/pre-storm/Auckland/Waiheke/Onetangi_21DEC2022.tif \n", - "30441 Gabrielle/Imagery/pre-storm/Waikato/Matarangi/Matarangi_24DEC2022.tif \n", - "30213 Gabrielle/Imagery/post_storm/Region/Auckland/Omaha/PNEO/OmahaPakiri_04APR2023.tif \n", - "44135 MaxarImagery/HighFreq/Southland/Riverton/Stack/Riverton_13MAR2021.tif \n", + "30252 Gabrielle/Imagery/post_storm/Region/BayofPlenty/Opotiki/Opotiki_28FEB2023.tif \n", + "31100 Gabrielle/Imagery/pre-storm/Auckland/Waiheke/Onetangi_21DEC2022.tif \n", + "30409 Gabrielle/Imagery/pre-storm/Waikato/Matarangi/Matarangi_24DEC2022.tif \n", + "30195 Gabrielle/Imagery/post_storm/Region/Auckland/Omaha/PNEO/OmahaPakiri_04APR2023.tif \n", + "121641 MaxarImagery/HighFreq/Southland/Riverton/Stack/Riverton_13MAR2021.tif \n", "... ... \n", - "3571 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_14OCT1980_mosaic.jp2 \n", - "3576 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_25MAR1965_mosaic.jp2 \n", - "3586 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_07SEP1944_mosaic.jp2 \n", - "3367 Retrolens/HawkesBay/WhakakiLagoon/Stack/WhakakiLagoon_01NOV1942_mosaic.jp2 \n", - "110400 Retrolens/Wellington/PukeruaBay/Stack/PukeruaBay_20SEP1980_mosaic.jp2 \n", + "81366 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_23NOV1976_mosaic.jp2 \n", + "81582 Retrolens/HawkesBay/Wairoa/Stack/Wairoa_22JAN1979_mosaic.jp2 \n", + "81586 Retrolens/HawkesBay/Wairoa/Stack/Wairoa_7NOV1942_mosaic.jp2 \n", + "81344 Retrolens/HawkesBay/Porangahau/Stack/Porangahau_27JAN1999_mosaic.jp2 \n", + "187097 Retrolens/Wellington/PukeruaBay/Stack/PukeruaBay_20SEP1980_mosaic.jp2 \n", "\n", - " match_score Source n_lines CPS Photoscale Pixel_Er \n", - "30274 57.894737 LDS 2 True True True \n", - "31160 58.823529 LDS 48 True True True \n", - "30441 59.459459 LDS 34 True True True \n", - "30213 61.538462 LDS 6 True True True \n", - "44135 62.307692 LDS 8 True False False \n", - "... ... ... ... ... ... ... \n", - "3571 100.000000 RL 2 True True True \n", - "3576 100.000000 RL 1 True True True \n", - "3586 100.000000 RL 4 True True True \n", - "3367 100.000000 RL 3 False False False \n", - "110400 100.000000 RLN 5 True False False \n", + " match_score Source n_lines CPS Photoscale Pixel_Er \n", + "30252 57.894737 LDS 2 OK True True \n", + "31100 58.823529 LDS 48 OK True True \n", + "30409 59.459459 LDS 34 OK True True \n", + "30195 61.538462 LDS 6 OK True True \n", + "121641 62.307692 LDS 8 OK True True \n", + "... ... ... ... ... ... ... \n", + "81366 100.000000 RL 2 OK True True \n", + "81582 100.000000 RL 8 OK True True \n", + "81586 100.000000 RL 13 Has NA CPS True True \n", + "81344 100.000000 RL 2 OK True True \n", + "187097 100.000000 RLN 5 OK False False \n", "\n", - "[2438 rows x 8 columns]" + "[2444 rows x 8 columns]" ] }, - "execution_count": 10, + "execution_count": 24, "metadata": {}, "output_type": "execute_result" } @@ -894,10 +888,27 @@ " print(f\"{filename} has ambiguous sources: {sources}\")\n", " source = sources[0]\n", " n_lines = len(shapefile.dropna(subset=\"geometry\").explode(index_parts=False))\n", + " CPS = \"\"\n", + " if \"CPS\" not in shapefile.columns:\n", + " CPS = \"No CPS column\"\n", + " else:\n", + " CPS = shapefile.CPS.values\n", + " if len(CPS) == 0:\n", + " CPS = \"No CPS values\"\n", + " elif 9 in CPS:\n", + " CPS = \"Has CPS=9\"\n", + " elif 0 in CPS:\n", + " CPS = \"Has CPS=0\"\n", + " elif None in CPS:\n", + " CPS = \"Has None CPS\"\n", + " elif pd.isna(CPS).any():\n", + " CPS = \"Has NA CPS\"\n", + " else:\n", + " CPS = \"OK\"\n", " return {\n", " \"Source\": source,\n", " \"n_lines\": n_lines,\n", - " \"CPS\": \"CPS\" in shapefile.columns,\n", + " \"CPS\": CPS,\n", " \"Photoscale\": \"Photoscale\" in shapefile.columns,\n", " \"Pixel_Er\": \"Pixel_Er\" in shapefile.columns\n", " }\n", @@ -909,13 +920,75 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 25, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "✔️ 11.1 ms (2024-02-28T16:56:45/2024-02-28T16:56:45)" + "
✔️ 4.06 ms (2024-03-04T10:21:36/2024-03-04T10:21:36)" + ], + "text/plain": [ + "
✔️ 31.2 ms (2024-03-04T10:27:15/2024-03-04T10:27:15)" + ], + "text/plain": [ + "
✔️ 9.8 ms (2024-03-04T10:21:37/2024-03-04T10:21:37)" ], "text/plain": [ "
2438 rows × 8 columns
\n", + "2444 rows × 8 columns
\n", "" ], "text/plain": [ " filename \\\n", - "30274 Gabrielle/Shorelines/BayofPlenty/Opotiki/BOPLINZ_Opotiki_05APR2023.shp \n", - "31160 Gabrielle/Shorelines/Gisborne/TeAraroa/EastCape_18DEC2021.shp \n", - "30441 Gabrielle/Shorelines/BayofPlenty/EasternBoP/EasternBoP_20DEC2021.shp \n", - "30213 Gabrielle/Shorelines/BayofPlenty/Waihi/BOPLINZ_Waihi_05APR2023.shp \n", - "44135 Retrolens/Southland/Riverton/Shorelines/Riverton_Mosaic_STH13R_05FEB2014.shp \n", + "30252 Gabrielle/Shorelines/BayofPlenty/Opotiki/BOPLINZ_Opotiki_05APR2023.shp \n", + "31100 Gabrielle/Shorelines/Gisborne/TeAraroa/EastCape_18DEC2021.shp \n", + "30409 Gabrielle/Shorelines/BayofPlenty/EasternBoP/EasternBoP_20DEC2021.shp \n", + "30195 Gabrielle/Shorelines/BayofPlenty/Waihi/BOPLINZ_Waihi_05APR2023.shp \n", + "121641 Retrolens/Southland/Riverton/Shorelines/Riverton_Mosaic_STH13R_05FEB2014.shp \n", "... ... \n", - "86369 Retrolens/Northland/Rawara/Shorelines/Rawara_24NOV1979.shp \n", - "86366 Retrolens/Northland/Rawara/Shorelines/Rawara_26MAY1947.shp \n", - "86283 Retrolens/Northland/TokerauBeach/Shorelines/TokerauBeach_20FEB1984.shp \n", - "85998 Retrolens/Northland/TaupiriBay/Shorelines/TaupiriBay_03FEB1959.shp \n", - "110400 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp \n", + "163362 Retrolens/Northland/Rawara/Shorelines/Rawara_24NOV1979.shp \n", + "163359 Retrolens/Northland/Rawara/Shorelines/Rawara_26MAY1947.shp \n", + "163278 Retrolens/Northland/TokerauBeach/Shorelines/TokerauBeach_20FEB1984.shp \n", + "180342 Retrolens/Bay of Plenty/WaihiBeach/Shorelines/WaihiBeach_12APR1975.shp \n", + "187097 Retrolens/Wellington/PukeruaBay/Shorelines/PukeruaBay_20SEP1980.shp \n", "\n", " matched_image \\\n", - "30274 Gabrielle/Imagery/post_storm/Region/BayofPlenty/Opotiki/Opotiki_28FEB2023.tif \n", - "31160 Gabrielle/Imagery/pre-storm/Auckland/Waiheke/Onetangi_21DEC2022.tif \n", - "30441 Gabrielle/Imagery/pre-storm/Waikato/Matarangi/Matarangi_24DEC2022.tif \n", - "30213 Gabrielle/Imagery/post_storm/Region/Auckland/Omaha/PNEO/OmahaPakiri_04APR2023.tif \n", - "44135 MaxarImagery/HighFreq/Southland/Riverton/Stack/Riverton_13MAR2021.tif \n", + "30252 Gabrielle/Imagery/post_storm/Region/BayofPlenty/Opotiki/Opotiki_28FEB2023.tif \n", + "31100 Gabrielle/Imagery/pre-storm/Auckland/Waiheke/Onetangi_21DEC2022.tif \n", + "30409 Gabrielle/Imagery/pre-storm/Waikato/Matarangi/Matarangi_24DEC2022.tif \n", + "30195 Gabrielle/Imagery/post_storm/Region/Auckland/Omaha/PNEO/OmahaPakiri_04APR2023.tif \n", + "121641 MaxarImagery/HighFreq/Southland/Riverton/Stack/Riverton_13MAR2021.tif \n", "... ... \n", - "86369 Retrolens/Northland/Rawara/Stack/Rawara_24NOV1979.tif \n", - "86366 Retrolens/Northland/Rawara/Stack/Rawara_26MAY1947.tif \n", - "86283 Retrolens/Northland/TokerauBeach/Stack/TokerauBeach_20FEB1984.tif \n", - "85998 Retrolens/Northland/TaupiriBay/Stack/TaupiriBay_03FEB1959.tif \n", - "110400 Retrolens/Wellington/PukeruaBay/Stack/PukeruaBay_20SEP1980_mosaic.jp2 \n", + "163362 Retrolens/Northland/Rawara/Stack/Rawara_24NOV1979.tif \n", + "163359 Retrolens/Northland/Rawara/Stack/Rawara_26MAY1947.tif \n", + "163278 Retrolens/Northland/TokerauBeach/Stack/TokerauBeach_20FEB1984.tif \n", + "180342 Retrolens/Bay of Plenty/WaihiBeach/Stack/WaihiBeach_12APR1975_mosaic.jp2 \n", + "187097 Retrolens/Wellington/PukeruaBay/Stack/PukeruaBay_20SEP1980_mosaic.jp2 \n", "\n", - " match_score Source n_lines CPS Photoscale Pixel_Er \n", - "30274 57.894737 LDS 2 True True True \n", - "31160 58.823529 LDS 48 True True True \n", - "30441 59.459459 LDS 34 True True True \n", - "30213 61.538462 LDS 6 True True True \n", - "44135 62.307692 LDS 8 True False False \n", - "... ... ... ... ... ... ... \n", - "86369 100.000000 RL 11 True True True \n", - "86366 100.000000 RL 14 True True True \n", - "86283 100.000000 RL 26 True True True \n", - "85998 100.000000 RL 15 True True False \n", - "110400 100.000000 RLN 5 True False False \n", + " match_score Source n_lines CPS Photoscale Pixel_Er \n", + "30252 57.894737 LDS 2 OK True True \n", + "31100 58.823529 LDS 48 OK True True \n", + "30409 59.459459 LDS 34 OK True True \n", + "30195 61.538462 LDS 6 OK True True \n", + "121641 62.307692 LDS 8 OK True True \n", + "... ... ... ... .. ... ... \n", + "163362 100.000000 RL 11 OK True True \n", + "163359 100.000000 RL 14 OK True True \n", + "163278 100.000000 RL 26 OK True True \n", + "180342 100.000000 RL 8 OK True True \n", + "187097 100.000000 RLN 5 OK False False \n", "\n", - "[2438 rows x 8 columns]" + "[2444 rows x 8 columns]" ] }, - "execution_count": 11, + "execution_count": 26, "metadata": {}, "output_type": "execute_result" } @@ -1136,13 +1209,13 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 27, "metadata": {}, "outputs": [ { "data": { "text/html": [ - "✔️ 33.5 ms (2024-02-28T16:56:45/2024-02-28T16:56:45)" + "
✔️ 36 ms (2024-03-04T10:21:37/2024-03-04T10:21:37)" ], "text/plain": [ "
✔️ 135 ms (2024-02-28T17:04:06/2024-02-28T17:04:06)" - ], - "text/plain": [ - "
\n", - " | OBJECTID_1 | \n", - "OBJECTID | \n", - "Id | \n", - "Digitiser | \n", - "Scale | \n", - "DSASdate | \n", - "Region | \n", - "Site | \n", - "Date | \n", - "Photoscale | \n", - "Source | \n", - "geometry | \n", - "
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", - "1471 | \n", - "1577 | \n", - "0 | \n", - "BJ | \n", - "1000 | \n", - "02/11/1970 | \n", - "Northland | \n", - "MarsdenPoint | \n", - "1970-11-02 | \n", - "24000 | \n", - "RL | \n", - "LINESTRING (1735515.150 6032733.014, 1735510.388 6032766.881, 1735486.840 6032830.381, 1735451.915 6032903.935, 1735421.223 6032955.264, 1735387.885 6032996.275, 1735356.665 6033027.231, 1735337.8... | \n", - "
1 | \n", - "1472 | \n", - "1578 | \n", - "0 | \n", - "BJ | \n", - "1000 | \n", - "02/11/1970 | \n", - "Northland | \n", - "MarsdenPoint | \n", - "1970-11-02 | \n", - "24000 | \n", - "RL | \n", - "LINESTRING (1735323.856 6033046.281, 1735296.075 6033058.452, 1735253.212 6033070.623, 1735218.023 6033077.238, 1735166.958 6033086.233, 1735147.908 6033089.673) | \n", - "
2 | \n", - "1473 | \n", - "1579 | \n", - "0 | \n", - "BJ | \n", - "1000 | \n", - "02/11/1970 | \n", - "Northland | \n", - "MarsdenPoint | \n", - "1970-11-02 | \n", - "24000 | \n", - "RL | \n", - "LINESTRING (1735036.114 6033073.274, 1735079.505 6033080.153, 1735109.668 6033086.768, 1735135.333 6033092.059, 1735144.858 6033092.059, 1735169.199 6033086.768, 1735215.766 6033079.624, 1735257.5... | \n", - "
3 | \n", - "1474 | \n", - "1580 | \n", - "0 | \n", - "BJ | \n", - "1000 | \n", - "02/11/1970 | \n", - "Northland | \n", - "MarsdenPoint | \n", - "1970-11-02 | \n", - "24000 | \n", - "RL | \n", - "LINESTRING (1735338.533 6033040.201, 1735371.341 6033016.388, 1735409.441 6032971.938, 1735439.869 6032926.430, 1735450.187 6032902.088, 1735482.996 6032833.825, 1735502.310 6032792.550, 1735509.9... | \n", - "