thisRegionWeather: Flight region sigmet overlap ID

Description Usage Arguments Value

View source: R/AddCovars.R

Description

Loop through the routes and find the midpoint between the two airports, and transform the flight data to the UTM zone of the midpoint. Draw a 1000km buffer around midpoint. Then loop through each flight to see if there was a sigmet overlapping the buffer at the same time as the flight.

Usage

1
thisRegionWeather(flightgeo, sigmetgeo)

Arguments

flightgeo

A sf dataframe containing flight data and geodata

sigmetgeo

A df with rows as sigmets, and columns as time, location, etc

Value

A numeric vector to show ids of sigmets within ~1000km of a flight.


DatascribeConsulting/MonaRk documentation built on May 4, 2021, 5:28 a.m.