{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "b501856a", "metadata": {}, "outputs": [], "source": [ "import os\n", "os.chdir(\"../\")\n", "import pandas as pd\n", "import numpy as np\n", "import dask.dataframe as dd\n", "\n", "import geopandas as gpd\n", "import shapely\n", "from shapely.geometry import Point, LineString\n", "\n", "import folium\n", "from folium import plugins" ] }, { "cell_type": "code", "execution_count": 2, "id": "ae97f634", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | MMSI | \n", "BaseDateTime | \n", "LAT | \n", "LON | \n", "SOG | \n", "COG | \n", "Heading | \n", "VesselName | \n", "IMO | \n", "CallSign | \n", "VesselType | \n", "Status | \n", "Length | \n", "Width | \n", "Draft | \n", "Cargo | \n", "TransceiverClass | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "368084090 | \n", "2022-01-01T00:00:00 | \n", "29.93174 | \n", "-89.99243 | \n", "6.0 | \n", "296.2 | \n", "299.0 | \n", "LARRY B WHIPPLE | \n", "NaN | \n", "WDK7401 | \n", "57.0 | \n", "12.0 | \n", "23.0 | \n", "10.0 | \n", "3.0 | \n", "57.0 | \n", "A | \n", "
1 | \n", "368140160 | \n", "2022-01-01T00:00:00 | \n", "30.33475 | \n", "-87.14429 | \n", "0.0 | \n", "312.0 | \n", "87.0 | \n", "TWISTED ANGEL | \n", "IMO0000000 | \n", "WDL5339 | \n", "36.0 | \n", "NaN | \n", "12.0 | \n", "7.0 | \n", "NaN | \n", "NaN | \n", "B | \n", "
2 | \n", "366941830 | \n", "2022-01-01T00:00:02 | \n", "29.30919 | \n", "-94.79702 | \n", "0.0 | \n", "180.2 | \n", "511.0 | \n", "SAN PATRICIO | \n", "NaN | \n", "WCX6675 | \n", "31.0 | \n", "5.0 | \n", "18.0 | \n", "7.0 | \n", "NaN | \n", "57.0 | \n", "A | \n", "
3 | \n", "316005971 | \n", "2022-01-01T00:00:06 | \n", "46.50268 | \n", "-84.35674 | \n", "2.4 | \n", "258.6 | \n", "257.0 | \n", "BEVERLY M I | \n", "IMO9084047 | \n", "CFP2004 | \n", "31.0 | \n", "0.0 | \n", "34.0 | \n", "10.0 | \n", "5.3 | \n", "99.0 | \n", "A | \n", "
4 | \n", "316004054 | \n", "2022-01-01T00:00:07 | \n", "46.50326 | \n", "-84.37506 | \n", "0.3 | \n", "61.9 | \n", "511.0 | \n", "ADANAC III | \n", "IMO8745333 | \n", "VCLT | \n", "31.0 | \n", "0.0 | \n", "24.0 | \n", "5.0 | \n", "3.0 | \n", "50.0 | \n", "A | \n", "