Flight plan - KA-20240822a

Contents

Flight plan - KA-20240822a#

ec_under ec_track spiral insitu_aerosol

Crew#

The flight is planned to take off at 2024-08-22 14:40:00+00:00.

Job

Name

PI

Tim Carlsen

Instrument operator

Sorin Ghemulet

Instrument operator

Alex Vlad

Flight plan#

Holding pattern at WP1 until 15:20 UTC at FL200.

At 15:20 UTC: Spiral descent with WP1 at center town to FL010 with 1000 ft/min (right turn).

At 15:41 UTC: Overpass of ATR at FL180/FL200. Overpass of HALO close by at FL430/350. Start spiral ascent with WP1 at center from FL010 up to FL200 with 1000 ft/min (right turn).

Return home to RAI.

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

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

# Define dates for forecast initialization and flight

issued_time = datetime(2024, 8, 22, 0, 0, 0)
issued_time_str = issued_time.strftime('%Y-%m-%d')

flight_time = datetime(2024, 8, 22, 12, 0, 0)
flight_time_str = flight_time.strftime('%Y-%m-%d')
flight_index = f"KA-{flight_time.strftime('%Y%m%d')}a"

print("Initalization date of IFS forecast: " + issued_time_str + "\nFlight date: " + flight_time_str + "\nFlight index: " + flight_index)

airport = LatLon(lat=14.945, lon=-23.4863889, label='RAI')
earthcare = LatLon(lat=14.33555556, lon=-23.07972222, label='earthcare')
spiral = LatLon(lat=14.33555556, lon=-23.07972222, label='spirals')


leg_out = [
     airport,
     earthcare
]

leg_calval = [
      earthcare,
      spiral
]

leg_home = [
     spiral,
     earthcare,
     airport
]

path = leg_out + leg_calval + leg_home 

cat = intake.open_catalog("https://tcodata.mpimet.mpg.de/internal.yaml")
ds = cat.HIFS(datetime=issued_time).to_dask().pipe(egh.attach_coords)
cwv_flight_time = ds["tcwv"].sel(time=flight_time, method = "nearest")

ax = path_preview(path)

ax.scatter(-23.07972222, 14.33555556, c='red', marker='o', s=200, ec = 'r', alpha = 0.3)

plot_cwv(cwv_flight_time)
Initalization date of IFS forecast: 2024-08-22
Flight date: 2024-08-22
Flight index: KA-20240822a
../_images/25e3f6e1ddf57e930830dc3c941ccb77fd3fa12542de7b1400e38eb7cb1ecd6f.png
Hide code cell source
import pandas as pd
from dataclasses import asdict

pd.DataFrame.from_records(map(asdict, [airport, earthcare, airport])).set_index("label")
lat lon fl time note
label
RAI 14.945000 -23.486389 None None None
earthcare 14.335556 -23.079722 None None None
RAI 14.945000 -23.486389 None None None