Flight plan - HALO-20240813a

Contents

Flight plan - HALO-20240813a#

ec_under ec_track c_north c_mid c_south ec_south curtain

Crew#

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

Job

Name

PI

Silke Gross

WALES

Tanja Bodenbacher

HAMP

Florian Ewald

Dropsondes

Björn Stevens

Smart/VELOX

tbd

SpecMACS

Lea Volkmer

Scientist

tbd

Ground contact

Martin Singh

Flight plan#

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, 11, 12, 0, 0)
date_time_str = date_time.strftime('%Y-%m-%d')

flight_time = datetime(2024, 8, 13, 12, 0, 0)

radius = 130e3
radius_atr = 70e3

airport = sal
north_ec = LatLon(lat=17.475000, lon=-22.222900, label='north_ec')
north_tp = LatLon(lat=21.350000, lon=-21.440600, label='north_tp')
south_ec = LatLon(lat=5.000000, lon=-24.702000, label='south_ec')
south_tp = LatLon(lat=5.000000, lon=-23.502000, label='south_tp')
circle_north = LatLon(lat=16.000000, lon=-21.278500, label='circle_north')
circle_center = LatLon(lat=11.751952, lon=-22.160695, label='circle_center')
circle_south = LatLon(lat=7.500000, lon=-23.016200, label='circle_south')

circle_atr = LatLon(lat=15.5, lon=-22.1, label='circle_atr')

leg_south = [
     airport,
     north_ec,
     north_tp,
     north_ec,
     south_ec,
     south_tp
]

leg_circles = [
     IntoCircle(circle_south, radius, 360),
     IntoCircle(circle_center, radius, 360),
     IntoCircle(circle_north, radius, 360, enter = 90),
     IntoCircle(circle_atr, radius_atr, 360)
]
    
leg_home = [
     airport
]

path = leg_south + leg_circles + leg_home 

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)
plot_cwv(cwv_flight_time)
../_images/875b97958461d7452fab7806d238b593772d3b3d285b0cb6c601be61d4730325.png
Hide code cell source
import pandas as pd
from dataclasses import asdict

pd.DataFrame.from_records(map(asdict, [north_ec, north_ec, north_tp, south_ec, south_tp, circle_south, circle_center, circle_north, circle_atr])).set_index("label")
lat lon fl time note
label
north_ec 17.475000 -22.222900 None None None
north_ec 17.475000 -22.222900 None None None
north_tp 21.350000 -21.440600 None None None
south_ec 5.000000 -24.702000 None None None
south_tp 5.000000 -23.502000 None None None
circle_south 7.500000 -23.016200 None None None
circle_center 11.751952 -22.160695 None None None
circle_north 16.000000 -21.278500 None None None
circle_atr 15.500000 -22.100000 None None None
Hide code cell source
from orcestra.flightplan import export_flightplan

export_flightplan("HALO-20240813a", path)