Plot ARM AAF Flight Path#

Plot the ARM AAF flight path using the GeographicPlotDisplay

Author: Joe O’Brien

act_datastream at 2018-11-04 13:04:36
from arm_test_data import DATASETS
import matplotlib.pyplot as plt

import act
from act.io.icartt import read_icartt

# Call the read_icartt function, which supports input
# for ICARTT (v2.0) formatted files.
# Example file is ARM Aerial Facility Navigation Data
filename_icartt = DATASETS.fetch('AAFNAV_COR_20181104_R0.ict')
ds = read_icartt(filename_icartt)

# Use GeographicPlotDisplay for referencing.
# NOTE: Cartopy is needed!
display = act.plotting.GeographicPlotDisplay(ds, figsize=(12, 10))

# Plot the ARM AAF flight track with respect to Pressure Altitude
display.geoplot('press_alt', lat_field='lat', lon_field='lon')

# Display the plot
plt.show()

Total running time of the script: (0 minutes 0.672 seconds)

Gallery generated by Sphinx-Gallery