plot_flight_legs: Plot flight legs

View source: R/func_plot_flight_legs.R

plot_flight_legsR Documentation

Plot flight legs

Description

creates plots of the flight and its sections cloured by supplied parameters. date must be supllied as POSIXct, in column "date"

Usage

plot_flight_legs(
  flight_data,
  flight_sum_path,
  plot_range = T,
  maptype = "toner",
  output_file_path = "plots/",
  colour_by = c("nox_conc", "o3_teco", "alt_gin"),
  flight_map,
  missing_flag = -9999,
  zoom = 8,
  logplot = c(T, F, F),
  range_control = T,
  cols = viridisLite::plasma(10)
)

Arguments

flight_data

faam merge file

flight_sum_path

file path of flight summary

plot_range

T/F plot subsections of flight

maptype

string for getmap, toner

output_file_path

location to save plots

colour_by

vector of cloums to colour by, defualt "nox_conc","o3_teco","alt_gin"

flight_map

supply a gg_map file to override the automatic map generation

missing_flag

data flag to convert to NA

zoom

adjust map zoom level

logplot

vector of equal length to colour_by in order should these be on log scales deafault (T,F,F)

range_control

default false, enable for colour bars to change between flight segments

cols

colour bar info default viridisLite::plasma(10)

Author(s)

W S Drysdale


willdrysdale/wsdmiscr documentation built on Aug. 26, 2023, 12:31 a.m.