BACARDI#

The following example demonstrates the use of the data from BACARDI onboard HALO during HALO-AC3.

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.

Data access#

Some of the data, like the preliminary data of the HALO-(AC)3 campaign, is stored on the (AC)3 nextcloud server. This requires username and password as credentials (registration) that need to be loaded from environment variables.

import os
ac3cloud_username = os.environ['AC3_USER']
ac3cloud_password = os.environ['AC3_PASSWORD']

To analyse the data they first have to be loaded by importing the (AC)3 airborne module and load the meta data catalog. 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.

import ac3airborne

Show available data sets

cat = ac3airborne.get_intake_catalog()
list(cat['HALO-AC3']['HALO'])
['BAHAMAS',
 'BACARDI',
 'DROPSONDES',
 'DROPSONDES_GRIDDED',
 'GPS_INS',
 'HAMP_KV',
 'HAMP_11990',
 'HAMP_183',
 'HAMP_MIRA',
 'KT19',
 'SMART',
 'AMSR2_SIC']

Get the flight segments. We need to load an older version that includes the HALO-AC3 flights. The version labeled latest only holds flights from campaigns pre HALO-AC3.

meta = ac3airborne.get_flight_segments()
flight = 'HALO-AC3_HALO_RF03'

Load GPS and INS recorded by the SMART instrument and get takeoff and landing times.

gps_ins = cat['HALO-AC3']['HALO']['GPS_INS'][flight](user=ac3cloud_username,password=ac3cloud_password).to_dask()

takeoff = meta['HALO-AC3']['HALO'][flight]['takeoff']
landing = meta['HALO-AC3']['HALO'][flight]['landing']