{ "cells": [ { "cell_type": "markdown", "id": "fd7ece83-693c-4b17-9ae5-d8123cbd3be6", "metadata": {}, "source": [ "# Polarstern overflights\n", "During the ACLOUD/PASCAL campaign, overflights of the Polar aircraft across research vessel Polarstern have been conducted. The following example shows, how to work with Polarstern overflights easily.\n", "\n", "```{image} ../img/polarstern_acloud_pascal.jpg\n", ":alt: Polarstern\n", ":class: bg-primary mb-1\n", ":width: 400px\n", ":align: center\n", "```" ] }, { "cell_type": "code", "execution_count": 1, "id": "8516de76-7739-4c03-9b04-ec5fdbca115d", "metadata": {}, "outputs": [], "source": [ "import cartopy.crs as ccrs\n", "import matplotlib.pyplot as plt\n", "import xarray as xr\n", "import pandas as pd\n", "import numpy as np\n", "import matplotlib.colors as mcolors\n", "import ipyleaflet\n", "from ipywidgets import interact, widgets, Layout\n", "from simplification.cutil import simplify_coords_idx\n", "import ac3airborne\n", "plt.style.use(\"../mplstyle/book\")" ] }, { "cell_type": "markdown", "id": "c6adadad-755b-4ec7-afb6-3d4cfc85dc5a", "metadata": {}, "source": [ "At first we load the flight-phase separation and the intake catalog." ] }, { "cell_type": "code", "execution_count": 2, "id": "976c3f8c-bfe8-4cfe-9426-b9c7bc66f9ae", "metadata": {}, "outputs": [], "source": [ "meta = ac3airborne.get_flight_segments()\n", "cat = ac3airborne.get_intake_catalog()" ] }, { "cell_type": "markdown", "id": "ddd131ac-47ba-47a9-b86a-0072bc94bb0d", "metadata": {}, "source": [ "## Track of Polarstern during PASCAL\n", "### Read data\n", "The track of Polarstern is available on the PANGAEA data base with a resolution of 1 second. More information about the dataset can be found in \n", "[Macke et al. (2017)](https://doi.org/10.1594/PANGAEA.881579).\n", "We import the dataset using the ac3airborne intake-catalog. " ] }, { "cell_type": "code", "execution_count": 3, "id": "83ab868a-0eb2-4bc5-be6b-3e7a67367903", "metadata": {}, "outputs": [ { "data": { "text/html": [ "
<xarray.Dataset>\n", "Dimensions: (time: 2412000)\n", "Coordinates:\n", " * time (time) datetime64[ns] 2017-05-24T10:00:01 ... 2017-06-21T08:00:00\n", "Data variables:\n", " lat (time) float64 53.57 53.57 53.57 53.57 ... 78.23 78.23 78.23 78.23\n", " lon (time) float64 8.555 8.555 8.555 8.555 ... 15.65 15.65 15.65 15.65