{ "cells": [ { "cell_type": "markdown", "id": "ea96546e", "metadata": {}, "source": [ "# ALABAMA\n", "In-situ measurements of the particle size and chemical composition of single particles using the single particle aerosol mass spectrometer ALABAMA instruments.\n", "\n", "Each textfile contains the data obtained during a single flight. The file contains the time, location and identified particle types, particle size (if available), flags indicating the used inlet system and a flag for cloud residual measurement mode for each analyzed particle.\n", "\n", "The following example demonstrates the use of the ALABAMA data collected during the ACLOUD campaign.\n", "\n", "If you have questions or if you would like to use the data for a publication, please don't hesitate to get in contact with the dataset authors as stated in the dataset attributes `contact` or `author`.\n", "\n", "\n", "## Data access\n", "* To analyse the data they first have to be loaded by importing the (AC)³airborne meta data catalogue. To do so the ac3airborne package has to be installed. More information on how to do that and about the catalog can be found [here](https://github.com/igmk/ac3airborne-intake#ac3airborne-intake-catalogue)." ] }, { "cell_type": "markdown", "id": "45b1acdd-5c13-4e03-aad9-fa7ff246e0a0", "metadata": {}, "source": [ "## Get data" ] }, { "cell_type": "code", "execution_count": 1, "id": "6e7a56f0", "metadata": {}, "outputs": [], "source": [ "import ac3airborne" ] }, { "cell_type": "markdown", "id": "1fdc0542", "metadata": {}, "source": [ "List of flights, where ALABAMA data is available:" ] }, { "cell_type": "code", "execution_count": 2, "id": "b02cceee", "metadata": { "scrolled": true }, "outputs": [ { "data": { "text/plain": [ "['ACLOUD_P6_RF07',\n", " 'ACLOUD_P6_RF08',\n", " 'ACLOUD_P6_RF09',\n", " 'ACLOUD_P6_RF10',\n", " 'ACLOUD_P6_RF11',\n", " 'ACLOUD_P6_RF12',\n", " 'ACLOUD_P6_RF13',\n", " 'ACLOUD_P6_RF14',\n", " 'ACLOUD_P6_RF15',\n", " 'ACLOUD_P6_RF16',\n", " 'ACLOUD_P6_RF17',\n", " 'ACLOUD_P6_RF18',\n", " 'ACLOUD_P6_RF19',\n", " 'ACLOUD_P6_RF20',\n", " 'ACLOUD_P6_RF21',\n", " 'ACLOUD_P6_RF22',\n", " 'ACLOUD_P6_RF23',\n", " 'ACLOUD_P6_RF24',\n", " 'ACLOUD_P6_RF25']" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "cat = ac3airborne.get_intake_catalog()\n", "\n", "datasets = []\n", "for campaign in ['ACLOUD']:\n", " datasets.extend(list(cat[campaign]['P6']['ALABAMA']))\n", "datasets" ] }, { "cell_type": "markdown", "id": "5523c259", "metadata": {}, "source": [ "## Dataset\n", "To get an overview of the variables recorded by ALABAMA, we load the dataset of the first ACLOUD flight `ACLOUD_P6_RF07`." ] }, { "cell_type": "code", "execution_count": 3, "id": "d608a695", "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/usr/lib/python3/dist-packages/dask/dataframe/utils.py:14: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.\n", " import pandas.util.testing as tm\n" ] }, { "data": { "text/html": [ "
\n", "\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", " \n", "
ID (aircraft, flight number)Date/Time (non-aequidistant time steps, ...)Altitude [m]LatitudeLongitudeParticles [#] (Total number of analysed part...)Particles [#] (Number of sulfate containing ...)Particles [#] (Number of sodium chloride con...)Particles [#] (Number of ammonium containing...)Particles [#] (Number of potassium containin...)...Particles [#] (Number of nitrate containing ...)Particles [#] (Number of elemental carbon co...)Particles [#] (Number of particles with nitr...)Particles [#] (Number of trimethylamine cont...)Particles [#] (Number of triethylamine conta...)Particles [#] (Number of dust containing par...)Particle size [nm] (Particle size measured with A...)Method comm (Aerosol inlet value; 1 = conn...)Method comm (CVI inlet value; 1 = connecte...)Method comm (Residual value; 1 = measureme...)
0P6_072017-05-27T13:19:471719.078.280111.94511.00.00.00.00.0...0.01.00.00.00.00.0459.01.00.00.0
1P6_072017-05-27T13:19:471719.078.280111.94511.01.00.01.00.0...0.00.00.00.00.00.0379.01.00.00.0
2P6_072017-05-27T13:19:471719.078.280111.94511.00.00.00.00.0...0.01.00.00.00.00.0393.01.00.00.0
3P6_072017-05-27T13:19:471719.078.280111.94511.00.00.00.00.0...0.01.00.00.00.00.0351.01.00.00.0
4P6_072017-05-27T13:19:481719.078.280111.94141.00.00.00.00.0...0.00.00.00.00.00.0390.01.00.00.0
..................................................................
12116P6_072017-05-27T16:26:4932.078.248315.42721.00.00.01.00.0...0.01.00.00.00.00.0418.00.00.00.0
12117P6_072017-05-27T16:26:5229.078.247815.43531.01.00.00.00.0...0.01.00.00.00.00.0637.00.00.00.0
12118P6_072017-05-27T16:26:5529.078.247615.43921.01.00.01.00.0...0.00.00.00.01.00.0475.00.00.00.0
12119P6_072017-05-27T16:26:5630.078.247415.44301.01.00.01.01.0...0.01.00.01.00.00.0644.00.00.00.0
12120P6_072017-05-27T16:26:5731.078.245815.47161.01.00.00.01.0...0.00.00.00.00.00.0599.00.00.00.0
\n", "

12121 rows × 21 columns

\n", "
" ], "text/plain": [ " ID (aircraft, flight number) \\\n", "0 P6_07 \n", "1 P6_07 \n", "2 P6_07 \n", "3 P6_07 \n", "4 P6_07 \n", "... ... \n", "12116 P6_07 \n", "12117 P6_07 \n", "12118 P6_07 \n", "12119 P6_07 \n", "12120 P6_07 \n", "\n", " Date/Time (non-aequidistant time steps, ...) Altitude [m] Latitude \\\n", "0 2017-05-27T13:19:47 1719.0 78.2801 \n", "1 2017-05-27T13:19:47 1719.0 78.2801 \n", "2 2017-05-27T13:19:47 1719.0 78.2801 \n", "3 2017-05-27T13:19:47 1719.0 78.2801 \n", "4 2017-05-27T13:19:48 1719.0 78.2801 \n", "... ... ... ... \n", "12116 2017-05-27T16:26:49 32.0 78.2483 \n", "12117 2017-05-27T16:26:52 29.0 78.2478 \n", "12118 2017-05-27T16:26:55 29.0 78.2476 \n", "12119 2017-05-27T16:26:56 30.0 78.2474 \n", "12120 2017-05-27T16:26:57 31.0 78.2458 \n", "\n", " Longitude Particles [#] (Total number of analysed part...) \\\n", "0 11.9451 1.0 \n", "1 11.9451 1.0 \n", "2 11.9451 1.0 \n", "3 11.9451 1.0 \n", "4 11.9414 1.0 \n", "... ... ... \n", "12116 15.4272 1.0 \n", "12117 15.4353 1.0 \n", "12118 15.4392 1.0 \n", "12119 15.4430 1.0 \n", "12120 15.4716 1.0 \n", "\n", " Particles [#] (Number of sulfate containing ...) \\\n", "0 0.0 \n", "1 1.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 1.0 \n", "12118 1.0 \n", "12119 1.0 \n", "12120 1.0 \n", "\n", " Particles [#] (Number of sodium chloride con...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of ammonium containing...) \\\n", "0 0.0 \n", "1 1.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 1.0 \n", "12117 0.0 \n", "12118 1.0 \n", "12119 1.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of potassium containin...) ... \\\n", "0 0.0 ... \n", "1 0.0 ... \n", "2 0.0 ... \n", "3 0.0 ... \n", "4 0.0 ... \n", "... ... ... \n", "12116 0.0 ... \n", "12117 0.0 ... \n", "12118 0.0 ... \n", "12119 1.0 ... \n", "12120 1.0 ... \n", "\n", " Particles [#] (Number of nitrate containing ...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of elemental carbon co...) \\\n", "0 1.0 \n", "1 0.0 \n", "2 1.0 \n", "3 1.0 \n", "4 0.0 \n", "... ... \n", "12116 1.0 \n", "12117 1.0 \n", "12118 0.0 \n", "12119 1.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of particles with nitr...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of trimethylamine cont...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 1.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of triethylamine conta...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 1.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Particles [#] (Number of dust containing par...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Particle size [nm] (Particle size measured with A...) \\\n", "0 459.0 \n", "1 379.0 \n", "2 393.0 \n", "3 351.0 \n", "4 390.0 \n", "... ... \n", "12116 418.0 \n", "12117 637.0 \n", "12118 475.0 \n", "12119 644.0 \n", "12120 599.0 \n", "\n", " Method comm (Aerosol inlet value; 1 = conn...) \\\n", "0 1.0 \n", "1 1.0 \n", "2 1.0 \n", "3 1.0 \n", "4 1.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Method comm (CVI inlet value; 1 = connecte...) \\\n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", " Method comm (Residual value; 1 = measureme...) \n", "0 0.0 \n", "1 0.0 \n", "2 0.0 \n", "3 0.0 \n", "4 0.0 \n", "... ... \n", "12116 0.0 \n", "12117 0.0 \n", "12118 0.0 \n", "12119 0.0 \n", "12120 0.0 \n", "\n", "[12121 rows x 21 columns]" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "ds_alabama = cat['ACLOUD']['P6']['ALABAMA']['ACLOUD_P6_RF07'].read()\n", "ds_alabama" ] }, { "cell_type": "markdown", "id": "720bc9d7", "metadata": {}, "source": [ "### View variables\n" ] }, { "cell_type": "markdown", "id": "9dc7b2b3", "metadata": {}, "source": [] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10" } }, "nbformat": 4, "nbformat_minor": 5 }