load_dap_output: load dap output

View source: R/load_dap_output.R

load_dap_outputR Documentation

load dap output

Description

load a directory of output csv's created by Argos\ Message\ Decoder.exe into a sane tagstack.

Usage

load_dap_output(data_dir, stream_delim = "-")

Arguments

data_dir

the directory path to your data

stream_delim

a character which defaults to "-". This is what Argos\ Message\ Decoder.exe puts between the tag identifier and the stream name in the csv filenames.

Details

This functions expects there to be multiple tags concatenated into the same csv files and so returns a tagstack. This isn't a problem if there is only one tag, but it will since return a tagstack of length of 1. You can always un-nest it later. Basically this function just calls load_tag and then deals with the fallout to get things into a nice tagstack. This function also expects Ptts to be unique, which should be the case for a batch of tags running at the same time, but isn't neccessarily true for all time. Nevertheless, the user can't neccessarily be relied upon to always have DeployID set so perhaps this is the most reasonable first pass?

Value

an S4 object of class tagstack

Examples

## Not run: 
tag <- load_dap_output("path/to/dap/csvs/")

## End(Not run)

williamcioffi/sattagutils documentation built on June 3, 2022, 10:21 a.m.