diff --git a/notebooks/CMEMS_overview_MOOD_validation.ipynb b/notebooks/CMEMS_overview_MOOD_validation.ipynb
new file mode 100644
index 0000000..5936413
--- /dev/null
+++ b/notebooks/CMEMS_overview_MOOD_validation.ipynb
@@ -0,0 +1,14552 @@
+{
+ "cells": [
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "# MOOD Validation using CMEMS In Situ Thematic Centre\n",
+ "\n",
+ "This notebook aims to explotrethe the [CMEMS In Situ TAC Dashboard](http://www.marineinsitu.eu/dashboard/) with the goal of finding datasets for verification/validation in our hindcast/operational numerical models.\n",
+ "\n",
+ "The code below was inspired by previous examples/trainings hosted at:\n",
+ "- https://github.com/CopernicusMarineInsitu\n",
+ "- https://github.com/DHI/watobs/blob/main/notebooks/CMEMS_in_situ_data.ipynb"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Functions and Packages"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "import warnings\n",
+ "warnings.filterwarnings(\"ignore\")\n",
+ "\n",
+ "import os\n",
+ "from urllib import request\n",
+ "import matplotlib.pyplot as plt\n",
+ "import pandas as pd\n",
+ "import geopandas\n",
+ "import datetime\n",
+ "import xarray as xr\n",
+ "import ftputil\n",
+ "from collections import namedtuple\n",
+ "import numpy as np\n",
+ "from shapely.geometry import box, Point, Polygon\n",
+ "from geopy.distance import distance\n",
+ "import json\n",
+ "from urllib.parse import urlparse\n",
+ "import folium\n",
+ "from folium import plugins\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def timeOverlap(row, targeted_range):\n",
+ " # Checks if a file contains data in the specified time range (targeted_range)\n",
+ " result = False\n",
+ " try:\n",
+ " date_format = \"%Y-%m-%dT%H:%M:%SZ\"\n",
+ " targeted_ini = datetime.datetime.strptime(targeted_range.split('/')[0], date_format)\n",
+ " targeted_end = datetime.datetime.strptime(targeted_range.split('/')[1], date_format)\n",
+ " time_start = datetime.datetime.strptime(row['time_coverage_start'],date_format)\n",
+ " time_end = datetime.datetime.strptime(row['time_coverage_end'],date_format)\n",
+ " Range = namedtuple('Range', ['start', 'end'])\n",
+ " r1 = Range(start=targeted_ini, end=targeted_end)\n",
+ " r2 = Range(start=time_start, end=time_end)\n",
+ " latest_start = max(r1.start, r2.start)\n",
+ " earliest_end = min(r1.end, r2.end)\n",
+ " delta = (earliest_end - latest_start).days + 1\n",
+ " overlap = max(0, delta)\n",
+ " if overlap != 0:\n",
+ " result = True\n",
+ " except Exception as e:\n",
+ " pass\n",
+ " return result"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def spatialOverlap(row, targeted_bbox):\n",
+ " # Checks if a file contains data in the specified area (targeted_bbox)\n",
+ " result = False\n",
+ " try:\n",
+ " geospatial_lat_min = float(row['geospatial_lat_min'])\n",
+ " geospatial_lat_max = float(row['geospatial_lat_max'])\n",
+ " geospatial_lon_min = float(row['geospatial_lon_min'])\n",
+ " geospatial_lon_max = float(row['geospatial_lon_max'])\n",
+ " targeted_bounding_box = box(targeted_bbox[0], targeted_bbox[1],targeted_bbox[2], targeted_bbox[3])\n",
+ " bounding_box = box(geospatial_lon_min, geospatial_lat_min,geospatial_lon_max, geospatial_lat_max)\n",
+ " if targeted_bounding_box.intersects(bounding_box): # check other rules on https://shapely.readthedocs.io/en/stable/manual.html\n",
+ " result = True\n",
+ " except Exception as e:\n",
+ " pass\n",
+ " return result"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def lastLocationInRange(row, targeted_bbox):\n",
+ " # Checks if a file has been produced by a platform whose last position is within the specified area (targeted_bbox)\n",
+ " result = False\n",
+ " try:\n",
+ " geospatial_lat = float(row['last_latitude_observation'])\n",
+ " geospatial_lon = float(row['last_longitude_observation'])\n",
+ " targeted_bounding_box = box(targeted_bbox[0], targeted_bbox[1],targeted_bbox[2], targeted_bbox[3])\n",
+ " location = Point(geospatial_lon, geospatial_lat)\n",
+ " if targeted_bounding_box.contains(location):#check other rules on https://shapely.readthedocs.io/en/stable/manual.html\n",
+ " result = True\n",
+ " except Exception as e:\n",
+ " pass\n",
+ " return result"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def getIndexFiles(usr,pas,dataset):\n",
+ " # Provides the index files available at the ftp server\n",
+ " indexes = dataset['index_files'] + [dataset['index_platform']]\n",
+ " with ftputil.FTPHost(dataset['host'], usr, pas) as ftp_host: # connect to CMEMS FTP\n",
+ " for index in indexes:\n",
+ " remotefile= \"/\".join(['Core',dataset['product'],dataset['name'],index])\n",
+ " print('.....Downloading ' + index)\n",
+ " localfile = os.path.join(os.getcwd(),'data','index_files',index)\n",
+ " ftp_host.download(remotefile,localfile) # remote, local\n",
+ " print('Ready!')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def getIndexFilesInfo(usr, pas, dataset, targeted_bbox):\n",
+ " # Load and merge in a single entity all the information contained on each file descriptor of a given dataset\n",
+ " # 1) Loading the index platform info as dataframe\n",
+ " path2file = os.path.join(os.path.join(os.path.join(os.getcwd(),'data'), 'index_files'), dataset['index_platform'])\n",
+ " indexPlatform = readIndexFileFromCWD(path2file, None)\n",
+ " indexPlatform.rename(columns={indexPlatform.columns[0]: \"platform_code\" }, inplace = True)\n",
+ " indexPlatform = indexPlatform.drop_duplicates(subset='platform_code', keep=\"first\")\n",
+ " # 2) Loading the index files info as dataframes\n",
+ " netcdf_collections = []\n",
+ " for filename in dataset['index_files']:\n",
+ " path2file = os.path.join(os.getcwd(),'data', 'index_files',filename)\n",
+ " indexFile = readIndexFileFromCWD(path2file, targeted_bbox) # replaced from targeted_bbox\n",
+ " netcdf_collections.append(indexFile)\n",
+ " netcdf_collections = pd.concat(netcdf_collections)\n",
+ " # 3) creating new columns: derived info\n",
+ " netcdf_collections['netcdf'] = netcdf_collections['file_name'].str.split('/').str[-1]\n",
+ " netcdf_collections['file_type'] = netcdf_collections['netcdf'].str.split('.').str[0].str.split('_').str[1]\n",
+ " netcdf_collections['data_type'] = netcdf_collections['netcdf'].str.split('.').str[0].str.split('_').str[2]\n",
+ " netcdf_collections['platform_code'] = netcdf_collections['netcdf'].str.split('.').str[0].str.split('_').str[3]\n",
+ " # 4) Merging the information of all files\n",
+ " headers = ['platform_code','wmo_platform_code', 'institution_edmo_code', 'last_latitude_observation', 'last_longitude_observation','last_date_observation']\n",
+ " result = pd.merge(netcdf_collections,indexPlatform[headers],on='platform_code')\n",
+ " print('Ready!')\n",
+ " return result"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def readIndexFileFromCWD(path2file, targeted_bbox):\n",
+ " #Load as pandas dataframe the file in the provided path\n",
+ " filename = os.path.basename(path2file)\n",
+ " print('...Loading info from: '+filename)\n",
+ " if targeted_bbox != None:\n",
+ " raw_index_info =[]\n",
+ " chunks = pd.read_csv(path2file, skiprows=5,chunksize=1000)\n",
+ " for chunk in chunks:\n",
+ " chunk['spatialOverlap'] = chunk.apply(spatialOverlap,targeted_bbox=targeted_bbox,axis=1)\n",
+ " raw_index_info.append(chunk[chunk['spatialOverlap'] == True])\n",
+ " return pd.concat(raw_index_info)\n",
+ " else:\n",
+ " result = pd.read_csv(path2file, skiprows=5)\n",
+ " try:\n",
+ " result = result.rename(columns={\"provider_edmo_code\": \"institution_edmo_code\"})\n",
+ " except Exception as e:\n",
+ " pass\n",
+ " return result"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "def closest_distances(ref_points, geojson_file):\n",
+ " # Load the geojson file containing all coastlines and islands\n",
+ " with open(geojson_file) as f:\n",
+ " data = json.load(f)\n",
+ "\n",
+ " # Initialize list of closest distances\n",
+ " closest_dists = []\n",
+ "\n",
+ " # Loop over all reference points\n",
+ " for i, ref_point in enumerate(ref_points):\n",
+ " # Initialize minimum distance to a large value\n",
+ " min_dist = float('inf')\n",
+ "\n",
+ " # Loop over all polygons in the geojson file to calculate the nearest point of each polygon to the reference point\n",
+ " for feature in data['features']:\n",
+ " coords = feature['geometry']['coordinates']\n",
+ " if feature['geometry']['type'] == 'Polygon':\n",
+ " poly = Polygon(coords[0])\n",
+ " elif feature['geometry']['type'] == 'MultiPolygon':\n",
+ " poly = Polygon(coords[0][0])\n",
+ " for p in coords[0][1:]:\n",
+ " poly = poly.union(Polygon(p))\n",
+ " else:\n",
+ " raise ValueError('Unknown geometry type: {}'.format(feature['geometry']['type']))\n",
+ "\n",
+ " nearest_point = poly.exterior.interpolate(poly.exterior.project(Point(ref_point[1], ref_point[0])))\n",
+ "\n",
+ " # Compute the distance between the reference point and the nearest point of the polygon using the haversine formula\n",
+ " dist = distance((ref_point[0], ref_point[1]), (nearest_point.y, nearest_point.x)).km\n",
+ "\n",
+ " # Update the minimum distance\n",
+ " if dist < min_dist:\n",
+ " min_dist = dist\n",
+ "\n",
+ " # Add the closest distance to the list\n",
+ " closest_dists.append(min_dist)\n",
+ "\n",
+ " # Return the list of closest distances\n",
+ " return closest_dists"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Data access"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 11,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Insert here your user and password\n",
+ "with open('c:\\\\Users\\\\psan\\\\OneDrive - DHI\\\\Documents\\\\1.Projects\\\\GASP\\\\Wave data task\\\\CMEMS_credentials.txt','r') as f:\n",
+ " lines=f.readlines()\n",
+ " user = lines[1].strip() #type CMEMS user name\n",
+ " password = lines[2].strip() #type CMEMS password"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 12,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# product_name = 'INSITU_MED_NRT_OBSERVATIONS_013_035' #type aimed In Situ product \n",
+ "product_name = '/INSITU_GLO_PHYBGCWAV_DISCRETE_MYNRT_013_030/cmems_obs-ins_glo_phybgcwav_mynrt_na_irr' #type aimed In Situ product \n",
+ "host = 'nrt.cmems-du.eu' #type aimed host (nrt.cmems-du.eu or my.cmems-du)\n",
+ "index_file = 'index_latest.txt' #type aimed index file "
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 13,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "dataset = {\n",
+ " 'host': 'nrt.cmems-du.eu',#ftp host => nrt.cmems-du.eu for Near Real Time products\n",
+ " 'product': 'INSITU_GLO_PHYBGCWAV_DISCRETE_MYNRT_013_030',#name of the In Situ Near Real Time product in the GLO area\n",
+ " 'name': 'cmems_obs-ins_glo_phybgcwav_mynrt_na_irr',#name of the dataset available in the above In Situ Near Real Time product\n",
+ " #'index_files': ['index_latest.txt', 'index_monthly.txt', 'index_history.txt'],#files describing the content of the lastest, monthly and history netCDF file collections available withint he above dataset\n",
+ " 'index_files': ['index_latest.txt', 'index_history.txt'],#files describing the content of the lastest, monthly and history netCDF file collections available withint he above dataset\n",
+ " 'index_platform': 'index_platform.txt',#files describing the netwotk of platforms contributting with files in the abve collections\n",
+ "}"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Specify a region (bounding box) [Optional]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 33,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ " #selection criteria: spatial coverage >> \n",
+ "targeted_geospatial_lat_min = 32 # enter min latitude of your bounding box\n",
+ "targeted_geospatial_lat_max = 52 # enter max latitude of your bounding box\n",
+ "targeted_geospatial_lon_min = -131 # enter min longitude of your bounding box\n",
+ "targeted_geospatial_lon_max = -115 # enter max longitude of your bounding box \n",
+ "\n",
+ "targeted_bounding_box2 = box(targeted_geospatial_lon_min, targeted_geospatial_lat_min, targeted_geospatial_lon_max, targeted_geospatial_lat_max)\n",
+ "targeted_bounding_box = [targeted_geospatial_lon_min, targeted_geospatial_lat_min, targeted_geospatial_lon_max, targeted_geospatial_lat_max] # (minx, miny, maxx, maxy)\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 34,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "
Make this Notebook Trusted to load map: File -> Trust Notebook
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "execution_count": 34,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "m = folium.Map(location=[53.0, 0], zoom_start=4)\n",
+ "upper_left = [targeted_geospatial_lat_max, targeted_geospatial_lon_min]\n",
+ "upper_right = [targeted_geospatial_lat_max, targeted_geospatial_lon_max]\n",
+ "lower_right = [targeted_geospatial_lat_min, targeted_geospatial_lon_max]\n",
+ "lower_left = [targeted_geospatial_lat_min, targeted_geospatial_lon_min]\n",
+ "edges = [upper_left, upper_right, lower_right, lower_left]\n",
+ "polygon = folium.vector_layers.Polygon(locations=edges)\n",
+ "m.add_child(polygon)\n",
+ "m.fit_bounds(polygon.get_bounds())\n",
+ "m"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### 1.2. Download database indexes"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 35,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ ".....Downloading index_latest.txt\n",
+ ".....Downloading index_history.txt\n",
+ ".....Downloading index_platform.txt\n",
+ "Ready!\n"
+ ]
+ }
+ ],
+ "source": [
+ "getIndexFiles(user,password,dataset) # skip if already downloaded, ~50s"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 36,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "...Loading info from: index_platform.txt\n",
+ "...Loading info from: index_latest.txt\n",
+ "...Loading info from: index_history.txt\n",
+ "Ready!\n"
+ ]
+ },
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 2 | \n",
+ " 3 | \n",
+ " 4 | \n",
+ " 5 | \n",
+ " 6 | \n",
+ " 7 | \n",
+ " 8 | \n",
+ " 9 | \n",
+ " ... | \n",
+ " 9671 | \n",
+ " 9672 | \n",
+ " 9673 | \n",
+ " 9674 | \n",
+ " 9675 | \n",
+ " 9676 | \n",
+ " 9677 | \n",
+ " 9678 | \n",
+ " 9679 | \n",
+ " 9680 | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " # product_id | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " ... | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ "
\n",
+ " \n",
+ " file_name | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_min | \n",
+ " 32.65247 | \n",
+ " 32.57725 | \n",
+ " 32.49455 | \n",
+ " 32.4029 | \n",
+ " 32.26543 | \n",
+ " 32.08133 | \n",
+ " 31.93445 | \n",
+ " 31.93105 | \n",
+ " 32.0276 | \n",
+ " 32.11235 | \n",
+ " ... | \n",
+ " -16.93333 | \n",
+ " -65.2167 | \n",
+ " 44.03333 | \n",
+ " 43.71667 | \n",
+ " -39.28333 | \n",
+ " 32.59665 | \n",
+ " 11.08056 | \n",
+ " 44.59383 | \n",
+ " 19.0595 | \n",
+ " 46.141 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_max | \n",
+ " 32.7339 | \n",
+ " 32.64695 | \n",
+ " 32.56485 | \n",
+ " 32.48353 | \n",
+ " 32.38853 | \n",
+ " 32.24473 | \n",
+ " 32.0621 | \n",
+ " 32.01503 | \n",
+ " 32.1014 | \n",
+ " 32.1483 | \n",
+ " ... | \n",
+ " 43.7 | \n",
+ " 60.45 | \n",
+ " 45.16667 | \n",
+ " 44.61667 | \n",
+ " 45.0 | \n",
+ " 69.03702 | \n",
+ " 46.07487 | \n",
+ " 64.00617 | \n",
+ " 53.99867 | \n",
+ " 46.141 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_min | \n",
+ " -119.59353 | \n",
+ " -119.77603 | \n",
+ " -119.95038 | \n",
+ " -120.13867 | \n",
+ " -120.39708 | \n",
+ " -120.75878 | \n",
+ " -121.07158 | \n",
+ " -121.0506 | \n",
+ " -120.8491 | \n",
+ " -120.68658 | \n",
+ " ... | \n",
+ " -91.98333 | \n",
+ " -81.5667 | \n",
+ " -124.68333 | \n",
+ " -124.6 | \n",
+ " 144.55 | \n",
+ " -169.24037 | \n",
+ " 141.32722 | \n",
+ " 177.82899 | \n",
+ " -123.2 | \n",
+ " -124.574 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_max | \n",
+ " -119.42292 | \n",
+ " -119.62008 | \n",
+ " -119.7963 | \n",
+ " -119.97068 | \n",
+ " -120.16483 | \n",
+ " -120.4381 | \n",
+ " -120.79755 | \n",
+ " -120.87118 | \n",
+ " -120.70358 | \n",
+ " -120.60648 | \n",
+ " ... | \n",
+ " -151.35001 | \n",
+ " -151.75 | \n",
+ " -124.01667 | \n",
+ " -124.03333 | \n",
+ " -117.71667 | \n",
+ " -117.22478 | \n",
+ " -124.34647 | \n",
+ " -122.23798 | \n",
+ " 14.7295 | \n",
+ " -124.574 | \n",
+ "
\n",
+ " \n",
+ " time_coverage_start | \n",
+ " 2023-05-22T02:03:15Z | \n",
+ " 2023-05-23T02:34:15Z | \n",
+ " 2023-05-24T02:12:45Z | \n",
+ " 2023-05-25T01:42:45Z | \n",
+ " 2023-05-26T01:15:00Z | \n",
+ " 2023-05-27T00:43:45Z | \n",
+ " 2023-05-28T02:49:45Z | \n",
+ " 2023-06-15T00:27:45Z | \n",
+ " 2023-06-16T00:06:15Z | \n",
+ " 2023-06-17T00:08:00Z | \n",
+ " ... | \n",
+ " 2009-03-27T18:00:00Z | \n",
+ " 2010-11-01T18:00:00Z | \n",
+ " 2012-01-06T22:00:00Z | \n",
+ " 2011-12-07T08:00:00Z | \n",
+ " 2011-11-14T22:56:00Z | \n",
+ " 2017-09-25T18:48:42Z | \n",
+ " 2008-10-28T02:01:42Z | \n",
+ " 2008-02-07T15:59:43Z | \n",
+ " 2002-05-21T03:16:12Z | \n",
+ " 2017-05-05T13:00:00Z | \n",
+ "
\n",
+ " \n",
+ " time_coverage_end | \n",
+ " 2023-05-22T23:58:45Z | \n",
+ " 2023-05-23T23:18:30Z | \n",
+ " 2023-05-24T22:45:00Z | \n",
+ " 2023-05-25T22:17:30Z | \n",
+ " 2023-05-26T21:46:15Z | \n",
+ " 2023-05-27T23:57:00Z | \n",
+ " 2023-05-28T23:22:15Z | \n",
+ " 2023-06-15T21:09:00Z | \n",
+ " 2023-06-16T21:09:30Z | \n",
+ " 2023-06-17T21:04:30Z | \n",
+ " ... | \n",
+ " 2012-10-09T18:00:00Z | \n",
+ " 2012-03-21T02:00:00Z | \n",
+ " 2012-02-03T08:00:00Z | \n",
+ " 2012-01-06T17:00:00Z | \n",
+ " 2012-03-24T08:27:00Z | \n",
+ " 2021-11-17T23:56:24Z | \n",
+ " 2021-07-27T04:07:57Z | \n",
+ " 2023-05-22T18:52:46Z | \n",
+ " 2013-10-07T15:29:43Z | \n",
+ " 2021-12-01T21:40:00Z | \n",
+ "
\n",
+ " \n",
+ " institution | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " ... | \n",
+ " Unknown institution | \n",
+ " Unknown institution | \n",
+ " Unknown institution | \n",
+ " Unknown institution | \n",
+ " China (Unknown) | \n",
+ " United states (Unknown) | \n",
+ " US DOC NOAA NMFS HONOLULU | \n",
+ " United states (Unknown) | \n",
+ " United Kingdom (Unknown) | \n",
+ " National Data Buoy Center (NDBC) National Ocea... | \n",
+ "
\n",
+ " \n",
+ " date_update | \n",
+ " 2023-05-23T09:01:06Z | \n",
+ " 2023-05-24T05:01:06Z | \n",
+ " 2023-05-25T05:01:07Z | \n",
+ " 2023-05-26T05:01:06Z | \n",
+ " 2023-05-27T05:01:06Z | \n",
+ " 2023-05-28T09:01:07Z | \n",
+ " 2023-05-29T09:01:06Z | \n",
+ " 2023-06-16T05:01:07Z | \n",
+ " 2023-06-17T05:01:08Z | \n",
+ " 2023-06-18T05:01:07Z | \n",
+ " ... | \n",
+ " 2022-10-22T20:29:02Z | \n",
+ " 2022-10-27T11:09:56Z | \n",
+ " 2021-11-28T20:04:21Z | \n",
+ " 2021-11-28T20:06:00Z | \n",
+ " 2022-09-07T07:59:53Z | \n",
+ " 2023-03-06T13:44:33Z | \n",
+ " 2023-03-06T06:37:37Z | \n",
+ " 2023-06-03T13:09:55Z | \n",
+ " 2023-03-06T13:41:48Z | \n",
+ " 2022-01-11T14:41:28Z | \n",
+ "
\n",
+ " \n",
+ " data_mode | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " ... | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ "
\n",
+ " \n",
+ " parameters | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT | \n",
+ " ... | \n",
+ " DEPH TEMP PSAL | \n",
+ " DEPH TEMP PSAL | \n",
+ " DEPH TEMP PSAL | \n",
+ " DEPH TEMP PSAL | \n",
+ " DEPH TEMP PSAL | \n",
+ " DEPH TEMP PSAL CNDC SSJT | \n",
+ " DEPH TEMP PSAL CNDC SSJT | \n",
+ " DEPH TEMP PSAL CNDC SSJT | \n",
+ " DEPH PSAL CNDC SSJT | \n",
+ " FREQ FREQ_BOUNDS STHETA2 VSPEC1D STHETA1 THETA... | \n",
+ "
\n",
+ " \n",
+ " spatialOverlap | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " ... | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ "
\n",
+ " \n",
+ " netcdf | \n",
+ " GL_PR_GL_3801503_20230522.nc | \n",
+ " GL_PR_GL_3801503_20230523.nc | \n",
+ " GL_PR_GL_3801503_20230524.nc | \n",
+ " GL_PR_GL_3801503_20230525.nc | \n",
+ " GL_PR_GL_3801503_20230526.nc | \n",
+ " GL_PR_GL_3801503_20230527.nc | \n",
+ " GL_PR_GL_3801503_20230528.nc | \n",
+ " GL_PR_GL_3801503_20230615.nc | \n",
+ " GL_PR_GL_3801503_20230616.nc | \n",
+ " GL_PR_GL_3801503_20230617.nc | \n",
+ " ... | \n",
+ " GL_TS_TS_KS088.nc | \n",
+ " GL_TS_TS_KS094.nc | \n",
+ " GL_TS_TS_KS096.nc | \n",
+ " GL_TS_TS_KS098.nc | \n",
+ " GL_TS_TS_VRZN9.nc | \n",
+ " GL_TS_TS_WTEB.nc | \n",
+ " GL_TS_TS_WTEE.nc | \n",
+ " GL_TS_TS_WTEP.nc | \n",
+ " GL_TS_TS_ZCDJ6.nc | \n",
+ " GL_WS_MO_46t29.nc | \n",
+ "
\n",
+ " \n",
+ " file_type | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " PR | \n",
+ " ... | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " WS | \n",
+ "
\n",
+ " \n",
+ " data_type | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " GL | \n",
+ " ... | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " MO | \n",
+ "
\n",
+ " \n",
+ " platform_code | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " ... | \n",
+ " KS088 | \n",
+ " KS094 | \n",
+ " KS096 | \n",
+ " KS098 | \n",
+ " VRZN9 | \n",
+ " WTEB | \n",
+ " WTEE | \n",
+ " WTEP | \n",
+ " ZCDJ6 | \n",
+ " 46t29 | \n",
+ "
\n",
+ " \n",
+ " wmo_platform_code | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " 3801503 | \n",
+ " ... | \n",
+ " KS088 | \n",
+ " KS094 | \n",
+ " KS096 | \n",
+ " KS098 | \n",
+ " VRZN9 | \n",
+ " WTEB | \n",
+ " WTEE | \n",
+ " WTEP | \n",
+ " ZCDJ6 | \n",
+ " 46t29 | \n",
+ "
\n",
+ " \n",
+ " institution_edmo_code | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " ... | \n",
+ " 1051 | \n",
+ " 1051 | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " 1051 | \n",
+ " NaN | \n",
+ " NaN | \n",
+ " 1051 | \n",
+ " 1051 | \n",
+ " 1463 | \n",
+ "
\n",
+ " \n",
+ " last_latitude_observation | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " 32.24745 | \n",
+ " ... | \n",
+ " -16.8 | \n",
+ " -16.5 | \n",
+ " 44.61667 | \n",
+ " 44.61667 | \n",
+ " -37.85 | \n",
+ " 37.84312 | \n",
+ " 21.37055 | \n",
+ " 54.928 | \n",
+ " 25.9177 | \n",
+ " 46.141 | \n",
+ "
\n",
+ " \n",
+ " last_longitude_observation | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " -120.5069 | \n",
+ " ... | \n",
+ " -151.38333 | \n",
+ " -151.75 | \n",
+ " -124.05 | \n",
+ " -124.03333 | \n",
+ " 144.89999 | \n",
+ " -122.45814 | \n",
+ " -163.91832 | \n",
+ " -161.15326 | \n",
+ " -76.523 | \n",
+ " -124.574 | \n",
+ "
\n",
+ " \n",
+ " last_date_observation | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " 2023-06-20T14:41:00Z | \n",
+ " ... | \n",
+ " 2012-10-09T18:00:00Z | \n",
+ " 2012-03-21T02:00:00Z | \n",
+ " 2012-02-03T08:00:00Z | \n",
+ " 2012-01-06T17:00:00Z | \n",
+ " 2012-03-24T08:27:00Z | \n",
+ " 2021-11-17T17:41:18Z | \n",
+ " 2021-07-27T04:07:57Z | \n",
+ " 2023-06-17T23:56:03Z | \n",
+ " 2013-10-07T15:29:43Z | \n",
+ " 2021-12-01T21:40:00Z | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
22 rows × 9681 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " 0 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.65247 \n",
+ "geospatial_lat_max 32.7339 \n",
+ "geospatial_lon_min -119.59353 \n",
+ "geospatial_lon_max -119.42292 \n",
+ "time_coverage_start 2023-05-22T02:03:15Z \n",
+ "time_coverage_end 2023-05-22T23:58:45Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-23T09:01:06Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230522.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 1 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.57725 \n",
+ "geospatial_lat_max 32.64695 \n",
+ "geospatial_lon_min -119.77603 \n",
+ "geospatial_lon_max -119.62008 \n",
+ "time_coverage_start 2023-05-23T02:34:15Z \n",
+ "time_coverage_end 2023-05-23T23:18:30Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-24T05:01:06Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230523.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 2 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.49455 \n",
+ "geospatial_lat_max 32.56485 \n",
+ "geospatial_lon_min -119.95038 \n",
+ "geospatial_lon_max -119.7963 \n",
+ "time_coverage_start 2023-05-24T02:12:45Z \n",
+ "time_coverage_end 2023-05-24T22:45:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-25T05:01:07Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230524.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 3 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.4029 \n",
+ "geospatial_lat_max 32.48353 \n",
+ "geospatial_lon_min -120.13867 \n",
+ "geospatial_lon_max -119.97068 \n",
+ "time_coverage_start 2023-05-25T01:42:45Z \n",
+ "time_coverage_end 2023-05-25T22:17:30Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-26T05:01:06Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230525.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 4 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.26543 \n",
+ "geospatial_lat_max 32.38853 \n",
+ "geospatial_lon_min -120.39708 \n",
+ "geospatial_lon_max -120.16483 \n",
+ "time_coverage_start 2023-05-26T01:15:00Z \n",
+ "time_coverage_end 2023-05-26T21:46:15Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-27T05:01:06Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230526.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 5 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.08133 \n",
+ "geospatial_lat_max 32.24473 \n",
+ "geospatial_lon_min -120.75878 \n",
+ "geospatial_lon_max -120.4381 \n",
+ "time_coverage_start 2023-05-27T00:43:45Z \n",
+ "time_coverage_end 2023-05-27T23:57:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-28T09:01:07Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230527.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 6 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 31.93445 \n",
+ "geospatial_lat_max 32.0621 \n",
+ "geospatial_lon_min -121.07158 \n",
+ "geospatial_lon_max -120.79755 \n",
+ "time_coverage_start 2023-05-28T02:49:45Z \n",
+ "time_coverage_end 2023-05-28T23:22:15Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-05-29T09:01:06Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230528.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 7 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 31.93105 \n",
+ "geospatial_lat_max 32.01503 \n",
+ "geospatial_lon_min -121.0506 \n",
+ "geospatial_lon_max -120.87118 \n",
+ "time_coverage_start 2023-06-15T00:27:45Z \n",
+ "time_coverage_end 2023-06-15T21:09:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-16T05:01:07Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230615.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 8 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.0276 \n",
+ "geospatial_lat_max 32.1014 \n",
+ "geospatial_lon_min -120.8491 \n",
+ "geospatial_lon_max -120.70358 \n",
+ "time_coverage_start 2023-06-16T00:06:15Z \n",
+ "time_coverage_end 2023-06-16T21:09:30Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-17T05:01:08Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230616.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " 9 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.11235 \n",
+ "geospatial_lat_max 32.1483 \n",
+ "geospatial_lon_min -120.68658 \n",
+ "geospatial_lon_max -120.60648 \n",
+ "time_coverage_start 2023-06-17T00:08:00Z \n",
+ "time_coverage_end 2023-06-17T21:04:30Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-18T05:01:07Z \n",
+ "data_mode R \n",
+ "parameters PRES TEMP PSAL CNDC DOX2 CPHL EWCT NSCT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_PR_GL_3801503_20230617.nc \n",
+ "file_type PR \n",
+ "data_type GL \n",
+ "platform_code 3801503 \n",
+ "wmo_platform_code 3801503 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.24745 \n",
+ "last_longitude_observation -120.5069 \n",
+ "last_date_observation 2023-06-20T14:41:00Z \n",
+ "\n",
+ " ... \\\n",
+ "# product_id ... \n",
+ "file_name ... \n",
+ "geospatial_lat_min ... \n",
+ "geospatial_lat_max ... \n",
+ "geospatial_lon_min ... \n",
+ "geospatial_lon_max ... \n",
+ "time_coverage_start ... \n",
+ "time_coverage_end ... \n",
+ "institution ... \n",
+ "date_update ... \n",
+ "data_mode ... \n",
+ "parameters ... \n",
+ "spatialOverlap ... \n",
+ "netcdf ... \n",
+ "file_type ... \n",
+ "data_type ... \n",
+ "platform_code ... \n",
+ "wmo_platform_code ... \n",
+ "institution_edmo_code ... \n",
+ "last_latitude_observation ... \n",
+ "last_longitude_observation ... \n",
+ "last_date_observation ... \n",
+ "\n",
+ " 9671 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min -16.93333 \n",
+ "geospatial_lat_max 43.7 \n",
+ "geospatial_lon_min -91.98333 \n",
+ "geospatial_lon_max -151.35001 \n",
+ "time_coverage_start 2009-03-27T18:00:00Z \n",
+ "time_coverage_end 2012-10-09T18:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2022-10-22T20:29:02Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_KS088.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code KS088 \n",
+ "wmo_platform_code KS088 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation -16.8 \n",
+ "last_longitude_observation -151.38333 \n",
+ "last_date_observation 2012-10-09T18:00:00Z \n",
+ "\n",
+ " 9672 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min -65.2167 \n",
+ "geospatial_lat_max 60.45 \n",
+ "geospatial_lon_min -81.5667 \n",
+ "geospatial_lon_max -151.75 \n",
+ "time_coverage_start 2010-11-01T18:00:00Z \n",
+ "time_coverage_end 2012-03-21T02:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2022-10-27T11:09:56Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_KS094.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code KS094 \n",
+ "wmo_platform_code KS094 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation -16.5 \n",
+ "last_longitude_observation -151.75 \n",
+ "last_date_observation 2012-03-21T02:00:00Z \n",
+ "\n",
+ " 9673 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 44.03333 \n",
+ "geospatial_lat_max 45.16667 \n",
+ "geospatial_lon_min -124.68333 \n",
+ "geospatial_lon_max -124.01667 \n",
+ "time_coverage_start 2012-01-06T22:00:00Z \n",
+ "time_coverage_end 2012-02-03T08:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2021-11-28T20:04:21Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_KS096.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code KS096 \n",
+ "wmo_platform_code KS096 \n",
+ "institution_edmo_code NaN \n",
+ "last_latitude_observation 44.61667 \n",
+ "last_longitude_observation -124.05 \n",
+ "last_date_observation 2012-02-03T08:00:00Z \n",
+ "\n",
+ " 9674 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 43.71667 \n",
+ "geospatial_lat_max 44.61667 \n",
+ "geospatial_lon_min -124.6 \n",
+ "geospatial_lon_max -124.03333 \n",
+ "time_coverage_start 2011-12-07T08:00:00Z \n",
+ "time_coverage_end 2012-01-06T17:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2021-11-28T20:06:00Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_KS098.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code KS098 \n",
+ "wmo_platform_code KS098 \n",
+ "institution_edmo_code NaN \n",
+ "last_latitude_observation 44.61667 \n",
+ "last_longitude_observation -124.03333 \n",
+ "last_date_observation 2012-01-06T17:00:00Z \n",
+ "\n",
+ " 9675 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min -39.28333 \n",
+ "geospatial_lat_max 45.0 \n",
+ "geospatial_lon_min 144.55 \n",
+ "geospatial_lon_max -117.71667 \n",
+ "time_coverage_start 2011-11-14T22:56:00Z \n",
+ "time_coverage_end 2012-03-24T08:27:00Z \n",
+ "institution China (Unknown) \n",
+ "date_update 2022-09-07T07:59:53Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_VRZN9.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code VRZN9 \n",
+ "wmo_platform_code VRZN9 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation -37.85 \n",
+ "last_longitude_observation 144.89999 \n",
+ "last_date_observation 2012-03-24T08:27:00Z \n",
+ "\n",
+ " 9676 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.59665 \n",
+ "geospatial_lat_max 69.03702 \n",
+ "geospatial_lon_min -169.24037 \n",
+ "geospatial_lon_max -117.22478 \n",
+ "time_coverage_start 2017-09-25T18:48:42Z \n",
+ "time_coverage_end 2021-11-17T23:56:24Z \n",
+ "institution United states (Unknown) \n",
+ "date_update 2023-03-06T13:44:33Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL CNDC SSJT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_WTEB.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code WTEB \n",
+ "wmo_platform_code WTEB \n",
+ "institution_edmo_code NaN \n",
+ "last_latitude_observation 37.84312 \n",
+ "last_longitude_observation -122.45814 \n",
+ "last_date_observation 2021-11-17T17:41:18Z \n",
+ "\n",
+ " 9677 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 11.08056 \n",
+ "geospatial_lat_max 46.07487 \n",
+ "geospatial_lon_min 141.32722 \n",
+ "geospatial_lon_max -124.34647 \n",
+ "time_coverage_start 2008-10-28T02:01:42Z \n",
+ "time_coverage_end 2021-07-27T04:07:57Z \n",
+ "institution US DOC NOAA NMFS HONOLULU \n",
+ "date_update 2023-03-06T06:37:37Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL CNDC SSJT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_WTEE.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code WTEE \n",
+ "wmo_platform_code WTEE \n",
+ "institution_edmo_code NaN \n",
+ "last_latitude_observation 21.37055 \n",
+ "last_longitude_observation -163.91832 \n",
+ "last_date_observation 2021-07-27T04:07:57Z \n",
+ "\n",
+ " 9678 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 44.59383 \n",
+ "geospatial_lat_max 64.00617 \n",
+ "geospatial_lon_min 177.82899 \n",
+ "geospatial_lon_max -122.23798 \n",
+ "time_coverage_start 2008-02-07T15:59:43Z \n",
+ "time_coverage_end 2023-05-22T18:52:46Z \n",
+ "institution United states (Unknown) \n",
+ "date_update 2023-06-03T13:09:55Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP PSAL CNDC SSJT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_WTEP.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code WTEP \n",
+ "wmo_platform_code WTEP \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation 54.928 \n",
+ "last_longitude_observation -161.15326 \n",
+ "last_date_observation 2023-06-17T23:56:03Z \n",
+ "\n",
+ " 9679 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 19.0595 \n",
+ "geospatial_lat_max 53.99867 \n",
+ "geospatial_lon_min -123.2 \n",
+ "geospatial_lon_max 14.7295 \n",
+ "time_coverage_start 2002-05-21T03:16:12Z \n",
+ "time_coverage_end 2013-10-07T15:29:43Z \n",
+ "institution United Kingdom (Unknown) \n",
+ "date_update 2023-03-06T13:41:48Z \n",
+ "data_mode R \n",
+ "parameters DEPH PSAL CNDC SSJT \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_TS_ZCDJ6.nc \n",
+ "file_type TS \n",
+ "data_type TS \n",
+ "platform_code ZCDJ6 \n",
+ "wmo_platform_code ZCDJ6 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation 25.9177 \n",
+ "last_longitude_observation -76.523 \n",
+ "last_date_observation 2013-10-07T15:29:43Z \n",
+ "\n",
+ " 9680 \n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 46.141 \n",
+ "geospatial_lat_max 46.141 \n",
+ "geospatial_lon_min -124.574 \n",
+ "geospatial_lon_max -124.574 \n",
+ "time_coverage_start 2017-05-05T13:00:00Z \n",
+ "time_coverage_end 2021-12-01T21:40:00Z \n",
+ "institution National Data Buoy Center (NDBC) National Ocea... \n",
+ "date_update 2022-01-11T14:41:28Z \n",
+ "data_mode R \n",
+ "parameters FREQ FREQ_BOUNDS STHETA2 VSPEC1D STHETA1 THETA... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_WS_MO_46t29.nc \n",
+ "file_type WS \n",
+ "data_type MO \n",
+ "platform_code 46t29 \n",
+ "wmo_platform_code 46t29 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 46.141 \n",
+ "last_longitude_observation -124.574 \n",
+ "last_date_observation 2021-12-01T21:40:00Z \n",
+ "\n",
+ "[22 rows x 9681 columns]"
+ ]
+ },
+ "execution_count": 36,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "info = getIndexFilesInfo(user, password, dataset, targeted_bounding_box) # Add None to the last function entry if you want to search the entire world.\n",
+ "#info = getIndexFilesInfo(user, password, dataset, None) # Add None to the last function entry if you want to search the entire world.\n",
+ "info.transpose()"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Data Selection"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Create a subset based on selected criteria"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 37,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Choose a colection\n",
+ "targeted_collection = 'history' #try 'latest', 'monthly' or 'history'\n",
+ "# Choose a data type (MO=fixed buoys, mooring time series, fixed observations)\n",
+ "targeted_data_type1 = 'MO' # try others: TG for Tide Gauges, PF for profilers etc =>Product User Manual: https://archimer.ifremer.fr/doc/00324/43494/\n",
+ "targeted_data_type2 = 'TX' # try others: TG for Tide Gauges, PF for profilers etc =>Product User Manual: https://archimer.ifremer.fr/doc/00324/43494/\n",
+ "# Choose a file type\n",
+ "targeted_file_type = 'PR' # try others: PR for profiles, TS for time series etc =>Product User Manual: https://archimer.ifremer.fr/doc/00324/43494/\n",
+ "# Choose parameters of choice\n",
+ "# SLEV=Water surface height above a specific datum\n",
+ "# HCSP=Horizontal current speed, HCDT=Current to direction relative true north\n",
+ "# VHM0=Spectral significant wave height (Hm0), VTPK=Wave period at spectral peak / peak period (Tp)\n",
+ "# VGHS=Generic significant wave height (Hs)\n",
+ "# VTM02=Spectral moments (0,2) wave period (Tm02)\n",
+ "#WSPD =\tHorizontal wind speed, WDIR = Wind from direction relative true north\n",
+ "targeted_parameter1= 'HCSP'\n",
+ "targeted_parameter2= 'HCDT'\n",
+ "targeted_parameter3= 'VTM02'\n",
+ "\n",
+ "# Check if the station is live (criteria is last_date_observation at least 3 days ago)\n",
+ "# The history collection can have more stations than the latest, using this criteria\n",
+ "\n",
+ "# Declare all the necessary conditions\n",
+ "#condition0 = info['file_name'].str.contains(targeted_collection)\n",
+ "#condition01 = info['data_type'].str.contains(targeted_data_type1)\n",
+ "#condition011 = info['data_type'].str.contains(targeted_data_type2)\n",
+ "#condition02 = info['file_type'].str.contains(targeted_file_type)\n",
+ "#condition1 = info['parameters'].str.contains(targeted_parameter1)\n",
+ "#condition2 = info['parameters'].str.contains(targeted_parameter2)\n",
+ "#condition3 = info['parameters'].str.contains(targeted_parameter3)\n",
+ "# Apply conditions\n",
+ "#subset=info[condition0 & (condition01 | condition011) & condition02 & condition1 & condition2]\n",
+ "#subset=info[condition0 & condition01 &condition1 & condition2 & condition3]\n",
+ "#subset=info[condition0 & condition01 &condition1 & condition2]\n",
+ "#subset=info[condition0 & condition1 & condition2]\n",
+ "\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 38,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Criteria for water level data\n",
+ "subset_water_level=info[info['file_name'].str.contains('history') & # select history index files, which also contains latest\n",
+ " info['data_type'].str.contains('TG') & # Select only tidal gauges\n",
+ " info['parameters'].str.contains('SLEV') # Select SLEV=Water surface height above a specific datum\n",
+ " ]\n",
+ "# Criteria for current profiles\n",
+ "subset_current_profiles=info[info['file_name'].str.contains('history') & # select history index files, which also contains latest\n",
+ " (info['data_type'].str.contains('MO') | info['data_type'].str.contains('TX')) & # Select mooring bouys and thermistor chains\n",
+ " info['file_type'].str.contains('PR') & # Select only profiles\n",
+ " info['parameters'].str.contains('HCSP') & info['parameters'].str.contains('HCDT') # Select current speed and direction\n",
+ " ] \n",
+ "# Criteria for current depth-averaged\n",
+ "subset_current_depth_averaged=info[info['file_name'].str.contains('history') & # select history index files, which also contains latest\n",
+ " info['data_type'].str.contains('MO') & # Select mooring bouys\n",
+ " info['file_type'].str.contains('TS') & # Select only time series\n",
+ " info['parameters'].str.contains('HCSP') & info['parameters'].str.contains('HCDT') # Select current speed and direction\n",
+ " ]\n",
+ "# Criteria for waves Hm0 and Tp\n",
+ "subset_waves_Hm0_Tp=info[info['file_name'].str.contains('history') & # select history index files, which also contains latest\n",
+ " info['data_type'].str.contains('MO') & # Select mooring bouys \n",
+ " info['file_type'].str.contains('TS') & # Select only time series\n",
+ " info['parameters'].str.contains('VHM0') & info['parameters'].str.contains('VTPK') # Select Hm0 and Tp\n",
+ " ]\n",
+ "# Criteria for waves Hm0 and Tm02\n",
+ "subset_waves_Hm0_Tm02=info[info['file_name'].str.contains('history') & # select history index files, which also contains latest\n",
+ " info['data_type'].str.contains('MO') & # Select mooring bouys \n",
+ " info['file_type'].str.contains('TS') & # Select only time series\n",
+ " info['parameters'].str.contains('VHM0') & info['parameters'].str.contains('VTM02') # Select Hm0 and Tm02\n",
+ " ]\n",
+ "# Criteria for wind speed and direction\n",
+ "subset_winds=info[info['file_name'].str.contains('history') & # select history index files, which also contains latest\n",
+ " info['data_type'].str.contains('MO') & # Select mooring bouys and thermistor chains\n",
+ " info['file_type'].str.contains('TS') & # Select only time series\n",
+ " info['parameters'].str.contains('WSPD') & info['parameters'].str.contains('WDIR') # Select current speed and direction\n",
+ " ]\n"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Select and plot a subset"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 39,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " 1361 | \n",
+ " 1467 | \n",
+ " 1529 | \n",
+ " 1590 | \n",
+ " 1652 | \n",
+ " 1713 | \n",
+ " 1774 | \n",
+ " 1835 | \n",
+ " 1897 | \n",
+ " 1958 | \n",
+ " ... | \n",
+ " 9596 | \n",
+ " 9597 | \n",
+ " 9598 | \n",
+ " 9599 | \n",
+ " 9600 | \n",
+ " 9601 | \n",
+ " 9611 | \n",
+ " 9627 | \n",
+ " 9628 | \n",
+ " 9629 | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " # product_id | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " ... | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ "
\n",
+ " \n",
+ " file_name | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_min | \n",
+ " 42.57 | \n",
+ " 34.868 | \n",
+ " 38.228 | \n",
+ " 39.196 | \n",
+ " 33.739 | \n",
+ " 37.75 | \n",
+ " 41.84 | \n",
+ " 35.703 | \n",
+ " 46.12 | \n",
+ " 47.336 | \n",
+ " ... | \n",
+ " 34.439 | \n",
+ " 43.585 | \n",
+ " 43.726 | \n",
+ " 33.704 | \n",
+ " 39.368 | \n",
+ " 32.926 | \n",
+ " 48.9908 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.836 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_max | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.763 | \n",
+ " 37.759 | \n",
+ " 41.852 | \n",
+ " 35.774 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " ... | \n",
+ " 34.439 | \n",
+ " 43.586 | \n",
+ " 43.76 | \n",
+ " 33.704 | \n",
+ " 39.368 | \n",
+ " 32.926 | \n",
+ " 49.037 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.898 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_min | \n",
+ " -130.537 | \n",
+ " -121.019 | \n",
+ " -123.325 | \n",
+ " -123.974 | \n",
+ " -119.08 | \n",
+ " -122.839 | \n",
+ " -124.386 | \n",
+ " -121.905 | \n",
+ " -124.514 | \n",
+ " -124.75 | \n",
+ " ... | \n",
+ " -120.766 | \n",
+ " -124.29 | \n",
+ " -124.225 | \n",
+ " -119.004 | \n",
+ " -123.91 | \n",
+ " -117.277 | \n",
+ " -125.8 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.069 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_max | \n",
+ " -130.36 | \n",
+ " -120.857 | \n",
+ " -123.301 | \n",
+ " -123.969 | \n",
+ " -119.044 | \n",
+ " -122.82 | \n",
+ " -124.38 | \n",
+ " -121.857 | \n",
+ " -124.485 | \n",
+ " -124.704 | \n",
+ " ... | \n",
+ " -120.766 | \n",
+ " -124.29 | \n",
+ " -124.225 | \n",
+ " -119.004 | \n",
+ " -123.91 | \n",
+ " -117.277 | \n",
+ " -125.744 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.013 | \n",
+ "
\n",
+ " \n",
+ " time_coverage_start | \n",
+ " 1975-07-17T02:00:00Z | \n",
+ " 1980-10-07T18:00:00Z | \n",
+ " 1981-04-01T00:00:00Z | \n",
+ " 1981-04-01T19:00:00Z | \n",
+ " 1982-04-20T20:00:00Z | \n",
+ " 1982-07-23T16:00:00Z | \n",
+ " 1983-09-01T00:00:00Z | \n",
+ " 1983-12-01T22:00:00Z | \n",
+ " 1984-03-27T23:00:00Z | \n",
+ " 1987-06-09T17:00:00Z | \n",
+ " ... | \n",
+ " 2015-07-10T14:00:00Z | \n",
+ " 2017-04-05T16:30:00Z | \n",
+ " 2017-04-05T16:30:00Z | \n",
+ " 2017-09-24T16:00:00Z | \n",
+ " 2017-09-28T20:00:00Z | \n",
+ " 2021-11-12T17:26:00Z | \n",
+ " 1970-06-26T23:00:00Z | \n",
+ " 1990-11-27T20:50:00Z | \n",
+ " 1992-10-29T17:50:00Z | \n",
+ " 2012-10-31T00:19:00Z | \n",
+ "
\n",
+ " \n",
+ " time_coverage_end | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " ... | \n",
+ " 2017-07-24T18:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-11-20T17:30:00Z | \n",
+ " 2018-09-26T10:30:00Z | \n",
+ " 2022-03-09T19:26:00Z | \n",
+ " 1998-06-17T08:50:00Z | \n",
+ " 1991-04-30T08:50:00Z | \n",
+ " 1994-01-05T16:20:00Z | \n",
+ " 2013-04-28T21:45:00Z | \n",
+ "
\n",
+ " \n",
+ " institution | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " ... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " National Renewable Energy Laboratory | \n",
+ " National Renewable Energy Laboratory | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Fisheries and Oceans Canada Marine Environment... | \n",
+ " Environment and Climate Change Canada | \n",
+ " Environment and Climate Change Canada | \n",
+ " Fisheries and Oceans Canada | \n",
+ "
\n",
+ " \n",
+ " date_update | \n",
+ " 2023-06-03T17:45:21Z | \n",
+ " 2023-06-03T16:46:04Z | \n",
+ " 2023-06-03T17:13:57Z | \n",
+ " 2023-06-03T17:50:04Z | \n",
+ " 2023-06-03T18:17:19Z | \n",
+ " 2023-06-03T16:07:07Z | \n",
+ " 2023-06-03T16:03:07Z | \n",
+ " 2023-06-03T16:36:52Z | \n",
+ " 2023-06-03T16:37:53Z | \n",
+ " 2023-06-03T18:15:05Z | \n",
+ " ... | \n",
+ " 2022-09-03T22:31:46Z | \n",
+ " 2022-09-03T23:12:49Z | \n",
+ " 2022-09-03T20:40:06Z | \n",
+ " 2022-09-03T20:10:57Z | \n",
+ " 2022-09-03T20:10:38Z | \n",
+ " 2022-05-07T20:12:57Z | \n",
+ " 2023-03-18T15:38:00Z | \n",
+ " 2022-09-03T21:03:34Z | \n",
+ " 2023-03-18T15:37:47Z | \n",
+ " 2022-09-03T20:13:34Z | \n",
+ "
\n",
+ " \n",
+ " data_mode | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " ... | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ "
\n",
+ " \n",
+ " parameters | \n",
+ " DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " ... | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VHM0 VTPK | \n",
+ "
\n",
+ " \n",
+ " spatialOverlap | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " ... | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ "
\n",
+ " \n",
+ " netcdf | \n",
+ " GL_TS_MO_46002.nc | \n",
+ " GL_TS_MO_46011.nc | \n",
+ " GL_TS_MO_46013.nc | \n",
+ " GL_TS_MO_46014.nc | \n",
+ " GL_TS_MO_46025.nc | \n",
+ " GL_TS_MO_46026.nc | \n",
+ " GL_TS_MO_46027.nc | \n",
+ " GL_TS_MO_46028.nc | \n",
+ " GL_TS_MO_46029.nc | \n",
+ " GL_TS_MO_46041.nc | \n",
+ " ... | \n",
+ " GL_TS_MO_46257.nc | \n",
+ " GL_TS_MO_46260.nc | \n",
+ " GL_TS_MO_46261.nc | \n",
+ " GL_TS_MO_46262.nc | \n",
+ " GL_TS_MO_46263.nc | \n",
+ " GL_TS_MO_46273.nc | \n",
+ " GL_TS_MO_MEDS103.nc | \n",
+ " GL_TS_MO_MEDS285.nc | \n",
+ " GL_TS_MO_MEDS317.nc | \n",
+ " GL_TS_MO_MEDS350.nc | \n",
+ "
\n",
+ " \n",
+ " file_type | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " ... | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ "
\n",
+ " \n",
+ " data_type | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " ... | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ "
\n",
+ " \n",
+ " platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46027 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " ... | \n",
+ " 46257 | \n",
+ " 46260 | \n",
+ " 46261 | \n",
+ " 46262 | \n",
+ " 46263 | \n",
+ " 46273 | \n",
+ " MEDS103 | \n",
+ " MEDS285 | \n",
+ " MEDS317 | \n",
+ " MEDS350 | \n",
+ "
\n",
+ " \n",
+ " wmo_platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46027 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " ... | \n",
+ " 46257 | \n",
+ " 46260 | \n",
+ " 46261 | \n",
+ " 46262 | \n",
+ " 46263 | \n",
+ " 46273 | \n",
+ " MEDS103 | \n",
+ " MEDS285 | \n",
+ " MEDS317 | \n",
+ " MEDS350 | \n",
+ "
\n",
+ " \n",
+ " institution_edmo_code | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " ... | \n",
+ " 1390 | \n",
+ " 3177 | \n",
+ " 3177 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1979 | \n",
+ " 5164 | \n",
+ " 5164 | \n",
+ " 1979 | \n",
+ "
\n",
+ " \n",
+ " last_latitude_observation | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.749 | \n",
+ " 37.759 | \n",
+ " 41.85 | \n",
+ " 35.703 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " ... | \n",
+ " 34.439 | \n",
+ " 43.586 | \n",
+ " 43.76 | \n",
+ " 33.704 | \n",
+ " 39.368 | \n",
+ " 32.926 | \n",
+ " 49.033 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.842 | \n",
+ "
\n",
+ " \n",
+ " last_longitude_observation | \n",
+ " -130.536 | \n",
+ " -120.992 | \n",
+ " -123.303 | \n",
+ " -123.974 | \n",
+ " -119.053 | \n",
+ " -122.833 | \n",
+ " -124.386 | \n",
+ " -121.857 | \n",
+ " -124.487 | \n",
+ " -124.742 | \n",
+ " ... | \n",
+ " -120.766 | \n",
+ " -124.29 | \n",
+ " -124.225 | \n",
+ " -119.004 | \n",
+ " -123.91 | \n",
+ " -117.277 | \n",
+ " -125.8 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.015 | \n",
+ "
\n",
+ " \n",
+ " last_date_observation | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " ... | \n",
+ " 2017-07-24T18:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-11-20T17:30:00Z | \n",
+ " 2018-09-26T10:30:00Z | \n",
+ " 2022-03-09T19:26:00Z | \n",
+ " 1998-06-17T08:50:00Z | \n",
+ " 1991-04-30T08:50:00Z | \n",
+ " 1994-01-05T16:20:00Z | \n",
+ " 2013-04-28T21:45:00Z | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
22 rows × 118 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " 1361 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 42.57 \n",
+ "geospatial_lat_max 42.664 \n",
+ "geospatial_lon_min -130.537 \n",
+ "geospatial_lon_max -130.36 \n",
+ "time_coverage_start 1975-07-17T02:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:45:21Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46002.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46002 \n",
+ "wmo_platform_code 46002 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 42.664 \n",
+ "last_longitude_observation -130.536 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1467 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.868 \n",
+ "geospatial_lat_max 35.0 \n",
+ "geospatial_lon_min -121.019 \n",
+ "geospatial_lon_max -120.857 \n",
+ "time_coverage_start 1980-10-07T18:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:46:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46011.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46011 \n",
+ "wmo_platform_code 46011 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.0 \n",
+ "last_longitude_observation -120.992 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1529 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 38.228 \n",
+ "geospatial_lat_max 38.253 \n",
+ "geospatial_lon_min -123.325 \n",
+ "geospatial_lon_max -123.301 \n",
+ "time_coverage_start 1981-04-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:13:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46013.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46013 \n",
+ "wmo_platform_code 46013 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 38.253 \n",
+ "last_longitude_observation -123.303 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1590 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 39.196 \n",
+ "geospatial_lat_max 39.235 \n",
+ "geospatial_lon_min -123.974 \n",
+ "geospatial_lon_max -123.969 \n",
+ "time_coverage_start 1981-04-01T19:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:50:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46014.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46014 \n",
+ "wmo_platform_code 46014 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 39.235 \n",
+ "last_longitude_observation -123.974 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1652 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.739 \n",
+ "geospatial_lat_max 33.763 \n",
+ "geospatial_lon_min -119.08 \n",
+ "geospatial_lon_max -119.044 \n",
+ "time_coverage_start 1982-04-20T20:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:17:19Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46025.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46025 \n",
+ "wmo_platform_code 46025 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 33.749 \n",
+ "last_longitude_observation -119.053 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1713 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 37.75 \n",
+ "geospatial_lat_max 37.759 \n",
+ "geospatial_lon_min -122.839 \n",
+ "geospatial_lon_max -122.82 \n",
+ "time_coverage_start 1982-07-23T16:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:07:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46026.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46026 \n",
+ "wmo_platform_code 46026 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 37.759 \n",
+ "last_longitude_observation -122.833 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1774 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 41.84 \n",
+ "geospatial_lat_max 41.852 \n",
+ "geospatial_lon_min -124.386 \n",
+ "geospatial_lon_max -124.38 \n",
+ "time_coverage_start 1983-09-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:03:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46027.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46027 \n",
+ "wmo_platform_code 46027 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 41.85 \n",
+ "last_longitude_observation -124.386 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "\n",
+ " 1835 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 35.703 \n",
+ "geospatial_lat_max 35.774 \n",
+ "geospatial_lon_min -121.905 \n",
+ "geospatial_lon_max -121.857 \n",
+ "time_coverage_start 1983-12-01T22:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:36:52Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46028.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46028 \n",
+ "wmo_platform_code 46028 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.703 \n",
+ "last_longitude_observation -121.857 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "\n",
+ " 1897 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 46.12 \n",
+ "geospatial_lat_max 46.163 \n",
+ "geospatial_lon_min -124.514 \n",
+ "geospatial_lon_max -124.485 \n",
+ "time_coverage_start 1984-03-27T23:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:37:53Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46029.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46029 \n",
+ "wmo_platform_code 46029 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 46.163 \n",
+ "last_longitude_observation -124.487 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "\n",
+ " 1958 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 47.336 \n",
+ "geospatial_lat_max 47.353 \n",
+ "geospatial_lon_min -124.75 \n",
+ "geospatial_lon_max -124.704 \n",
+ "time_coverage_start 1987-06-09T17:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:15:05Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46041.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46041 \n",
+ "wmo_platform_code 46041 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 47.353 \n",
+ "last_longitude_observation -124.742 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "\n",
+ " ... \\\n",
+ "# product_id ... \n",
+ "file_name ... \n",
+ "geospatial_lat_min ... \n",
+ "geospatial_lat_max ... \n",
+ "geospatial_lon_min ... \n",
+ "geospatial_lon_max ... \n",
+ "time_coverage_start ... \n",
+ "time_coverage_end ... \n",
+ "institution ... \n",
+ "date_update ... \n",
+ "data_mode ... \n",
+ "parameters ... \n",
+ "spatialOverlap ... \n",
+ "netcdf ... \n",
+ "file_type ... \n",
+ "data_type ... \n",
+ "platform_code ... \n",
+ "wmo_platform_code ... \n",
+ "institution_edmo_code ... \n",
+ "last_latitude_observation ... \n",
+ "last_longitude_observation ... \n",
+ "last_date_observation ... \n",
+ "\n",
+ " 9596 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.439 \n",
+ "geospatial_lat_max 34.439 \n",
+ "geospatial_lon_min -120.766 \n",
+ "geospatial_lon_max -120.766 \n",
+ "time_coverage_start 2015-07-10T14:00:00Z \n",
+ "time_coverage_end 2017-07-24T18:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T22:31:46Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46257.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46257 \n",
+ "wmo_platform_code 46257 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 34.439 \n",
+ "last_longitude_observation -120.766 \n",
+ "last_date_observation 2017-07-24T18:30:00Z \n",
+ "\n",
+ " 9597 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 43.585 \n",
+ "geospatial_lat_max 43.586 \n",
+ "geospatial_lon_min -124.29 \n",
+ "geospatial_lon_max -124.29 \n",
+ "time_coverage_start 2017-04-05T16:30:00Z \n",
+ "time_coverage_end 2018-04-20T21:30:00Z \n",
+ "institution National Renewable Energy Laboratory \n",
+ "date_update 2022-09-03T23:12:49Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46260.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46260 \n",
+ "wmo_platform_code 46260 \n",
+ "institution_edmo_code 3177 \n",
+ "last_latitude_observation 43.586 \n",
+ "last_longitude_observation -124.29 \n",
+ "last_date_observation 2018-04-20T21:30:00Z \n",
+ "\n",
+ " 9598 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 43.726 \n",
+ "geospatial_lat_max 43.76 \n",
+ "geospatial_lon_min -124.225 \n",
+ "geospatial_lon_max -124.225 \n",
+ "time_coverage_start 2017-04-05T16:30:00Z \n",
+ "time_coverage_end 2018-04-20T21:30:00Z \n",
+ "institution National Renewable Energy Laboratory \n",
+ "date_update 2022-09-03T20:40:06Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46261.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46261 \n",
+ "wmo_platform_code 46261 \n",
+ "institution_edmo_code 3177 \n",
+ "last_latitude_observation 43.76 \n",
+ "last_longitude_observation -124.225 \n",
+ "last_date_observation 2018-04-20T21:30:00Z \n",
+ "\n",
+ " 9599 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.704 \n",
+ "geospatial_lat_max 33.704 \n",
+ "geospatial_lon_min -119.004 \n",
+ "geospatial_lon_max -119.004 \n",
+ "time_coverage_start 2017-09-24T16:00:00Z \n",
+ "time_coverage_end 2018-11-20T17:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T20:10:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46262.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46262 \n",
+ "wmo_platform_code 46262 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 33.704 \n",
+ "last_longitude_observation -119.004 \n",
+ "last_date_observation 2018-11-20T17:30:00Z \n",
+ "\n",
+ " 9600 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 39.368 \n",
+ "geospatial_lat_max 39.368 \n",
+ "geospatial_lon_min -123.91 \n",
+ "geospatial_lon_max -123.91 \n",
+ "time_coverage_start 2017-09-28T20:00:00Z \n",
+ "time_coverage_end 2018-09-26T10:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T20:10:38Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46263.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46263 \n",
+ "wmo_platform_code 46263 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 39.368 \n",
+ "last_longitude_observation -123.91 \n",
+ "last_date_observation 2018-09-26T10:30:00Z \n",
+ "\n",
+ " 9601 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.926 \n",
+ "geospatial_lat_max 32.926 \n",
+ "geospatial_lon_min -117.277 \n",
+ "geospatial_lon_max -117.277 \n",
+ "time_coverage_start 2021-11-12T17:26:00Z \n",
+ "time_coverage_end 2022-03-09T19:26:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-05-07T20:12:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46273.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46273 \n",
+ "wmo_platform_code 46273 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.926 \n",
+ "last_longitude_observation -117.277 \n",
+ "last_date_observation 2022-03-09T19:26:00Z \n",
+ "\n",
+ " 9611 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.9908 \n",
+ "geospatial_lat_max 49.037 \n",
+ "geospatial_lon_min -125.8 \n",
+ "geospatial_lon_max -125.744 \n",
+ "time_coverage_start 1970-06-26T23:00:00Z \n",
+ "time_coverage_end 1998-06-17T08:50:00Z \n",
+ "institution Fisheries and Oceans Canada Marine Environment... \n",
+ "date_update 2023-03-18T15:38:00Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS103.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS103 \n",
+ "wmo_platform_code MEDS103 \n",
+ "institution_edmo_code 1979 \n",
+ "last_latitude_observation 49.033 \n",
+ "last_longitude_observation -125.8 \n",
+ "last_date_observation 1998-06-17T08:50:00Z \n",
+ "\n",
+ " 9627 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.333 \n",
+ "geospatial_lat_max 48.333 \n",
+ "geospatial_lon_min -123.55 \n",
+ "geospatial_lon_max -123.55 \n",
+ "time_coverage_start 1990-11-27T20:50:00Z \n",
+ "time_coverage_end 1991-04-30T08:50:00Z \n",
+ "institution Environment and Climate Change Canada \n",
+ "date_update 2022-09-03T21:03:34Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS285.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS285 \n",
+ "wmo_platform_code MEDS285 \n",
+ "institution_edmo_code 5164 \n",
+ "last_latitude_observation 48.333 \n",
+ "last_longitude_observation -123.55 \n",
+ "last_date_observation 1991-04-30T08:50:00Z \n",
+ "\n",
+ " 9628 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.433 \n",
+ "geospatial_lat_max 48.433 \n",
+ "geospatial_lon_min -123.45 \n",
+ "geospatial_lon_max -123.45 \n",
+ "time_coverage_start 1992-10-29T17:50:00Z \n",
+ "time_coverage_end 1994-01-05T16:20:00Z \n",
+ "institution Environment and Climate Change Canada \n",
+ "date_update 2023-03-18T15:37:47Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS317.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS317 \n",
+ "wmo_platform_code MEDS317 \n",
+ "institution_edmo_code 5164 \n",
+ "last_latitude_observation 48.433 \n",
+ "last_longitude_observation -123.45 \n",
+ "last_date_observation 1994-01-05T16:20:00Z \n",
+ "\n",
+ " 9629 \n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.836 \n",
+ "geospatial_lat_max 48.898 \n",
+ "geospatial_lon_min -126.069 \n",
+ "geospatial_lon_max -126.013 \n",
+ "time_coverage_start 2012-10-31T00:19:00Z \n",
+ "time_coverage_end 2013-04-28T21:45:00Z \n",
+ "institution Fisheries and Oceans Canada \n",
+ "date_update 2022-09-03T20:13:34Z \n",
+ "data_mode R \n",
+ "parameters DEPH VHM0 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS350.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS350 \n",
+ "wmo_platform_code MEDS350 \n",
+ "institution_edmo_code 1979 \n",
+ "last_latitude_observation 48.842 \n",
+ "last_longitude_observation -126.015 \n",
+ "last_date_observation 2013-04-28T21:45:00Z \n",
+ "\n",
+ "[22 rows x 118 columns]"
+ ]
+ },
+ "execution_count": 39,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "subset1=subset_waves_Hm0_Tp\n",
+ "subset1.transpose()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 40,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Make this Notebook Trusted to load map: File -> Trust Notebook
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "execution_count": 40,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "# Clear the map and draw the search area defined above\n",
+ "m = folium.Map(location=[53.0, 0], zoom_start=4)\n",
+ "upper_left = [targeted_geospatial_lat_max, targeted_geospatial_lon_min]\n",
+ "upper_right = [targeted_geospatial_lat_max, targeted_geospatial_lon_max]\n",
+ "lower_right = [targeted_geospatial_lat_min, targeted_geospatial_lon_max]\n",
+ "lower_left = [targeted_geospatial_lat_min, targeted_geospatial_lon_min]\n",
+ "edges = [upper_left, upper_right, lower_right, lower_left]\n",
+ "polygon = folium.vector_layers.Polygon(locations=edges)\n",
+ "m.add_child(polygon)\n",
+ "m.fit_bounds(polygon.get_bounds())\n",
+ "# Plot the selected stations based on the subset selected above\n",
+ "for ind in subset1.index:\n",
+ " legend='First measurement: '+subset1['time_coverage_start'][ind]+' Last measurement: '+subset1['last_date_observation'][ind]+' Platform code:'+subset1['platform_code'][ind]+' Parameters:'+subset1['parameters'][ind]\n",
+ " folium.Marker(location=[subset1['last_latitude_observation'][ind],subset1['last_longitude_observation'][ind]],\n",
+ " popup=legend,\n",
+ " icon=folium.Icon(color='blue')).add_to(m)\n",
+ "# Show map\n",
+ "m\n"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Filter the subset by distance to the coastline [Optional]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 41,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Query a list with tuples of (latitude,longitute) for all stations in the above subset\n",
+ "sublat=subset1['last_latitude_observation']\n",
+ "sublon=subset1['last_longitude_observation']\n",
+ "ref_points=list(zip(sublat,sublon))\n"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 42,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Load a GEOJSON file with the world's coastlines. Downloaded from https://geojson-maps.ash.ms/\n",
+ "geojson_file=\"c:\\\\Users\\\\psan\\\\OneDrive - DHI\\Documents\\\\1.Projects\\\\GASP\\Wave data task\\\\custom.geojson\""
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 43,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " 1361 | \n",
+ " 1467 | \n",
+ " 1529 | \n",
+ " 1590 | \n",
+ " 1652 | \n",
+ " 1713 | \n",
+ " 1774 | \n",
+ " 1835 | \n",
+ " 1897 | \n",
+ " 1958 | \n",
+ " ... | \n",
+ " 9596 | \n",
+ " 9597 | \n",
+ " 9598 | \n",
+ " 9599 | \n",
+ " 9600 | \n",
+ " 9601 | \n",
+ " 9611 | \n",
+ " 9627 | \n",
+ " 9628 | \n",
+ " 9629 | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " # product_id | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " ... | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ "
\n",
+ " \n",
+ " file_name | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_min | \n",
+ " 42.57 | \n",
+ " 34.868 | \n",
+ " 38.228 | \n",
+ " 39.196 | \n",
+ " 33.739 | \n",
+ " 37.75 | \n",
+ " 41.84 | \n",
+ " 35.703 | \n",
+ " 46.12 | \n",
+ " 47.336 | \n",
+ " ... | \n",
+ " 34.439 | \n",
+ " 43.585 | \n",
+ " 43.726 | \n",
+ " 33.704 | \n",
+ " 39.368 | \n",
+ " 32.926 | \n",
+ " 48.9908 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.836 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_max | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.763 | \n",
+ " 37.759 | \n",
+ " 41.852 | \n",
+ " 35.774 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " ... | \n",
+ " 34.439 | \n",
+ " 43.586 | \n",
+ " 43.76 | \n",
+ " 33.704 | \n",
+ " 39.368 | \n",
+ " 32.926 | \n",
+ " 49.037 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.898 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_min | \n",
+ " -130.537 | \n",
+ " -121.019 | \n",
+ " -123.325 | \n",
+ " -123.974 | \n",
+ " -119.08 | \n",
+ " -122.839 | \n",
+ " -124.386 | \n",
+ " -121.905 | \n",
+ " -124.514 | \n",
+ " -124.75 | \n",
+ " ... | \n",
+ " -120.766 | \n",
+ " -124.29 | \n",
+ " -124.225 | \n",
+ " -119.004 | \n",
+ " -123.91 | \n",
+ " -117.277 | \n",
+ " -125.8 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.069 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_max | \n",
+ " -130.36 | \n",
+ " -120.857 | \n",
+ " -123.301 | \n",
+ " -123.969 | \n",
+ " -119.044 | \n",
+ " -122.82 | \n",
+ " -124.38 | \n",
+ " -121.857 | \n",
+ " -124.485 | \n",
+ " -124.704 | \n",
+ " ... | \n",
+ " -120.766 | \n",
+ " -124.29 | \n",
+ " -124.225 | \n",
+ " -119.004 | \n",
+ " -123.91 | \n",
+ " -117.277 | \n",
+ " -125.744 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.013 | \n",
+ "
\n",
+ " \n",
+ " time_coverage_start | \n",
+ " 1975-07-17T02:00:00Z | \n",
+ " 1980-10-07T18:00:00Z | \n",
+ " 1981-04-01T00:00:00Z | \n",
+ " 1981-04-01T19:00:00Z | \n",
+ " 1982-04-20T20:00:00Z | \n",
+ " 1982-07-23T16:00:00Z | \n",
+ " 1983-09-01T00:00:00Z | \n",
+ " 1983-12-01T22:00:00Z | \n",
+ " 1984-03-27T23:00:00Z | \n",
+ " 1987-06-09T17:00:00Z | \n",
+ " ... | \n",
+ " 2015-07-10T14:00:00Z | \n",
+ " 2017-04-05T16:30:00Z | \n",
+ " 2017-04-05T16:30:00Z | \n",
+ " 2017-09-24T16:00:00Z | \n",
+ " 2017-09-28T20:00:00Z | \n",
+ " 2021-11-12T17:26:00Z | \n",
+ " 1970-06-26T23:00:00Z | \n",
+ " 1990-11-27T20:50:00Z | \n",
+ " 1992-10-29T17:50:00Z | \n",
+ " 2012-10-31T00:19:00Z | \n",
+ "
\n",
+ " \n",
+ " time_coverage_end | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " ... | \n",
+ " 2017-07-24T18:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-11-20T17:30:00Z | \n",
+ " 2018-09-26T10:30:00Z | \n",
+ " 2022-03-09T19:26:00Z | \n",
+ " 1998-06-17T08:50:00Z | \n",
+ " 1991-04-30T08:50:00Z | \n",
+ " 1994-01-05T16:20:00Z | \n",
+ " 2013-04-28T21:45:00Z | \n",
+ "
\n",
+ " \n",
+ " institution | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " ... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " National Renewable Energy Laboratory | \n",
+ " National Renewable Energy Laboratory | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Fisheries and Oceans Canada Marine Environment... | \n",
+ " Environment and Climate Change Canada | \n",
+ " Environment and Climate Change Canada | \n",
+ " Fisheries and Oceans Canada | \n",
+ "
\n",
+ " \n",
+ " date_update | \n",
+ " 2023-06-03T17:45:21Z | \n",
+ " 2023-06-03T16:46:04Z | \n",
+ " 2023-06-03T17:13:57Z | \n",
+ " 2023-06-03T17:50:04Z | \n",
+ " 2023-06-03T18:17:19Z | \n",
+ " 2023-06-03T16:07:07Z | \n",
+ " 2023-06-03T16:03:07Z | \n",
+ " 2023-06-03T16:36:52Z | \n",
+ " 2023-06-03T16:37:53Z | \n",
+ " 2023-06-03T18:15:05Z | \n",
+ " ... | \n",
+ " 2022-09-03T22:31:46Z | \n",
+ " 2022-09-03T23:12:49Z | \n",
+ " 2022-09-03T20:40:06Z | \n",
+ " 2022-09-03T20:10:57Z | \n",
+ " 2022-09-03T20:10:38Z | \n",
+ " 2022-05-07T20:12:57Z | \n",
+ " 2023-03-18T15:38:00Z | \n",
+ " 2022-09-03T21:03:34Z | \n",
+ " 2023-03-18T15:37:47Z | \n",
+ " 2022-09-03T20:13:34Z | \n",
+ "
\n",
+ " \n",
+ " data_mode | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " ... | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ "
\n",
+ " \n",
+ " parameters | \n",
+ " DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " ... | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VHM0 VTPK | \n",
+ "
\n",
+ " \n",
+ " spatialOverlap | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " ... | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ "
\n",
+ " \n",
+ " netcdf | \n",
+ " GL_TS_MO_46002.nc | \n",
+ " GL_TS_MO_46011.nc | \n",
+ " GL_TS_MO_46013.nc | \n",
+ " GL_TS_MO_46014.nc | \n",
+ " GL_TS_MO_46025.nc | \n",
+ " GL_TS_MO_46026.nc | \n",
+ " GL_TS_MO_46027.nc | \n",
+ " GL_TS_MO_46028.nc | \n",
+ " GL_TS_MO_46029.nc | \n",
+ " GL_TS_MO_46041.nc | \n",
+ " ... | \n",
+ " GL_TS_MO_46257.nc | \n",
+ " GL_TS_MO_46260.nc | \n",
+ " GL_TS_MO_46261.nc | \n",
+ " GL_TS_MO_46262.nc | \n",
+ " GL_TS_MO_46263.nc | \n",
+ " GL_TS_MO_46273.nc | \n",
+ " GL_TS_MO_MEDS103.nc | \n",
+ " GL_TS_MO_MEDS285.nc | \n",
+ " GL_TS_MO_MEDS317.nc | \n",
+ " GL_TS_MO_MEDS350.nc | \n",
+ "
\n",
+ " \n",
+ " file_type | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " ... | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ "
\n",
+ " \n",
+ " data_type | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " ... | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ "
\n",
+ " \n",
+ " platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46027 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " ... | \n",
+ " 46257 | \n",
+ " 46260 | \n",
+ " 46261 | \n",
+ " 46262 | \n",
+ " 46263 | \n",
+ " 46273 | \n",
+ " MEDS103 | \n",
+ " MEDS285 | \n",
+ " MEDS317 | \n",
+ " MEDS350 | \n",
+ "
\n",
+ " \n",
+ " wmo_platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46027 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " ... | \n",
+ " 46257 | \n",
+ " 46260 | \n",
+ " 46261 | \n",
+ " 46262 | \n",
+ " 46263 | \n",
+ " 46273 | \n",
+ " MEDS103 | \n",
+ " MEDS285 | \n",
+ " MEDS317 | \n",
+ " MEDS350 | \n",
+ "
\n",
+ " \n",
+ " institution_edmo_code | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " ... | \n",
+ " 1390 | \n",
+ " 3177 | \n",
+ " 3177 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1979 | \n",
+ " 5164 | \n",
+ " 5164 | \n",
+ " 1979 | \n",
+ "
\n",
+ " \n",
+ " last_latitude_observation | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.749 | \n",
+ " 37.759 | \n",
+ " 41.85 | \n",
+ " 35.703 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " ... | \n",
+ " 34.439 | \n",
+ " 43.586 | \n",
+ " 43.76 | \n",
+ " 33.704 | \n",
+ " 39.368 | \n",
+ " 32.926 | \n",
+ " 49.033 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.842 | \n",
+ "
\n",
+ " \n",
+ " last_longitude_observation | \n",
+ " -130.536 | \n",
+ " -120.992 | \n",
+ " -123.303 | \n",
+ " -123.974 | \n",
+ " -119.053 | \n",
+ " -122.833 | \n",
+ " -124.386 | \n",
+ " -121.857 | \n",
+ " -124.487 | \n",
+ " -124.742 | \n",
+ " ... | \n",
+ " -120.766 | \n",
+ " -124.29 | \n",
+ " -124.225 | \n",
+ " -119.004 | \n",
+ " -123.91 | \n",
+ " -117.277 | \n",
+ " -125.8 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.015 | \n",
+ "
\n",
+ " \n",
+ " last_date_observation | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " ... | \n",
+ " 2017-07-24T18:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-04-20T21:30:00Z | \n",
+ " 2018-11-20T17:30:00Z | \n",
+ " 2018-09-26T10:30:00Z | \n",
+ " 2022-03-09T19:26:00Z | \n",
+ " 1998-06-17T08:50:00Z | \n",
+ " 1991-04-30T08:50:00Z | \n",
+ " 1994-01-05T16:20:00Z | \n",
+ " 2013-04-28T21:45:00Z | \n",
+ "
\n",
+ " \n",
+ " coastline_distance | \n",
+ " 488.976277 | \n",
+ " 25.978597 | \n",
+ " 21.307163 | \n",
+ " 15.523567 | \n",
+ " 34.390066 | \n",
+ " 18.478829 | \n",
+ " 12.450634 | \n",
+ " 43.87913 | \n",
+ " 33.634963 | \n",
+ " 32.177639 | \n",
+ " ... | \n",
+ " 18.167478 | \n",
+ " 5.292928 | \n",
+ " 3.834525 | \n",
+ " 38.134278 | \n",
+ " 7.458671 | \n",
+ " 1.439496 | \n",
+ " 106.669438 | \n",
+ " 20.198005 | \n",
+ " 32.329682 | \n",
+ " 107.532749 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
23 rows × 118 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " 1361 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 42.57 \n",
+ "geospatial_lat_max 42.664 \n",
+ "geospatial_lon_min -130.537 \n",
+ "geospatial_lon_max -130.36 \n",
+ "time_coverage_start 1975-07-17T02:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:45:21Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46002.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46002 \n",
+ "wmo_platform_code 46002 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 42.664 \n",
+ "last_longitude_observation -130.536 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 488.976277 \n",
+ "\n",
+ " 1467 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.868 \n",
+ "geospatial_lat_max 35.0 \n",
+ "geospatial_lon_min -121.019 \n",
+ "geospatial_lon_max -120.857 \n",
+ "time_coverage_start 1980-10-07T18:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:46:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46011.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46011 \n",
+ "wmo_platform_code 46011 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.0 \n",
+ "last_longitude_observation -120.992 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 25.978597 \n",
+ "\n",
+ " 1529 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 38.228 \n",
+ "geospatial_lat_max 38.253 \n",
+ "geospatial_lon_min -123.325 \n",
+ "geospatial_lon_max -123.301 \n",
+ "time_coverage_start 1981-04-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:13:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46013.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46013 \n",
+ "wmo_platform_code 46013 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 38.253 \n",
+ "last_longitude_observation -123.303 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 21.307163 \n",
+ "\n",
+ " 1590 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 39.196 \n",
+ "geospatial_lat_max 39.235 \n",
+ "geospatial_lon_min -123.974 \n",
+ "geospatial_lon_max -123.969 \n",
+ "time_coverage_start 1981-04-01T19:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:50:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46014.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46014 \n",
+ "wmo_platform_code 46014 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 39.235 \n",
+ "last_longitude_observation -123.974 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 15.523567 \n",
+ "\n",
+ " 1652 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.739 \n",
+ "geospatial_lat_max 33.763 \n",
+ "geospatial_lon_min -119.08 \n",
+ "geospatial_lon_max -119.044 \n",
+ "time_coverage_start 1982-04-20T20:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:17:19Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46025.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46025 \n",
+ "wmo_platform_code 46025 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 33.749 \n",
+ "last_longitude_observation -119.053 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 34.390066 \n",
+ "\n",
+ " 1713 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 37.75 \n",
+ "geospatial_lat_max 37.759 \n",
+ "geospatial_lon_min -122.839 \n",
+ "geospatial_lon_max -122.82 \n",
+ "time_coverage_start 1982-07-23T16:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:07:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46026.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46026 \n",
+ "wmo_platform_code 46026 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 37.759 \n",
+ "last_longitude_observation -122.833 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 18.478829 \n",
+ "\n",
+ " 1774 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 41.84 \n",
+ "geospatial_lat_max 41.852 \n",
+ "geospatial_lon_min -124.386 \n",
+ "geospatial_lon_max -124.38 \n",
+ "time_coverage_start 1983-09-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:03:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46027.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46027 \n",
+ "wmo_platform_code 46027 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 41.85 \n",
+ "last_longitude_observation -124.386 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 12.450634 \n",
+ "\n",
+ " 1835 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 35.703 \n",
+ "geospatial_lat_max 35.774 \n",
+ "geospatial_lon_min -121.905 \n",
+ "geospatial_lon_max -121.857 \n",
+ "time_coverage_start 1983-12-01T22:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:36:52Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46028.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46028 \n",
+ "wmo_platform_code 46028 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.703 \n",
+ "last_longitude_observation -121.857 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 43.87913 \n",
+ "\n",
+ " 1897 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 46.12 \n",
+ "geospatial_lat_max 46.163 \n",
+ "geospatial_lon_min -124.514 \n",
+ "geospatial_lon_max -124.485 \n",
+ "time_coverage_start 1984-03-27T23:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:37:53Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46029.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46029 \n",
+ "wmo_platform_code 46029 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 46.163 \n",
+ "last_longitude_observation -124.487 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 33.634963 \n",
+ "\n",
+ " 1958 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 47.336 \n",
+ "geospatial_lat_max 47.353 \n",
+ "geospatial_lon_min -124.75 \n",
+ "geospatial_lon_max -124.704 \n",
+ "time_coverage_start 1987-06-09T17:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:15:05Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46041.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46041 \n",
+ "wmo_platform_code 46041 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 47.353 \n",
+ "last_longitude_observation -124.742 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 32.177639 \n",
+ "\n",
+ " ... \\\n",
+ "# product_id ... \n",
+ "file_name ... \n",
+ "geospatial_lat_min ... \n",
+ "geospatial_lat_max ... \n",
+ "geospatial_lon_min ... \n",
+ "geospatial_lon_max ... \n",
+ "time_coverage_start ... \n",
+ "time_coverage_end ... \n",
+ "institution ... \n",
+ "date_update ... \n",
+ "data_mode ... \n",
+ "parameters ... \n",
+ "spatialOverlap ... \n",
+ "netcdf ... \n",
+ "file_type ... \n",
+ "data_type ... \n",
+ "platform_code ... \n",
+ "wmo_platform_code ... \n",
+ "institution_edmo_code ... \n",
+ "last_latitude_observation ... \n",
+ "last_longitude_observation ... \n",
+ "last_date_observation ... \n",
+ "coastline_distance ... \n",
+ "\n",
+ " 9596 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.439 \n",
+ "geospatial_lat_max 34.439 \n",
+ "geospatial_lon_min -120.766 \n",
+ "geospatial_lon_max -120.766 \n",
+ "time_coverage_start 2015-07-10T14:00:00Z \n",
+ "time_coverage_end 2017-07-24T18:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T22:31:46Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46257.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46257 \n",
+ "wmo_platform_code 46257 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 34.439 \n",
+ "last_longitude_observation -120.766 \n",
+ "last_date_observation 2017-07-24T18:30:00Z \n",
+ "coastline_distance 18.167478 \n",
+ "\n",
+ " 9597 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 43.585 \n",
+ "geospatial_lat_max 43.586 \n",
+ "geospatial_lon_min -124.29 \n",
+ "geospatial_lon_max -124.29 \n",
+ "time_coverage_start 2017-04-05T16:30:00Z \n",
+ "time_coverage_end 2018-04-20T21:30:00Z \n",
+ "institution National Renewable Energy Laboratory \n",
+ "date_update 2022-09-03T23:12:49Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46260.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46260 \n",
+ "wmo_platform_code 46260 \n",
+ "institution_edmo_code 3177 \n",
+ "last_latitude_observation 43.586 \n",
+ "last_longitude_observation -124.29 \n",
+ "last_date_observation 2018-04-20T21:30:00Z \n",
+ "coastline_distance 5.292928 \n",
+ "\n",
+ " 9598 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 43.726 \n",
+ "geospatial_lat_max 43.76 \n",
+ "geospatial_lon_min -124.225 \n",
+ "geospatial_lon_max -124.225 \n",
+ "time_coverage_start 2017-04-05T16:30:00Z \n",
+ "time_coverage_end 2018-04-20T21:30:00Z \n",
+ "institution National Renewable Energy Laboratory \n",
+ "date_update 2022-09-03T20:40:06Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46261.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46261 \n",
+ "wmo_platform_code 46261 \n",
+ "institution_edmo_code 3177 \n",
+ "last_latitude_observation 43.76 \n",
+ "last_longitude_observation -124.225 \n",
+ "last_date_observation 2018-04-20T21:30:00Z \n",
+ "coastline_distance 3.834525 \n",
+ "\n",
+ " 9599 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.704 \n",
+ "geospatial_lat_max 33.704 \n",
+ "geospatial_lon_min -119.004 \n",
+ "geospatial_lon_max -119.004 \n",
+ "time_coverage_start 2017-09-24T16:00:00Z \n",
+ "time_coverage_end 2018-11-20T17:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T20:10:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46262.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46262 \n",
+ "wmo_platform_code 46262 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 33.704 \n",
+ "last_longitude_observation -119.004 \n",
+ "last_date_observation 2018-11-20T17:30:00Z \n",
+ "coastline_distance 38.134278 \n",
+ "\n",
+ " 9600 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 39.368 \n",
+ "geospatial_lat_max 39.368 \n",
+ "geospatial_lon_min -123.91 \n",
+ "geospatial_lon_max -123.91 \n",
+ "time_coverage_start 2017-09-28T20:00:00Z \n",
+ "time_coverage_end 2018-09-26T10:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T20:10:38Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46263.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46263 \n",
+ "wmo_platform_code 46263 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 39.368 \n",
+ "last_longitude_observation -123.91 \n",
+ "last_date_observation 2018-09-26T10:30:00Z \n",
+ "coastline_distance 7.458671 \n",
+ "\n",
+ " 9601 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.926 \n",
+ "geospatial_lat_max 32.926 \n",
+ "geospatial_lon_min -117.277 \n",
+ "geospatial_lon_max -117.277 \n",
+ "time_coverage_start 2021-11-12T17:26:00Z \n",
+ "time_coverage_end 2022-03-09T19:26:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-05-07T20:12:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46273.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46273 \n",
+ "wmo_platform_code 46273 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.926 \n",
+ "last_longitude_observation -117.277 \n",
+ "last_date_observation 2022-03-09T19:26:00Z \n",
+ "coastline_distance 1.439496 \n",
+ "\n",
+ " 9611 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.9908 \n",
+ "geospatial_lat_max 49.037 \n",
+ "geospatial_lon_min -125.8 \n",
+ "geospatial_lon_max -125.744 \n",
+ "time_coverage_start 1970-06-26T23:00:00Z \n",
+ "time_coverage_end 1998-06-17T08:50:00Z \n",
+ "institution Fisheries and Oceans Canada Marine Environment... \n",
+ "date_update 2023-03-18T15:38:00Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS103.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS103 \n",
+ "wmo_platform_code MEDS103 \n",
+ "institution_edmo_code 1979 \n",
+ "last_latitude_observation 49.033 \n",
+ "last_longitude_observation -125.8 \n",
+ "last_date_observation 1998-06-17T08:50:00Z \n",
+ "coastline_distance 106.669438 \n",
+ "\n",
+ " 9627 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.333 \n",
+ "geospatial_lat_max 48.333 \n",
+ "geospatial_lon_min -123.55 \n",
+ "geospatial_lon_max -123.55 \n",
+ "time_coverage_start 1990-11-27T20:50:00Z \n",
+ "time_coverage_end 1991-04-30T08:50:00Z \n",
+ "institution Environment and Climate Change Canada \n",
+ "date_update 2022-09-03T21:03:34Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS285.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS285 \n",
+ "wmo_platform_code MEDS285 \n",
+ "institution_edmo_code 5164 \n",
+ "last_latitude_observation 48.333 \n",
+ "last_longitude_observation -123.55 \n",
+ "last_date_observation 1991-04-30T08:50:00Z \n",
+ "coastline_distance 20.198005 \n",
+ "\n",
+ " 9628 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.433 \n",
+ "geospatial_lat_max 48.433 \n",
+ "geospatial_lon_min -123.45 \n",
+ "geospatial_lon_max -123.45 \n",
+ "time_coverage_start 1992-10-29T17:50:00Z \n",
+ "time_coverage_end 1994-01-05T16:20:00Z \n",
+ "institution Environment and Climate Change Canada \n",
+ "date_update 2023-03-18T15:37:47Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS317.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS317 \n",
+ "wmo_platform_code MEDS317 \n",
+ "institution_edmo_code 5164 \n",
+ "last_latitude_observation 48.433 \n",
+ "last_longitude_observation -123.45 \n",
+ "last_date_observation 1994-01-05T16:20:00Z \n",
+ "coastline_distance 32.329682 \n",
+ "\n",
+ " 9629 \n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.836 \n",
+ "geospatial_lat_max 48.898 \n",
+ "geospatial_lon_min -126.069 \n",
+ "geospatial_lon_max -126.013 \n",
+ "time_coverage_start 2012-10-31T00:19:00Z \n",
+ "time_coverage_end 2013-04-28T21:45:00Z \n",
+ "institution Fisheries and Oceans Canada \n",
+ "date_update 2022-09-03T20:13:34Z \n",
+ "data_mode R \n",
+ "parameters DEPH VHM0 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS350.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS350 \n",
+ "wmo_platform_code MEDS350 \n",
+ "institution_edmo_code 1979 \n",
+ "last_latitude_observation 48.842 \n",
+ "last_longitude_observation -126.015 \n",
+ "last_date_observation 2013-04-28T21:45:00Z \n",
+ "coastline_distance 107.532749 \n",
+ "\n",
+ "[23 rows x 118 columns]"
+ ]
+ },
+ "execution_count": 43,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "# Compute the distance to the coastline for each file on subset\n",
+ "# TO-DO: find unique (lat,lon) and only check by location\n",
+ "closest_dists = closest_distances(ref_points, geojson_file)\n",
+ "subset1['coastline_distance']=closest_dists\n",
+ "subset1.transpose()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 44,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Let's choose a threshold for the coastline distance\n",
+ "coast_min_dist=15 # This is based on the 15km and 30km grid cell sizes for the regional and global models, respectively\n",
+ "condition_dist = subset1['coastline_distance']>coast_min_dist"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 45,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " 1361 | \n",
+ " 1467 | \n",
+ " 1529 | \n",
+ " 1590 | \n",
+ " 1652 | \n",
+ " 1713 | \n",
+ " 1835 | \n",
+ " 1897 | \n",
+ " 1958 | \n",
+ " 2019 | \n",
+ " ... | \n",
+ " 9591 | \n",
+ " 9592 | \n",
+ " 9594 | \n",
+ " 9595 | \n",
+ " 9596 | \n",
+ " 9599 | \n",
+ " 9611 | \n",
+ " 9627 | \n",
+ " 9628 | \n",
+ " 9629 | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " # product_id | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " ... | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ "
\n",
+ " \n",
+ " file_name | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_min | \n",
+ " 42.57 | \n",
+ " 34.868 | \n",
+ " 38.228 | \n",
+ " 39.196 | \n",
+ " 33.739 | \n",
+ " 37.75 | \n",
+ " 35.703 | \n",
+ " 46.12 | \n",
+ " 47.336 | \n",
+ " 36.75 | \n",
+ " ... | \n",
+ " 37.753 | \n",
+ " 33.821 | \n",
+ " 33.953 | \n",
+ " 33.4 | \n",
+ " 34.439 | \n",
+ " 33.704 | \n",
+ " 48.9908 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.836 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_max | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.763 | \n",
+ " 37.759 | \n",
+ " 35.774 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " 36.791 | \n",
+ " ... | \n",
+ " 37.753 | \n",
+ " 33.821 | \n",
+ " 33.953 | \n",
+ " 33.4 | \n",
+ " 34.439 | \n",
+ " 33.704 | \n",
+ " 49.037 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.898 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_min | \n",
+ " -130.537 | \n",
+ " -121.019 | \n",
+ " -123.325 | \n",
+ " -123.974 | \n",
+ " -119.08 | \n",
+ " -122.839 | \n",
+ " -121.905 | \n",
+ " -124.514 | \n",
+ " -124.75 | \n",
+ " -122.469 | \n",
+ " ... | \n",
+ " -122.833 | \n",
+ " -119.708 | \n",
+ " -119.257 | \n",
+ " -119.651 | \n",
+ " -120.766 | \n",
+ " -119.004 | \n",
+ " -125.8 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.069 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_max | \n",
+ " -130.36 | \n",
+ " -120.857 | \n",
+ " -123.301 | \n",
+ " -123.969 | \n",
+ " -119.044 | \n",
+ " -122.82 | \n",
+ " -121.857 | \n",
+ " -124.485 | \n",
+ " -124.704 | \n",
+ " -122.396 | \n",
+ " ... | \n",
+ " -122.833 | \n",
+ " -119.708 | \n",
+ " -119.257 | \n",
+ " -119.651 | \n",
+ " -120.766 | \n",
+ " -119.004 | \n",
+ " -125.744 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.013 | \n",
+ "
\n",
+ " \n",
+ " time_coverage_start | \n",
+ " 1975-07-17T02:00:00Z | \n",
+ " 1980-10-07T18:00:00Z | \n",
+ " 1981-04-01T00:00:00Z | \n",
+ " 1981-04-01T19:00:00Z | \n",
+ " 1982-04-20T20:00:00Z | \n",
+ " 1982-07-23T16:00:00Z | \n",
+ " 1983-12-01T22:00:00Z | \n",
+ " 1984-03-27T23:00:00Z | \n",
+ " 1987-06-09T17:00:00Z | \n",
+ " 1987-06-17T17:00:00Z | \n",
+ " ... | \n",
+ " 2011-02-10T19:21:00Z | \n",
+ " 2011-06-10T16:42:00Z | \n",
+ " 2014-10-01T20:35:00Z | \n",
+ " 2015-03-18T14:37:00Z | \n",
+ " 2015-07-10T14:00:00Z | \n",
+ " 2017-09-24T16:00:00Z | \n",
+ " 1970-06-26T23:00:00Z | \n",
+ " 1990-11-27T20:50:00Z | \n",
+ " 1992-10-29T17:50:00Z | \n",
+ " 2012-10-31T00:19:00Z | \n",
+ "
\n",
+ " \n",
+ " time_coverage_end | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " ... | \n",
+ " 2012-11-18T14:34:00Z | \n",
+ " 2012-09-30T19:12:00Z | \n",
+ " 2015-12-03T17:05:00Z | \n",
+ " 2017-04-02T04:16:00Z | \n",
+ " 2017-07-24T18:30:00Z | \n",
+ " 2018-11-20T17:30:00Z | \n",
+ " 1998-06-17T08:50:00Z | \n",
+ " 1991-04-30T08:50:00Z | \n",
+ " 1994-01-05T16:20:00Z | \n",
+ " 2013-04-28T21:45:00Z | \n",
+ "
\n",
+ " \n",
+ " institution | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " ... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " U.S. Army Corps of Engineers | \n",
+ " University of Washington Applied Physics Labor... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Fisheries and Oceans Canada Marine Environment... | \n",
+ " Environment and Climate Change Canada | \n",
+ " Environment and Climate Change Canada | \n",
+ " Fisheries and Oceans Canada | \n",
+ "
\n",
+ " \n",
+ " date_update | \n",
+ " 2023-06-03T17:45:21Z | \n",
+ " 2023-06-03T16:46:04Z | \n",
+ " 2023-06-03T17:13:57Z | \n",
+ " 2023-06-03T17:50:04Z | \n",
+ " 2023-06-03T18:17:19Z | \n",
+ " 2023-06-03T16:07:07Z | \n",
+ " 2023-06-03T16:36:52Z | \n",
+ " 2023-06-03T16:37:53Z | \n",
+ " 2023-06-03T18:15:05Z | \n",
+ " 2023-06-03T16:05:05Z | \n",
+ " ... | \n",
+ " 2022-09-03T20:49:56Z | \n",
+ " 2022-09-03T23:14:23Z | \n",
+ " 2022-09-03T21:04:40Z | \n",
+ " 2022-09-03T22:52:44Z | \n",
+ " 2022-09-03T22:31:46Z | \n",
+ " 2022-09-03T20:10:57Z | \n",
+ " 2023-03-18T15:38:00Z | \n",
+ " 2022-09-03T21:03:34Z | \n",
+ " 2023-03-18T15:37:47Z | \n",
+ " 2022-09-03T20:13:34Z | \n",
+ "
\n",
+ " \n",
+ " data_mode | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " ... | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ "
\n",
+ " \n",
+ " parameters | \n",
+ " DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " ... | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VCMX VHM0 VTPK VTZA | \n",
+ " DEPH VHM0 VTPK | \n",
+ "
\n",
+ " \n",
+ " spatialOverlap | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " ... | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ "
\n",
+ " \n",
+ " netcdf | \n",
+ " GL_TS_MO_46002.nc | \n",
+ " GL_TS_MO_46011.nc | \n",
+ " GL_TS_MO_46013.nc | \n",
+ " GL_TS_MO_46014.nc | \n",
+ " GL_TS_MO_46025.nc | \n",
+ " GL_TS_MO_46026.nc | \n",
+ " GL_TS_MO_46028.nc | \n",
+ " GL_TS_MO_46029.nc | \n",
+ " GL_TS_MO_46041.nc | \n",
+ " GL_TS_MO_46042.nc | \n",
+ " ... | \n",
+ " GL_TS_MO_46247.nc | \n",
+ " GL_TS_MO_46249.nc | \n",
+ " GL_TS_MO_46252.nc | \n",
+ " GL_TS_MO_46255.nc | \n",
+ " GL_TS_MO_46257.nc | \n",
+ " GL_TS_MO_46262.nc | \n",
+ " GL_TS_MO_MEDS103.nc | \n",
+ " GL_TS_MO_MEDS285.nc | \n",
+ " GL_TS_MO_MEDS317.nc | \n",
+ " GL_TS_MO_MEDS350.nc | \n",
+ "
\n",
+ " \n",
+ " file_type | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " ... | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ "
\n",
+ " \n",
+ " data_type | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " ... | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ "
\n",
+ " \n",
+ " platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " 46042 | \n",
+ " ... | \n",
+ " 46247 | \n",
+ " 46249 | \n",
+ " 46252 | \n",
+ " 46255 | \n",
+ " 46257 | \n",
+ " 46262 | \n",
+ " MEDS103 | \n",
+ " MEDS285 | \n",
+ " MEDS317 | \n",
+ " MEDS350 | \n",
+ "
\n",
+ " \n",
+ " wmo_platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " 46042 | \n",
+ " ... | \n",
+ " 46247 | \n",
+ " 46249 | \n",
+ " 46252 | \n",
+ " 46255 | \n",
+ " 46257 | \n",
+ " 46262 | \n",
+ " MEDS103 | \n",
+ " MEDS285 | \n",
+ " MEDS317 | \n",
+ " MEDS350 | \n",
+ "
\n",
+ " \n",
+ " institution_edmo_code | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " ... | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 3671 | \n",
+ " 1554 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1979 | \n",
+ " 5164 | \n",
+ " 5164 | \n",
+ " 1979 | \n",
+ "
\n",
+ " \n",
+ " last_latitude_observation | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.749 | \n",
+ " 37.759 | \n",
+ " 35.703 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " 36.785 | \n",
+ " ... | \n",
+ " 37.753 | \n",
+ " 33.821 | \n",
+ " 33.953 | \n",
+ " 33.4 | \n",
+ " 34.439 | \n",
+ " 33.704 | \n",
+ " 49.033 | \n",
+ " 48.333 | \n",
+ " 48.433 | \n",
+ " 48.842 | \n",
+ "
\n",
+ " \n",
+ " last_longitude_observation | \n",
+ " -130.536 | \n",
+ " -120.992 | \n",
+ " -123.303 | \n",
+ " -123.974 | \n",
+ " -119.053 | \n",
+ " -122.833 | \n",
+ " -121.857 | \n",
+ " -124.487 | \n",
+ " -124.742 | \n",
+ " -122.469 | \n",
+ " ... | \n",
+ " -122.833 | \n",
+ " -119.708 | \n",
+ " -119.257 | \n",
+ " -119.651 | \n",
+ " -120.766 | \n",
+ " -119.004 | \n",
+ " -125.8 | \n",
+ " -123.55 | \n",
+ " -123.45 | \n",
+ " -126.015 | \n",
+ "
\n",
+ " \n",
+ " last_date_observation | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " ... | \n",
+ " 2012-11-18T14:34:00Z | \n",
+ " 2012-09-30T19:12:00Z | \n",
+ " 2015-12-03T17:05:00Z | \n",
+ " 2017-04-02T04:16:00Z | \n",
+ " 2017-07-24T18:30:00Z | \n",
+ " 2018-11-20T17:30:00Z | \n",
+ " 1998-06-17T08:50:00Z | \n",
+ " 1991-04-30T08:50:00Z | \n",
+ " 1994-01-05T16:20:00Z | \n",
+ " 2013-04-28T21:45:00Z | \n",
+ "
\n",
+ " \n",
+ " coastline_distance | \n",
+ " 488.976277 | \n",
+ " 25.978597 | \n",
+ " 21.307163 | \n",
+ " 15.523567 | \n",
+ " 34.390066 | \n",
+ " 18.478829 | \n",
+ " 43.87913 | \n",
+ " 33.634963 | \n",
+ " 32.177639 | \n",
+ " 34.486828 | \n",
+ " ... | \n",
+ " 19.058102 | \n",
+ " 63.713701 | \n",
+ " 20.472156 | \n",
+ " 91.940475 | \n",
+ " 18.167478 | \n",
+ " 38.134278 | \n",
+ " 106.669438 | \n",
+ " 20.198005 | \n",
+ " 32.329682 | \n",
+ " 107.532749 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
23 rows × 70 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " 1361 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 42.57 \n",
+ "geospatial_lat_max 42.664 \n",
+ "geospatial_lon_min -130.537 \n",
+ "geospatial_lon_max -130.36 \n",
+ "time_coverage_start 1975-07-17T02:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:45:21Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46002.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46002 \n",
+ "wmo_platform_code 46002 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 42.664 \n",
+ "last_longitude_observation -130.536 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 488.976277 \n",
+ "\n",
+ " 1467 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.868 \n",
+ "geospatial_lat_max 35.0 \n",
+ "geospatial_lon_min -121.019 \n",
+ "geospatial_lon_max -120.857 \n",
+ "time_coverage_start 1980-10-07T18:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:46:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46011.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46011 \n",
+ "wmo_platform_code 46011 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.0 \n",
+ "last_longitude_observation -120.992 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 25.978597 \n",
+ "\n",
+ " 1529 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 38.228 \n",
+ "geospatial_lat_max 38.253 \n",
+ "geospatial_lon_min -123.325 \n",
+ "geospatial_lon_max -123.301 \n",
+ "time_coverage_start 1981-04-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:13:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46013.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46013 \n",
+ "wmo_platform_code 46013 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 38.253 \n",
+ "last_longitude_observation -123.303 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 21.307163 \n",
+ "\n",
+ " 1590 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 39.196 \n",
+ "geospatial_lat_max 39.235 \n",
+ "geospatial_lon_min -123.974 \n",
+ "geospatial_lon_max -123.969 \n",
+ "time_coverage_start 1981-04-01T19:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:50:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46014.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46014 \n",
+ "wmo_platform_code 46014 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 39.235 \n",
+ "last_longitude_observation -123.974 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 15.523567 \n",
+ "\n",
+ " 1652 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.739 \n",
+ "geospatial_lat_max 33.763 \n",
+ "geospatial_lon_min -119.08 \n",
+ "geospatial_lon_max -119.044 \n",
+ "time_coverage_start 1982-04-20T20:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:17:19Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46025.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46025 \n",
+ "wmo_platform_code 46025 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 33.749 \n",
+ "last_longitude_observation -119.053 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 34.390066 \n",
+ "\n",
+ " 1713 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 37.75 \n",
+ "geospatial_lat_max 37.759 \n",
+ "geospatial_lon_min -122.839 \n",
+ "geospatial_lon_max -122.82 \n",
+ "time_coverage_start 1982-07-23T16:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:07:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46026.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46026 \n",
+ "wmo_platform_code 46026 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 37.759 \n",
+ "last_longitude_observation -122.833 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 18.478829 \n",
+ "\n",
+ " 1835 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 35.703 \n",
+ "geospatial_lat_max 35.774 \n",
+ "geospatial_lon_min -121.905 \n",
+ "geospatial_lon_max -121.857 \n",
+ "time_coverage_start 1983-12-01T22:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:36:52Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46028.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46028 \n",
+ "wmo_platform_code 46028 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.703 \n",
+ "last_longitude_observation -121.857 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 43.87913 \n",
+ "\n",
+ " 1897 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 46.12 \n",
+ "geospatial_lat_max 46.163 \n",
+ "geospatial_lon_min -124.514 \n",
+ "geospatial_lon_max -124.485 \n",
+ "time_coverage_start 1984-03-27T23:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:37:53Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46029.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46029 \n",
+ "wmo_platform_code 46029 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 46.163 \n",
+ "last_longitude_observation -124.487 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 33.634963 \n",
+ "\n",
+ " 1958 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 47.336 \n",
+ "geospatial_lat_max 47.353 \n",
+ "geospatial_lon_min -124.75 \n",
+ "geospatial_lon_max -124.704 \n",
+ "time_coverage_start 1987-06-09T17:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:15:05Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46041.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46041 \n",
+ "wmo_platform_code 46041 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 47.353 \n",
+ "last_longitude_observation -124.742 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 32.177639 \n",
+ "\n",
+ " 2019 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 36.75 \n",
+ "geospatial_lat_max 36.791 \n",
+ "geospatial_lon_min -122.469 \n",
+ "geospatial_lon_max -122.396 \n",
+ "time_coverage_start 1987-06-17T17:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:05:05Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46042.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46042 \n",
+ "wmo_platform_code 46042 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 36.785 \n",
+ "last_longitude_observation -122.469 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 34.486828 \n",
+ "\n",
+ " ... \\\n",
+ "# product_id ... \n",
+ "file_name ... \n",
+ "geospatial_lat_min ... \n",
+ "geospatial_lat_max ... \n",
+ "geospatial_lon_min ... \n",
+ "geospatial_lon_max ... \n",
+ "time_coverage_start ... \n",
+ "time_coverage_end ... \n",
+ "institution ... \n",
+ "date_update ... \n",
+ "data_mode ... \n",
+ "parameters ... \n",
+ "spatialOverlap ... \n",
+ "netcdf ... \n",
+ "file_type ... \n",
+ "data_type ... \n",
+ "platform_code ... \n",
+ "wmo_platform_code ... \n",
+ "institution_edmo_code ... \n",
+ "last_latitude_observation ... \n",
+ "last_longitude_observation ... \n",
+ "last_date_observation ... \n",
+ "coastline_distance ... \n",
+ "\n",
+ " 9591 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 37.753 \n",
+ "geospatial_lat_max 37.753 \n",
+ "geospatial_lon_min -122.833 \n",
+ "geospatial_lon_max -122.833 \n",
+ "time_coverage_start 2011-02-10T19:21:00Z \n",
+ "time_coverage_end 2012-11-18T14:34:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T20:49:56Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46247.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46247 \n",
+ "wmo_platform_code 46247 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 37.753 \n",
+ "last_longitude_observation -122.833 \n",
+ "last_date_observation 2012-11-18T14:34:00Z \n",
+ "coastline_distance 19.058102 \n",
+ "\n",
+ " 9592 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.821 \n",
+ "geospatial_lat_max 33.821 \n",
+ "geospatial_lon_min -119.708 \n",
+ "geospatial_lon_max -119.708 \n",
+ "time_coverage_start 2011-06-10T16:42:00Z \n",
+ "time_coverage_end 2012-09-30T19:12:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T23:14:23Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46249.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46249 \n",
+ "wmo_platform_code 46249 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 33.821 \n",
+ "last_longitude_observation -119.708 \n",
+ "last_date_observation 2012-09-30T19:12:00Z \n",
+ "coastline_distance 63.713701 \n",
+ "\n",
+ " 9594 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.953 \n",
+ "geospatial_lat_max 33.953 \n",
+ "geospatial_lon_min -119.257 \n",
+ "geospatial_lon_max -119.257 \n",
+ "time_coverage_start 2014-10-01T20:35:00Z \n",
+ "time_coverage_end 2015-12-03T17:05:00Z \n",
+ "institution U.S. Army Corps of Engineers \n",
+ "date_update 2022-09-03T21:04:40Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46252.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46252 \n",
+ "wmo_platform_code 46252 \n",
+ "institution_edmo_code 3671 \n",
+ "last_latitude_observation 33.953 \n",
+ "last_longitude_observation -119.257 \n",
+ "last_date_observation 2015-12-03T17:05:00Z \n",
+ "coastline_distance 20.472156 \n",
+ "\n",
+ " 9595 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.4 \n",
+ "geospatial_lat_max 33.4 \n",
+ "geospatial_lon_min -119.651 \n",
+ "geospatial_lon_max -119.651 \n",
+ "time_coverage_start 2015-03-18T14:37:00Z \n",
+ "time_coverage_end 2017-04-02T04:16:00Z \n",
+ "institution University of Washington Applied Physics Labor... \n",
+ "date_update 2022-09-03T22:52:44Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46255.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46255 \n",
+ "wmo_platform_code 46255 \n",
+ "institution_edmo_code 1554 \n",
+ "last_latitude_observation 33.4 \n",
+ "last_longitude_observation -119.651 \n",
+ "last_date_observation 2017-04-02T04:16:00Z \n",
+ "coastline_distance 91.940475 \n",
+ "\n",
+ " 9596 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.439 \n",
+ "geospatial_lat_max 34.439 \n",
+ "geospatial_lon_min -120.766 \n",
+ "geospatial_lon_max -120.766 \n",
+ "time_coverage_start 2015-07-10T14:00:00Z \n",
+ "time_coverage_end 2017-07-24T18:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T22:31:46Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46257.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46257 \n",
+ "wmo_platform_code 46257 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 34.439 \n",
+ "last_longitude_observation -120.766 \n",
+ "last_date_observation 2017-07-24T18:30:00Z \n",
+ "coastline_distance 18.167478 \n",
+ "\n",
+ " 9599 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.704 \n",
+ "geospatial_lat_max 33.704 \n",
+ "geospatial_lon_min -119.004 \n",
+ "geospatial_lon_max -119.004 \n",
+ "time_coverage_start 2017-09-24T16:00:00Z \n",
+ "time_coverage_end 2018-11-20T17:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2022-09-03T20:10:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46262.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46262 \n",
+ "wmo_platform_code 46262 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 33.704 \n",
+ "last_longitude_observation -119.004 \n",
+ "last_date_observation 2018-11-20T17:30:00Z \n",
+ "coastline_distance 38.134278 \n",
+ "\n",
+ " 9611 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.9908 \n",
+ "geospatial_lat_max 49.037 \n",
+ "geospatial_lon_min -125.8 \n",
+ "geospatial_lon_max -125.744 \n",
+ "time_coverage_start 1970-06-26T23:00:00Z \n",
+ "time_coverage_end 1998-06-17T08:50:00Z \n",
+ "institution Fisheries and Oceans Canada Marine Environment... \n",
+ "date_update 2023-03-18T15:38:00Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS103.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS103 \n",
+ "wmo_platform_code MEDS103 \n",
+ "institution_edmo_code 1979 \n",
+ "last_latitude_observation 49.033 \n",
+ "last_longitude_observation -125.8 \n",
+ "last_date_observation 1998-06-17T08:50:00Z \n",
+ "coastline_distance 106.669438 \n",
+ "\n",
+ " 9627 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.333 \n",
+ "geospatial_lat_max 48.333 \n",
+ "geospatial_lon_min -123.55 \n",
+ "geospatial_lon_max -123.55 \n",
+ "time_coverage_start 1990-11-27T20:50:00Z \n",
+ "time_coverage_end 1991-04-30T08:50:00Z \n",
+ "institution Environment and Climate Change Canada \n",
+ "date_update 2022-09-03T21:03:34Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS285.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS285 \n",
+ "wmo_platform_code MEDS285 \n",
+ "institution_edmo_code 5164 \n",
+ "last_latitude_observation 48.333 \n",
+ "last_longitude_observation -123.55 \n",
+ "last_date_observation 1991-04-30T08:50:00Z \n",
+ "coastline_distance 20.198005 \n",
+ "\n",
+ " 9628 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.433 \n",
+ "geospatial_lat_max 48.433 \n",
+ "geospatial_lon_min -123.45 \n",
+ "geospatial_lon_max -123.45 \n",
+ "time_coverage_start 1992-10-29T17:50:00Z \n",
+ "time_coverage_end 1994-01-05T16:20:00Z \n",
+ "institution Environment and Climate Change Canada \n",
+ "date_update 2023-03-18T15:37:47Z \n",
+ "data_mode R \n",
+ "parameters DEPH VCMX VHM0 VTPK VTZA \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS317.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS317 \n",
+ "wmo_platform_code MEDS317 \n",
+ "institution_edmo_code 5164 \n",
+ "last_latitude_observation 48.433 \n",
+ "last_longitude_observation -123.45 \n",
+ "last_date_observation 1994-01-05T16:20:00Z \n",
+ "coastline_distance 32.329682 \n",
+ "\n",
+ " 9629 \n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.836 \n",
+ "geospatial_lat_max 48.898 \n",
+ "geospatial_lon_min -126.069 \n",
+ "geospatial_lon_max -126.013 \n",
+ "time_coverage_start 2012-10-31T00:19:00Z \n",
+ "time_coverage_end 2013-04-28T21:45:00Z \n",
+ "institution Fisheries and Oceans Canada \n",
+ "date_update 2022-09-03T20:13:34Z \n",
+ "data_mode R \n",
+ "parameters DEPH VHM0 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_MEDS350.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code MEDS350 \n",
+ "wmo_platform_code MEDS350 \n",
+ "institution_edmo_code 1979 \n",
+ "last_latitude_observation 48.842 \n",
+ "last_longitude_observation -126.015 \n",
+ "last_date_observation 2013-04-28T21:45:00Z \n",
+ "coastline_distance 107.532749 \n",
+ "\n",
+ "[23 rows x 70 columns]"
+ ]
+ },
+ "execution_count": 45,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "subset2=subset1[condition_dist]\n",
+ "subset2.transpose()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 46,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Make this Notebook Trusted to load map: File -> Trust Notebook
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "execution_count": 46,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "# Clear the map and draw the search area defined above\n",
+ "m = folium.Map(location=[53.0, 0], zoom_start=4)\n",
+ "upper_left = [targeted_geospatial_lat_max, targeted_geospatial_lon_min]\n",
+ "upper_right = [targeted_geospatial_lat_max, targeted_geospatial_lon_max]\n",
+ "lower_right = [targeted_geospatial_lat_min, targeted_geospatial_lon_max]\n",
+ "lower_left = [targeted_geospatial_lat_min, targeted_geospatial_lon_min]\n",
+ "edges = [upper_left, upper_right, lower_right, lower_left]\n",
+ "polygon = folium.vector_layers.Polygon(locations=edges)\n",
+ "m.add_child(polygon)\n",
+ "m.fit_bounds(polygon.get_bounds())\n",
+ "# Plot the selected stations based on the subset selected above\n",
+ "for ind in subset2.index:\n",
+ " legend='First measurement: '+subset2['time_coverage_start'][ind]+' Last measurement: '+subset2['last_date_observation'][ind]+' Platform code:'+subset2['platform_code'][ind]+' Parameters:'+subset2['parameters'][ind]\n",
+ " folium.Marker(location=[subset2['last_latitude_observation'][ind],subset2['last_longitude_observation'][ind]],popup=legend).add_to(m)\n",
+ "# Show map\n",
+ "m\n",
+ "# Save map\n",
+ "# map.save('map_test.html')"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "### Highlight stations that are live"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "To highlight in the map the live stations, the criteria to be used is based on the last observation date"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 47,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# If coastline filter not applied\n",
+ "subset2=subset1"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 48,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Criteria: last observation date within this week\n",
+ "date_format='%Y-%m-%dT%H:%M:%SZ'\n",
+ "dtheshold=datetime.timedelta(days=7)\n",
+ "dnow=datetime.datetime.strftime(datetime.datetime.now()-dtheshold,date_format)\n",
+ "condition_last_obs = subset1['last_date_observation']>dnow"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 49,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " 1361 | \n",
+ " 1467 | \n",
+ " 1529 | \n",
+ " 1590 | \n",
+ " 1652 | \n",
+ " 1713 | \n",
+ " 1774 | \n",
+ " 1835 | \n",
+ " 1897 | \n",
+ " 1958 | \n",
+ " ... | \n",
+ " 4433 | \n",
+ " 4494 | \n",
+ " 4555 | \n",
+ " 4616 | \n",
+ " 4677 | \n",
+ " 4738 | \n",
+ " 4799 | \n",
+ " 4842 | \n",
+ " 5181 | \n",
+ " 9530 | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " # product_id | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " ... | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ " COP-GLOBAL-01 | \n",
+ "
\n",
+ " \n",
+ " file_name | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ " ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_min | \n",
+ " 42.57 | \n",
+ " 34.868 | \n",
+ " 38.228 | \n",
+ " 39.196 | \n",
+ " 33.739 | \n",
+ " 37.75 | \n",
+ " 41.84 | \n",
+ " 35.703 | \n",
+ " 46.12 | \n",
+ " 47.336 | \n",
+ " ... | \n",
+ " 32.957 | \n",
+ " 48.173 | \n",
+ " 34.022 | \n",
+ " 36.934 | \n",
+ " 33.062 | \n",
+ " 33.29 | \n",
+ " 36.845 | \n",
+ " 33.336 | \n",
+ " 32.867 | \n",
+ " 45.958 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lat_max | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.763 | \n",
+ " 37.759 | \n",
+ " 41.852 | \n",
+ " 35.774 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " ... | \n",
+ " 32.957 | \n",
+ " 48.173 | \n",
+ " 34.022 | \n",
+ " 36.934 | \n",
+ " 33.062 | \n",
+ " 33.29 | \n",
+ " 36.845 | \n",
+ " 33.336 | \n",
+ " 32.87 | \n",
+ " 46.14 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_min | \n",
+ " -130.537 | \n",
+ " -121.019 | \n",
+ " -123.325 | \n",
+ " -123.974 | \n",
+ " -119.08 | \n",
+ " -122.839 | \n",
+ " -124.386 | \n",
+ " -121.905 | \n",
+ " -124.514 | \n",
+ " -124.75 | \n",
+ " ... | \n",
+ " -117.279 | \n",
+ " -123.607 | \n",
+ " -118.578 | \n",
+ " -122.034 | \n",
+ " -117.314 | \n",
+ " -117.5 | \n",
+ " -121.825 | \n",
+ " -117.659 | \n",
+ " 117.26 | \n",
+ " -131.07899 | \n",
+ "
\n",
+ " \n",
+ " geospatial_lon_max | \n",
+ " -130.36 | \n",
+ " -120.857 | \n",
+ " -123.301 | \n",
+ " -123.969 | \n",
+ " -119.044 | \n",
+ " -122.82 | \n",
+ " -124.38 | \n",
+ " -121.857 | \n",
+ " -124.485 | \n",
+ " -124.704 | \n",
+ " ... | \n",
+ " -117.279 | \n",
+ " -123.607 | \n",
+ " -118.578 | \n",
+ " -122.034 | \n",
+ " -117.314 | \n",
+ " -117.5 | \n",
+ " -121.825 | \n",
+ " -117.659 | \n",
+ " -117.257 | \n",
+ " -131.0 | \n",
+ "
\n",
+ " \n",
+ " time_coverage_start | \n",
+ " 1975-07-17T02:00:00Z | \n",
+ " 1980-10-07T18:00:00Z | \n",
+ " 1981-04-01T00:00:00Z | \n",
+ " 1981-04-01T19:00:00Z | \n",
+ " 1982-04-20T20:00:00Z | \n",
+ " 1982-07-23T16:00:00Z | \n",
+ " 1983-09-01T00:00:00Z | \n",
+ " 1983-12-01T22:00:00Z | \n",
+ " 1984-03-27T23:00:00Z | \n",
+ " 1987-06-09T17:00:00Z | \n",
+ " ... | \n",
+ " 2019-12-06T17:30:00Z | \n",
+ " 2020-04-01T19:00:00Z | \n",
+ " 2020-08-21T17:00:00Z | \n",
+ " 2020-12-07T22:00:00Z | \n",
+ " 2022-08-30T21:26:00Z | \n",
+ " 2022-10-26T13:56:00Z | \n",
+ " 2023-04-20T20:00:00Z | \n",
+ " 2023-05-31T03:30:00Z | \n",
+ " 2005-01-01T00:30:00Z | \n",
+ " 1976-09-11T19:00:00Z | \n",
+ "
\n",
+ " \n",
+ " time_coverage_end | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ " ... | \n",
+ " 2023-05-31T23:56:00Z | \n",
+ " 2023-05-31T23:00:00Z | \n",
+ " 2023-05-31T22:30:00Z | \n",
+ " 2023-05-31T23:00:00Z | \n",
+ " 2023-05-31T23:56:00Z | \n",
+ " 2023-05-31T23:00:00Z | \n",
+ " 2023-05-31T23:00:00Z | \n",
+ " 2023-05-31T23:00:00Z | \n",
+ " 2023-05-31T22:20:00Z | \n",
+ " 2023-05-31T23:50:00Z | \n",
+ "
\n",
+ " \n",
+ " institution | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ " ... | \n",
+ " U.S. Army Corps of Engineers | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " Unknown institution | \n",
+ " Unknown institution | \n",
+ " Unknown institution | \n",
+ " Unknown institution | \n",
+ " Scripps Institution of Oceanography La Jolla (... | \n",
+ " National Data Buoy Center (NDBC) ; National Oc... | \n",
+ "
\n",
+ " \n",
+ " date_update | \n",
+ " 2023-06-03T17:45:21Z | \n",
+ " 2023-06-03T16:46:04Z | \n",
+ " 2023-06-03T17:13:57Z | \n",
+ " 2023-06-03T17:50:04Z | \n",
+ " 2023-06-03T18:17:19Z | \n",
+ " 2023-06-03T16:07:07Z | \n",
+ " 2023-06-03T16:03:07Z | \n",
+ " 2023-06-03T16:36:52Z | \n",
+ " 2023-06-03T16:37:53Z | \n",
+ " 2023-06-03T18:15:05Z | \n",
+ " ... | \n",
+ " 2023-06-10T12:24:55Z | \n",
+ " 2023-06-10T12:24:24Z | \n",
+ " 2023-06-10T12:14:26Z | \n",
+ " 2023-06-10T12:17:39Z | \n",
+ " 2023-06-10T12:16:13Z | \n",
+ " 2023-06-10T12:15:37Z | \n",
+ " 2023-06-10T12:15:45Z | \n",
+ " 2023-06-03T17:43:45Z | \n",
+ " 2023-06-10T12:25:49Z | \n",
+ " 2023-06-03T16:37:47Z | \n",
+ "
\n",
+ " \n",
+ " data_mode | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " ... | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ " R | \n",
+ "
\n",
+ " \n",
+ " parameters | \n",
+ " DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ " ... | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK | \n",
+ " DEPH TEMP DRYT VHM0 VTPK | \n",
+ " DEPH DRYT GSPD VHM0 VTPK WDIR WSPD | \n",
+ " DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... | \n",
+ "
\n",
+ " \n",
+ " spatialOverlap | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " ... | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ " True | \n",
+ "
\n",
+ " \n",
+ " netcdf | \n",
+ " GL_TS_MO_46002.nc | \n",
+ " GL_TS_MO_46011.nc | \n",
+ " GL_TS_MO_46013.nc | \n",
+ " GL_TS_MO_46014.nc | \n",
+ " GL_TS_MO_46025.nc | \n",
+ " GL_TS_MO_46026.nc | \n",
+ " GL_TS_MO_46027.nc | \n",
+ " GL_TS_MO_46028.nc | \n",
+ " GL_TS_MO_46029.nc | \n",
+ " GL_TS_MO_46041.nc | \n",
+ " ... | \n",
+ " GL_TS_MO_46266.nc | \n",
+ " GL_TS_MO_46267.nc | \n",
+ " GL_TS_MO_46268.nc | \n",
+ " GL_TS_MO_46269.nc | \n",
+ " GL_TS_MO_46274.nc | \n",
+ " GL_TS_MO_46275.nc | \n",
+ " GL_TS_MO_46276.nc | \n",
+ " GL_TS_MO_46277.nc | \n",
+ " GL_TS_MO_ljpc1.nc | \n",
+ " GL_TS_MO_46005.nc | \n",
+ "
\n",
+ " \n",
+ " file_type | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " ... | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ " TS | \n",
+ "
\n",
+ " \n",
+ " data_type | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " ... | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ " MO | \n",
+ "
\n",
+ " \n",
+ " platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46027 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " ... | \n",
+ " 46266 | \n",
+ " 46267 | \n",
+ " 46268 | \n",
+ " 46269 | \n",
+ " 46274 | \n",
+ " 46275 | \n",
+ " 46276 | \n",
+ " 46277 | \n",
+ " ljpc1 | \n",
+ " 46005 | \n",
+ "
\n",
+ " \n",
+ " wmo_platform_code | \n",
+ " 46002 | \n",
+ " 46011 | \n",
+ " 46013 | \n",
+ " 46014 | \n",
+ " 46025 | \n",
+ " 46026 | \n",
+ " 46027 | \n",
+ " 46028 | \n",
+ " 46029 | \n",
+ " 46041 | \n",
+ " ... | \n",
+ " 46266 | \n",
+ " 46267 | \n",
+ " 46268 | \n",
+ " 46269 | \n",
+ " 46274 | \n",
+ " 46275 | \n",
+ " 46276 | \n",
+ " 46277 | \n",
+ " ljpc1 | \n",
+ " 46005 | \n",
+ "
\n",
+ " \n",
+ " institution_edmo_code | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " 1463 | \n",
+ " ... | \n",
+ " 3671 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1390 | \n",
+ " 1051 | \n",
+ " 1051 | \n",
+ " 1051 | \n",
+ " 1051 | \n",
+ " 1390 | \n",
+ " 1463 | \n",
+ "
\n",
+ " \n",
+ " last_latitude_observation | \n",
+ " 42.664 | \n",
+ " 35.0 | \n",
+ " 38.253 | \n",
+ " 39.235 | \n",
+ " 33.749 | \n",
+ " 37.759 | \n",
+ " 41.85 | \n",
+ " 35.703 | \n",
+ " 46.163 | \n",
+ " 47.353 | \n",
+ " ... | \n",
+ " 32.957 | \n",
+ " 48.173 | \n",
+ " 34.022 | \n",
+ " 36.934 | \n",
+ " 33.062 | \n",
+ " 33.29 | \n",
+ " 36.845 | \n",
+ " 33.336 | \n",
+ " 32.867 | \n",
+ " 46.1 | \n",
+ "
\n",
+ " \n",
+ " last_longitude_observation | \n",
+ " -130.536 | \n",
+ " -120.992 | \n",
+ " -123.303 | \n",
+ " -123.974 | \n",
+ " -119.053 | \n",
+ " -122.833 | \n",
+ " -124.386 | \n",
+ " -121.857 | \n",
+ " -124.487 | \n",
+ " -124.742 | \n",
+ " ... | \n",
+ " -117.279 | \n",
+ " -123.607 | \n",
+ " -118.578 | \n",
+ " -122.034 | \n",
+ " -117.314 | \n",
+ " -117.5 | \n",
+ " -121.825 | \n",
+ " -117.659 | \n",
+ " -117.257 | \n",
+ " -131.00101 | \n",
+ "
\n",
+ " \n",
+ " last_date_observation | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " 2023-06-20T16:10:00Z | \n",
+ " ... | \n",
+ " 2023-06-20T15:56:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T15:56:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T15:30:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ " 2023-06-20T16:20:00Z | \n",
+ " 2023-06-20T16:00:00Z | \n",
+ "
\n",
+ " \n",
+ " coastline_distance | \n",
+ " 488.976277 | \n",
+ " 25.978597 | \n",
+ " 21.307163 | \n",
+ " 15.523567 | \n",
+ " 34.390066 | \n",
+ " 18.478829 | \n",
+ " 12.450634 | \n",
+ " 43.87913 | \n",
+ " 33.634963 | \n",
+ " 32.177639 | \n",
+ " ... | \n",
+ " 1.057446 | \n",
+ " 3.829774 | \n",
+ " 1.667339 | \n",
+ " 1.945129 | \n",
+ " 0.65706 | \n",
+ " 2.322063 | \n",
+ " 1.247731 | \n",
+ " 8.516372 | \n",
+ " 0.025399 | \n",
+ " 527.965859 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
23 rows × 61 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " 1361 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 42.57 \n",
+ "geospatial_lat_max 42.664 \n",
+ "geospatial_lon_min -130.537 \n",
+ "geospatial_lon_max -130.36 \n",
+ "time_coverage_start 1975-07-17T02:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:45:21Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP ATMS DEWT DRYT GSPD VHM0 VMDR V... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46002.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46002 \n",
+ "wmo_platform_code 46002 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 42.664 \n",
+ "last_longitude_observation -130.536 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 488.976277 \n",
+ "\n",
+ " 1467 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.868 \n",
+ "geospatial_lat_max 35.0 \n",
+ "geospatial_lon_min -121.019 \n",
+ "geospatial_lon_max -120.857 \n",
+ "time_coverage_start 1980-10-07T18:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:46:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46011.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46011 \n",
+ "wmo_platform_code 46011 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.0 \n",
+ "last_longitude_observation -120.992 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 25.978597 \n",
+ "\n",
+ " 1529 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 38.228 \n",
+ "geospatial_lat_max 38.253 \n",
+ "geospatial_lon_min -123.325 \n",
+ "geospatial_lon_max -123.301 \n",
+ "time_coverage_start 1981-04-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:13:57Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46013.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46013 \n",
+ "wmo_platform_code 46013 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 38.253 \n",
+ "last_longitude_observation -123.303 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 21.307163 \n",
+ "\n",
+ " 1590 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 39.196 \n",
+ "geospatial_lat_max 39.235 \n",
+ "geospatial_lon_min -123.974 \n",
+ "geospatial_lon_max -123.969 \n",
+ "time_coverage_start 1981-04-01T19:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T17:50:04Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46014.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46014 \n",
+ "wmo_platform_code 46014 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 39.235 \n",
+ "last_longitude_observation -123.974 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 15.523567 \n",
+ "\n",
+ " 1652 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.739 \n",
+ "geospatial_lat_max 33.763 \n",
+ "geospatial_lon_min -119.08 \n",
+ "geospatial_lon_max -119.044 \n",
+ "time_coverage_start 1982-04-20T20:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:17:19Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46025.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46025 \n",
+ "wmo_platform_code 46025 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 33.749 \n",
+ "last_longitude_observation -119.053 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 34.390066 \n",
+ "\n",
+ " 1713 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 37.75 \n",
+ "geospatial_lat_max 37.759 \n",
+ "geospatial_lon_min -122.839 \n",
+ "geospatial_lon_max -122.82 \n",
+ "time_coverage_start 1982-07-23T16:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:07:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46026.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46026 \n",
+ "wmo_platform_code 46026 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 37.759 \n",
+ "last_longitude_observation -122.833 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 18.478829 \n",
+ "\n",
+ " 1774 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 41.84 \n",
+ "geospatial_lat_max 41.852 \n",
+ "geospatial_lon_min -124.386 \n",
+ "geospatial_lon_max -124.38 \n",
+ "time_coverage_start 1983-09-01T00:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:03:07Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46027.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46027 \n",
+ "wmo_platform_code 46027 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 41.85 \n",
+ "last_longitude_observation -124.386 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 12.450634 \n",
+ "\n",
+ " 1835 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 35.703 \n",
+ "geospatial_lat_max 35.774 \n",
+ "geospatial_lon_min -121.905 \n",
+ "geospatial_lon_max -121.857 \n",
+ "time_coverage_start 1983-12-01T22:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:36:52Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46028.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46028 \n",
+ "wmo_platform_code 46028 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 35.703 \n",
+ "last_longitude_observation -121.857 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 43.87913 \n",
+ "\n",
+ " 1897 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 46.12 \n",
+ "geospatial_lat_max 46.163 \n",
+ "geospatial_lon_min -124.514 \n",
+ "geospatial_lon_max -124.485 \n",
+ "time_coverage_start 1984-03-27T23:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:37:53Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46029.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46029 \n",
+ "wmo_platform_code 46029 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 46.163 \n",
+ "last_longitude_observation -124.487 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 33.634963 \n",
+ "\n",
+ " 1958 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 47.336 \n",
+ "geospatial_lat_max 47.353 \n",
+ "geospatial_lon_min -124.75 \n",
+ "geospatial_lon_max -124.704 \n",
+ "time_coverage_start 1987-06-09T17:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T18:15:05Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46041.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46041 \n",
+ "wmo_platform_code 46041 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 47.353 \n",
+ "last_longitude_observation -124.742 \n",
+ "last_date_observation 2023-06-20T16:10:00Z \n",
+ "coastline_distance 32.177639 \n",
+ "\n",
+ " ... \\\n",
+ "# product_id ... \n",
+ "file_name ... \n",
+ "geospatial_lat_min ... \n",
+ "geospatial_lat_max ... \n",
+ "geospatial_lon_min ... \n",
+ "geospatial_lon_max ... \n",
+ "time_coverage_start ... \n",
+ "time_coverage_end ... \n",
+ "institution ... \n",
+ "date_update ... \n",
+ "data_mode ... \n",
+ "parameters ... \n",
+ "spatialOverlap ... \n",
+ "netcdf ... \n",
+ "file_type ... \n",
+ "data_type ... \n",
+ "platform_code ... \n",
+ "wmo_platform_code ... \n",
+ "institution_edmo_code ... \n",
+ "last_latitude_observation ... \n",
+ "last_longitude_observation ... \n",
+ "last_date_observation ... \n",
+ "coastline_distance ... \n",
+ "\n",
+ " 4433 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.957 \n",
+ "geospatial_lat_max 32.957 \n",
+ "geospatial_lon_min -117.279 \n",
+ "geospatial_lon_max -117.279 \n",
+ "time_coverage_start 2019-12-06T17:30:00Z \n",
+ "time_coverage_end 2023-05-31T23:56:00Z \n",
+ "institution U.S. Army Corps of Engineers \n",
+ "date_update 2023-06-10T12:24:55Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46266.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46266 \n",
+ "wmo_platform_code 46266 \n",
+ "institution_edmo_code 3671 \n",
+ "last_latitude_observation 32.957 \n",
+ "last_longitude_observation -117.279 \n",
+ "last_date_observation 2023-06-20T15:56:00Z \n",
+ "coastline_distance 1.057446 \n",
+ "\n",
+ " 4494 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 48.173 \n",
+ "geospatial_lat_max 48.173 \n",
+ "geospatial_lon_min -123.607 \n",
+ "geospatial_lon_max -123.607 \n",
+ "time_coverage_start 2020-04-01T19:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:00:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-10T12:24:24Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46267.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46267 \n",
+ "wmo_platform_code 46267 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 48.173 \n",
+ "last_longitude_observation -123.607 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 3.829774 \n",
+ "\n",
+ " 4555 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 34.022 \n",
+ "geospatial_lat_max 34.022 \n",
+ "geospatial_lon_min -118.578 \n",
+ "geospatial_lon_max -118.578 \n",
+ "time_coverage_start 2020-08-21T17:00:00Z \n",
+ "time_coverage_end 2023-05-31T22:30:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-10T12:14:26Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46268.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46268 \n",
+ "wmo_platform_code 46268 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 34.022 \n",
+ "last_longitude_observation -118.578 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 1.667339 \n",
+ "\n",
+ " 4616 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 36.934 \n",
+ "geospatial_lat_max 36.934 \n",
+ "geospatial_lon_min -122.034 \n",
+ "geospatial_lon_max -122.034 \n",
+ "time_coverage_start 2020-12-07T22:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:00:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-10T12:17:39Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46269.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46269 \n",
+ "wmo_platform_code 46269 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 36.934 \n",
+ "last_longitude_observation -122.034 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 1.945129 \n",
+ "\n",
+ " 4677 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.062 \n",
+ "geospatial_lat_max 33.062 \n",
+ "geospatial_lon_min -117.314 \n",
+ "geospatial_lon_max -117.314 \n",
+ "time_coverage_start 2022-08-30T21:26:00Z \n",
+ "time_coverage_end 2023-05-31T23:56:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2023-06-10T12:16:13Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46274.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46274 \n",
+ "wmo_platform_code 46274 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation 33.062 \n",
+ "last_longitude_observation -117.314 \n",
+ "last_date_observation 2023-06-20T15:56:00Z \n",
+ "coastline_distance 0.65706 \n",
+ "\n",
+ " 4738 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.29 \n",
+ "geospatial_lat_max 33.29 \n",
+ "geospatial_lon_min -117.5 \n",
+ "geospatial_lon_max -117.5 \n",
+ "time_coverage_start 2022-10-26T13:56:00Z \n",
+ "time_coverage_end 2023-05-31T23:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2023-06-10T12:15:37Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46275.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46275 \n",
+ "wmo_platform_code 46275 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation 33.29 \n",
+ "last_longitude_observation -117.5 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 2.322063 \n",
+ "\n",
+ " 4799 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 36.845 \n",
+ "geospatial_lat_max 36.845 \n",
+ "geospatial_lon_min -121.825 \n",
+ "geospatial_lon_max -121.825 \n",
+ "time_coverage_start 2023-04-20T20:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2023-06-10T12:15:45Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VMDR VTM02 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46276.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46276 \n",
+ "wmo_platform_code 46276 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation 36.845 \n",
+ "last_longitude_observation -121.825 \n",
+ "last_date_observation 2023-06-20T15:30:00Z \n",
+ "coastline_distance 1.247731 \n",
+ "\n",
+ " 4842 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 33.336 \n",
+ "geospatial_lat_max 33.336 \n",
+ "geospatial_lon_min -117.659 \n",
+ "geospatial_lon_max -117.659 \n",
+ "time_coverage_start 2023-05-31T03:30:00Z \n",
+ "time_coverage_end 2023-05-31T23:00:00Z \n",
+ "institution Unknown institution \n",
+ "date_update 2023-06-03T17:43:45Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP DRYT VHM0 VTPK \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46277.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46277 \n",
+ "wmo_platform_code 46277 \n",
+ "institution_edmo_code 1051 \n",
+ "last_latitude_observation 33.336 \n",
+ "last_longitude_observation -117.659 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 8.516372 \n",
+ "\n",
+ " 5181 \\\n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 32.867 \n",
+ "geospatial_lat_max 32.87 \n",
+ "geospatial_lon_min 117.26 \n",
+ "geospatial_lon_max -117.257 \n",
+ "time_coverage_start 2005-01-01T00:30:00Z \n",
+ "time_coverage_end 2023-05-31T22:20:00Z \n",
+ "institution Scripps Institution of Oceanography La Jolla (... \n",
+ "date_update 2023-06-10T12:25:49Z \n",
+ "data_mode R \n",
+ "parameters DEPH DRYT GSPD VHM0 VTPK WDIR WSPD \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_ljpc1.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code ljpc1 \n",
+ "wmo_platform_code ljpc1 \n",
+ "institution_edmo_code 1390 \n",
+ "last_latitude_observation 32.867 \n",
+ "last_longitude_observation -117.257 \n",
+ "last_date_observation 2023-06-20T16:20:00Z \n",
+ "coastline_distance 0.025399 \n",
+ "\n",
+ " 9530 \n",
+ "# product_id COP-GLOBAL-01 \n",
+ "file_name ftp://nrt.cmems-du.eu/Core/INSITU_GLO_PHYBGCWA... \n",
+ "geospatial_lat_min 45.958 \n",
+ "geospatial_lat_max 46.14 \n",
+ "geospatial_lon_min -131.07899 \n",
+ "geospatial_lon_max -131.0 \n",
+ "time_coverage_start 1976-09-11T19:00:00Z \n",
+ "time_coverage_end 2023-05-31T23:50:00Z \n",
+ "institution National Data Buoy Center (NDBC) ; National Oc... \n",
+ "date_update 2023-06-03T16:37:47Z \n",
+ "data_mode R \n",
+ "parameters DEPH TEMP ATMP DEWT DRYT GSPD VHM0 VMDR VTM02 ... \n",
+ "spatialOverlap True \n",
+ "netcdf GL_TS_MO_46005.nc \n",
+ "file_type TS \n",
+ "data_type MO \n",
+ "platform_code 46005 \n",
+ "wmo_platform_code 46005 \n",
+ "institution_edmo_code 1463 \n",
+ "last_latitude_observation 46.1 \n",
+ "last_longitude_observation -131.00101 \n",
+ "last_date_observation 2023-06-20T16:00:00Z \n",
+ "coastline_distance 527.965859 \n",
+ "\n",
+ "[23 rows x 61 columns]"
+ ]
+ },
+ "execution_count": 49,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "subset3=subset2[condition_last_obs]\n",
+ "subset3.transpose()"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 50,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "Make this Notebook Trusted to load map: File -> Trust Notebook
"
+ ],
+ "text/plain": [
+ ""
+ ]
+ },
+ "execution_count": 50,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "# Plot the selected stations based on the subset selected above\n",
+ "for ind in subset3.index:\n",
+ " legend='First measurement: '+subset3['time_coverage_start'][ind]+' Last measurement: '+subset3['last_date_observation'][ind]+' Platform code:'+subset3['platform_code'][ind]+' Parameters:'+subset3['parameters'][ind]\n",
+ " folium.Marker(location=[subset3['last_latitude_observation'][ind],subset3['last_longitude_observation'][ind]],\n",
+ " popup=legend,\n",
+ " icon=folium.Icon(color='green')).add_to(m)\n",
+ "# Show map\n",
+ "m\n",
+ "# Save map\n",
+ "#m.save('CMEMS_world_waves_Hm0_Tm02.html')"
+ ]
+ },
+ {
+ "attachments": {},
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Data download"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "# Save subset to csv file\n",
+ "# subset.to_csv('subsetOffiles.csv')"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 51,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/plain": [
+ "'u:\\\\PSAN\\\\data'"
+ ]
+ },
+ "execution_count": 51,
+ "metadata": {},
+ "output_type": "execute_result"
+ }
+ ],
+ "source": [
+ "output_directory = os.getcwd()+'\\\\'+'data' #default to subfolder \"data\" on current working directory\n",
+ "output_directory"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 52,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "treshold = 8 #Please set a file number maxima to download -- to be removed"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 55,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ ".....Downloading GL_TS_MO_46002.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46011.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46013.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46014.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46025.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46026.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46027.nc\n",
+ "Done!\n",
+ ".....Downloading GL_TS_MO_46028.nc\n",
+ "Done!\n"
+ ]
+ }
+ ],
+ "source": [
+ "with ftputil.FTPHost(dataset['host'], user, password) as ftp_host: # connect to CMEMS FTP\n",
+ " for i in range(0, len(subset2)):\n",
+ " if i