parseFile.OSCURS: Parse an OSCURS output trajectory file to a dataframe

View source: R/parseFile.OSCURS.R

parseFile.OSCURSR Documentation

Parse an OSCURS output trajectory file to a dataframe

Description

Function to parse an OSCURS output trajectory file to a dataframe.

Usage

parseFile.OSCURS(fn, verbose = FALSE)

Arguments

fn
  • name of file to parse

verbose
  • flag to print diagnostic info

Details

Parses output text file from OSCURS run. The returned object is a list with elements "dfr" and "track". 'dfr' is a dataframe with each row representing a time and position along the track. "track is a spatial tibble using an sf line geometry class to represent the track.

Requires packages stringr, tibble and tmap_tools.

Value

a list with elements "dfr" and "track". The latter is a spatial tibble using a sf line class to represent the track.


wStockhausen/rOSCURS documentation built on April 29, 2023, 5:51 a.m.