read.payload: Read UMDBPP payload data from file

Description Usage Arguments Value Examples

Description

This function will read and parse data University of Maryland Balloon Payload Program (UMDBPP) data logs. It standardizes units and calculates ascent rate, ground speed, and downrange distance per entry.

Usage

1
2
read.payload(file, data_source, flight_number = NULL, flight_date = NULL,
  start_time = NULL, end_time = NULL, timezone = Sys.timezone())

Arguments

file

Path to log file.

data_source

Source from which data originated, from the list c("LINK-TLM", "CellTracker", "APRS", "IRENE").

flight_number

Flight designation.

flight_date

Date of flight in "YYYY-MM-DD" format. Defaults to NULL.

start_time

Time in 24 hour "HH:MM:SS" format. If a time is given, dataset will be cut to after start time.

end_time

Time in 24 hour "HH:MM:SS" format. If a time is given, dataset will be cut to before end time.

timezone

Timezone of launch. Run OlsonNames for a list of accepted timezones.

Value

Returns data frame of parsed payload data, standardized to POSIXct timestamps and SI units.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
NS57.Coord <- read.payload("NS57_parsedPackets.txt",
        data_source = "LINK-TLM",
        flight_number = "NS57",
        start_time = "07:50:31",
        end_time = "09:27:34"
)

NS57.Rad <- read.payload("NS57LaunchData.txt",
        data_source = "IRENE",
        flight_number = "NS57",
        start_time = "07:50:31",
        end_time = "09:27:34"
)

## End(Not run)

UMDBPP/BalloonDataAnalysis documentation built on May 9, 2019, 5:20 p.m.