Flight plan - ATR-20240831a

Contents

Flight plan - ATR-20240831a#

ec_under c_atr

Flight plan#

  • The flight is planned to take off at 2024-08-31 13:30:00+00:00 UTC and land at 2024-08-31 17:00:00+00:00 UTC.

  • Flight track designed for coordination with EarthCare, HALO, and KingAir

Hide code cell source
from orcestra.flightplan import sal, bco, LatLon, IntoCircle, path_preview, plot_cwv
from datetime import datetime
import intake

cat = intake.open_catalog("https://tcodata.mpimet.mpg.de/internal.yaml")

date_time = datetime(2024, 8, 30, 12, 0, 0)
date_time_str = date_time.strftime('%Y-%m-%d')
flight_time = datetime(2024, 8, 31, 12, 0, 0)

radius = 70e3 # units: km
circle_atr = LatLon(lat=14.649, lon=-22.350, label="circle_atr")
halo_circle = IntoCircle(circle_atr, radius, 360)

airport = sal
wp1 = LatLon(lat=16.568, lon=-22.667, label='wp1')
wp2 = LatLon(lat=15.412, lon=-22.139, label='wp2')
wp3 = LatLon(lat=14.281, lon=-22.360, label='wp3')
ec_meet = LatLon(lat=14.848, lon=-22.249, label='ec_meet')


path = [airport, wp1, wp2, ec_meet, wp3, wp2, wp1, airport]

ds = cat.HIFS(refdate=date_time_str, reftime=date_time.hour).to_dask()
cwv_flight_time = ds["tcwv"].sel(time=flight_time, method = "nearest")

ax = path_preview(path)
path_preview([circle_atr.course(0, radius), halo_circle], ax=ax)  # HACK: Add HALO circle
ax.scatter(circle_atr.lon, circle_atr.lat, color="tab:orange")
ax.text(circle_atr.lon+0.05, circle_atr.lat, color="tab:orange", s='HALO_Circle', bbox=dict(facecolor='white',edgecolor='white', boxstyle='round,pad=0.1'))

ax.set_extent([-24, -20, 13.5, 17])

plot_cwv(cwv_flight_time)
../_images/badbac08c9bd21a5e2ef8155cfc645b3a6deaa5dba4a67b4aa432d23c097c246.png
Hide code cell source
import pandas as pd
from dataclasses import asdict

pd.DataFrame.from_records(map(asdict, path+[circle_atr])).set_index("label")
lat lon fl time note
label
SAL 16.734488 -22.943974 0.0 None None
wp1 16.568000 -22.667000 NaN None None
wp2 15.412000 -22.139000 NaN None None
ec_meet 14.848000 -22.249000 NaN None None
wp3 14.281000 -22.360000 NaN None None
wp2 15.412000 -22.139000 NaN None None
wp1 16.568000 -22.667000 NaN None None
SAL 16.734488 -22.943974 0.0 None None
circle_atr 14.649000 -22.350000 NaN None None

Crew#

Job

Name

Pilot

None

Pilot

None

Mechanics

None

Expé Principal

None

Expé

None

PI

Louis Jaffeux

LNG

None

aWALI

None

Microphys 1

None

Microphys 2

None

RASTA

None

BASTA

None