diff --git a/bucklands_beach.ipynb b/bucklands_beach.ipynb index 5cc6faba..c53eb580 100644 --- a/bucklands_beach.ipynb +++ b/bucklands_beach.ipynb @@ -8,7 +8,7 @@ { "data": { "text/html": [ - "
✔️ 1.9 s (2024-10-18T15:53:19/2024-10-18T15:53:21)" + "
✔️ 2.71 s (2024-10-21T11:00:51/2024-10-21T11:00:53)" ], "text/plain": [ "
✔️ 5.47 s (2024-10-18T15:53:21/2024-10-18T15:53:26)" + "
✔️ 3.62 s (2024-10-21T11:00:53/2024-10-21T11:00:57)" ], "text/plain": [ "
✔️ 17.1 ms (2024-10-18T16:35:41/2024-10-18T16:35:41)" + "
✔️ 15.5 ms (2024-10-21T11:05:05/2024-10-21T11:05:05)" ], "text/plain": [ "
\n", + " | geometry | \n", + "id | \n", + "
---|---|---|
0 | \n", + "POLYGON ((174.90844 -36.8799, 174.90844 -36.86... | \n", + "nzd0562 | \n", + "
✔️ 154 ms (2024-10-21T11:06:42/2024-10-21T11:06:42)" + ], + "text/plain": [ + "
✔️ 14.9 ms (2024-10-18T15:53:27/2024-10-18T15:53:27)" + "
✔️ 835 ms (2024-10-21T11:07:39/2024-10-21T11:07:40)" ], "text/plain": [ "
3146 rows × 15 columns
\n", "" ], "text/plain": [ - " geometry\n", - "0 LINESTRING (174.92149 -36.87885, 174.92069 -36..." + " id area beach_length easting \\\n", + "0 aus0001 14472901.48412414 16824.52342226356 526589.1754011525 \n", + "1 aus0002 53438721.70867591 16794.63203331262 529484.7418874454 \n", + "2 aus0003 945965.0455573548 1373.06418305453 535380.0262458471 \n", + "3 aus0004 376936.0048626679 253.8720097247056 535397.4773649719 \n", + "4 aus0005 1570125.540326883 1830.166677525537 535675.2172291321 \n", + "... ... ... ... ... \n", + "3141 nzd0317 998611.0209522904 1388.636895098391 -4971829.852334809 \n", + "3142 nzd0316 4300057.774234623 4647.035750366853 -4966165.280134064 \n", + "3143 nzd0313 22919741.04033367 17378.17283613481 19237414.32246552 \n", + "3144 nzd0314 31243633.43084495 17377.03046703852 19254344.2757707 \n", + "3145 nzd0561 871003.4889067992 925.5347121883722 -5905869.058151758 \n", + "\n", + " name northing Tide range median_orientation id_sorted \\\n", + "0 noname 7259734.061377056 1.451 92.466545 aus0001 \n", + "1 noname 7243833.021796449 1.073 64.603602 aus0002 \n", + "2 noname 7237842.578773651 1.074 93.116374 aus0003 \n", + "3 noname 7236435.680204276 1.074 79.203813 aus0004 \n", + "4 noname 7235101.123683789 1.074 74.946714 aus0005 \n", + "... ... ... ... ... ... \n", + "3141 noname -4971829.852334809 NaN 309.396745 nzd0556 \n", + "3142 noname -4966165.280134064 NaN 304.531268 nzd0557 \n", + "3143 noname -4939929.050573792 NaN 6.636156 nzd0558 \n", + "3144 noname -4943101.660851713 NaN 15.255119 nzd0559 \n", + "3145 noname -5905869.058151758 NaN 144.851964 nzd0560 \n", + "\n", + " same_beach median_slope ci n_points n_points_nonan \\\n", + "0 None 0.076702 0.0214 654.0 520.0 \n", + "1 1 0.059681 0.0203 579.0 407.0 \n", + "2 None 0.041382 0.0112 335.0 243.0 \n", + "3 None 0.051540 0.0154 319.0 238.0 \n", + "4 None 0.054151 0.0245 307.0 231.5 \n", + "... ... ... ... ... ... \n", + "3141 None 0.051980 0.0053 397.0 301.0 \n", + "3142 None 0.057371 0.0078 363.0 266.0 \n", + "3143 None 0.026684 0.0057 324.0 125.0 \n", + "3144 1 0.023482 0.0029 340.0 128.5 \n", + "3145 None 0.073659 0.0210 411.0 271.0 \n", + "\n", + " geometry \n", + "0 LINESTRING (153.26746 -24.70115, 153.26743 -24... \n", + "1 LINESTRING (153.26189 -24.85277, 153.26191 -24... \n", + "2 LINESTRING (153.35089 -24.96818, 153.35075 -24... \n", + "3 LINESTRING (153.35051 -24.98595, 153.35099 -24... \n", + "4 LINESTRING (153.35161 -24.99115, 153.35228 -24... \n", + "... ... \n", + "3141 LINESTRING (172.31541 -40.72839, 172.31783 -40... \n", + "3142 LINESTRING (172.36751 -40.69864, 172.3702 -40.... \n", + "3143 LINESTRING (172.73493 -40.50746, 172.73502 -40... \n", + "3144 LINESTRING (172.89029 -40.5122, 172.89037 -40.... \n", + "3145 LINESTRING (168.53027 -46.77665, 168.53027 -46... \n", + "\n", + "[3146 rows x 15 columns]" ] }, - "execution_count": 6, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } ], + "source": [ + "shorelines = gpd.read_file(\"shorelines.geojson\")\n", + "shorelines" + ] + }, + { + "cell_type": "code", + "execution_count": 20, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "✔️ 1.2 s (2024-10-21T11:09:48/2024-10-21T11:09:49)" + ], + "text/plain": [ + "
✔️ 1.9 s (2024-10-18T12:19:36/2024-10-18T12:19:38)" + "
✔️ 2.44 s (2024-10-16T10:55:08/2024-10-16T10:55:10)" ], "text/plain": [ "
✔️ 5.53 s (2024-10-18T12:19:38/2024-10-18T12:19:44)" + "
✔️ 7.14 s (2024-10-16T10:55:10/2024-10-16T10:55:18)" ], "text/plain": [ "
✔️ 13.3 ms (2024-10-18T12:21:14/2024-10-18T12:21:14)" + "
✔️ 24 ms (2024-10-16T10:55:18/2024-10-16T10:55:18)" ], "text/plain": [ "
\n", + " | nzd0188-0000 | \n", + "nzd0188-0001 | \n", + "nzd0188-0002 | \n", + "nzd0188-0003 | \n", + "nzd0188-0004 | \n", + "nzd0188-0005 | \n", + "nzd0188-0006 | \n", + "nzd0188-0007 | \n", + "nzd0188-0008 | \n", + "nzd0188-0009 | \n", + "nzd0188-0010 | \n", + "nzd0188-0011 | \n", + "nzd0188-0012 | \n", + "nzd0188-0013 | \n", + "nzd0188-0014 | \n", + "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dates | \n", + "\n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " | \n", + " |
1999-08-12 21:52:44+00:00 | \n", + "196.828629 | \n", + "190.268379 | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "157.275274 | \n", + "160.324198 | \n", + "NaN | \n", + "NaN | \n", + "178.492409 | \n", + "171.223156 | \n", + "
1999-08-19 21:58:52+00:00 | \n", + "207.485765 | \n", + "196.580927 | \n", + "195.307019 | \n", + "185.763909 | \n", + "179.419632 | \n", + "181.116426 | \n", + "177.300310 | \n", + "176.733878 | \n", + "169.656241 | \n", + "172.787792 | \n", + "180.749103 | \n", + "186.358245 | \n", + "183.475767 | \n", + "183.119576 | \n", + "NaN | \n", + "
1999-09-13 21:52:41+00:00 | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "171.448816 | \n", + "NaN | \n", + "NaN | \n", + "185.438392 | \n", + "186.709556 | \n", + "
1999-09-29 21:52:52+00:00 | \n", + "213.975717 | \n", + "203.984667 | \n", + "201.525830 | \n", + "202.736133 | \n", + "194.038465 | \n", + "189.686439 | \n", + "198.867256 | \n", + "193.963189 | \n", + "190.388081 | \n", + "193.107355 | \n", + "198.635200 | \n", + "208.950190 | \n", + "201.377834 | \n", + "199.960787 | \n", + "198.516028 | \n", + "
1999-10-15 21:52:49+00:00 | \n", + "209.211102 | \n", + "199.819992 | \n", + "194.981584 | \n", + "191.413944 | \n", + "184.906999 | \n", + "186.674699 | \n", + "182.363095 | \n", + "180.816647 | \n", + "174.956075 | \n", + "175.884418 | \n", + "190.418498 | \n", + "206.180365 | \n", + "204.797575 | \n", + "196.827495 | \n", + "193.010532 | \n", + "
... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "
2021-09-17 22:00:08+00:00 | \n", + "205.980687 | \n", + "201.920716 | \n", + "201.260355 | \n", + "192.136697 | \n", + "202.977916 | \n", + "187.639290 | \n", + "176.355046 | \n", + "179.283420 | \n", + "180.109304 | \n", + "184.509166 | \n", + "181.356575 | \n", + "183.129234 | \n", + "191.759309 | \n", + "191.176961 | \n", + "172.615341 | \n", + "
2021-09-24 22:06:20+00:00 | \n", + "182.123699 | \n", + "182.349259 | \n", + "182.437096 | \n", + "180.023709 | \n", + "184.755441 | \n", + "164.179313 | \n", + "166.837185 | \n", + "167.775982 | \n", + "161.208635 | \n", + "160.153376 | \n", + "167.816446 | \n", + "170.377521 | \n", + "173.116707 | \n", + "170.685173 | \n", + "160.486284 | \n", + "
2021-11-03 20:59:01+00:00 | \n", + "173.844782 | \n", + "170.171186 | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "177.620110 | \n", + "151.458652 | \n", + "146.452454 | \n", + "157.949073 | \n", + "156.981268 | \n", + "158.699426 | \n", + "NaN | \n", + "NaN | \n", + "175.713936 | \n", + "163.554424 | \n", + "
2021-11-20 22:00:11+00:00 | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "NaN | \n", + "
2021-12-29 22:06:17+00:00 | \n", + "196.973934 | \n", + "188.642701 | \n", + "187.794876 | \n", + "192.371452 | \n", + "190.980733 | \n", + "195.957130 | \n", + "NaN | \n", + "182.388552 | \n", + "176.736671 | \n", + "179.503410 | \n", + "183.476772 | \n", + "182.724645 | \n", + "185.884475 | \n", + "190.220689 | \n", + "186.102431 | \n", + "
538 rows × 15 columns
\n", + "✔️ 17.9 s (2024-10-18T12:47:49/2024-10-18T12:48:07)" + "
✔️ 105 ms (2024-10-16T10:55:18/2024-10-16T10:55:18)" + ], + "text/plain": [ + "
\n", + " | area | \n", + "id_sorted | \n", + "northing | \n", + "geometry | \n", + "
---|---|---|---|---|
id | \n", + "\n", + " | \n", + " | \n", + " | \n", + " |
nzd0001 | \n", + "3.069093e+06 | \n", + "nzd0001 | \n", + "-4.085604e+06 | \n", + "POLYGON ((172.96406 -34.43054, 172.99324 -34.4... | \n", + "
nzd0002 | \n", + "1.507931e+06 | \n", + "nzd0002 | \n", + "-4.086100e+06 | \n", + "POLYGON ((172.93456 -34.42857, 172.95856 -34.4... | \n", + "
nzd0003 | \n", + "2.484730e+06 | \n", + "nzd0003 | \n", + "-4.087232e+06 | \n", + "POLYGON ((173.0098 -34.42055, 173.00088 -34.44... | \n", + "
nzd0006 | \n", + "9.619509e+05 | \n", + "nzd0004 | \n", + "-4.090732e+06 | \n", + "POLYGON ((173.00532 -34.46694, 173.00612 -34.4... | \n", + "
nzd0007 | \n", + "3.109433e+06 | \n", + "nzd0005 | \n", + "-4.095516e+06 | \n", + "POLYGON ((172.99847 -34.48102, 173.00081 -34.5... | \n", + "
... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "
nzd0317 | \n", + "9.986110e+05 | \n", + "nzd0556 | \n", + "-4.971830e+06 | \n", + "POLYGON ((172.32302 -40.7187, 172.3121 -40.728... | \n", + "
nzd0316 | \n", + "4.300058e+06 | \n", + "nzd0557 | \n", + "-4.966165e+06 | \n", + "POLYGON ((172.37076 -40.70229, 172.39571 -40.6... | \n", + "
nzd0313 | \n", + "2.291974e+07 | \n", + "nzd0558 | \n", + "-4.939929e+06 | \n", + "POLYGON ((172.89281 -40.50518, 172.73306 -40.5... | \n", + "
nzd0314 | \n", + "3.124363e+07 | \n", + "nzd0559 | \n", + "-4.943102e+06 | \n", + "POLYGON ((173.04122 -40.54521, 172.89309 -40.5... | \n", + "
nzd0561 | \n", + "8.710035e+05 | \n", + "nzd0560 | \n", + "-5.905869e+06 | \n", + "POLYGON ((168.53017 -46.77383, 168.52 -46.7786... | \n", + "
560 rows × 4 columns
\n", + "✔️ 19.5 s (2024-10-16T10:55:18/2024-10-16T10:55:37)" ], "text/plain": [ "
⌛ 1 h 51 min 40 s (2024-10-18T12:48:12)" + "
⌛ 2 min 40 s (2024-10-16T10:55:38)" ], "text/plain": [ "