HALO position and attitude

Contents

HALO position and attitude#

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

from dotenv import load_dotenv

load_dotenv()

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

credentials = dict(user=ac3cloud_username, password=ac3cloud_password)

# local caching
kwds = {'simplecache': dict(
    cache_storage=os.environ['INTAKE_CACHE'], 
    same_names=True
)}
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 3
      1 import os
----> 3 from dotenv import load_dotenv
      5 load_dotenv()
      7 ac3cloud_username = os.environ['AC3_USER']

ModuleNotFoundError: No module named 'dotenv'
import ac3airborne

Show available data sets

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

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()