Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bring in glatos's data import functions #25

Open
hugomflavio opened this issue Oct 3, 2024 · 0 comments
Open

bring in glatos's data import functions #25

hugomflavio opened this issue Oct 3, 2024 · 0 comments

Comments

@hugomflavio
Copy link

Brought up by Simon Dedman:

converting VRL files to CSV:

    # https://stackoverflow.com/questions/67745382/vemco-acoustic-telemetry-data-vrl-files-in-r
    # remotes::install_github("ocean-tracking-network/glatos")
    library(glatos)
    csvfiles <- glatos::vrl2csv(vrl = file.path(loadloc, "VRL/"),
                                outDir = file.path(loadloc, "VRL/"),
                                vueExePath = "C:/Program Files (x86)/VEMCO VUE")
    detections <- do.call(rbind, lapply(csvfiles, read.csv))

Probably doesn't make sense to weave this into actel since we'll be transferring the data importing duties to Surimi. We should transfer the glatos data import functions too.

glatos's vrl2csv could be called by actel's compileDetections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant