SEB_GPS_point: A function to append GPS data to TrigCam SEBASTES deployment...

View source: R/functions.R

SEB_GPS_pointR Documentation

A function to append GPS data to TrigCam SEBASTES deployment data

Description

This function merges a GPS position to frame data from SEBASTES output for point data. The GPS data is a single pair of Latitude and Longitude for each deployment (e.g. TrigCam deployments). A third column identifies the Deployment_ID. Accessory data, such as depth inlcuded in the data frame can also be appended to the output.

Usage

SEB_GPS_point(
  frame_data,
  Deployment_ID,
  Longitude,
  Latitude,
  Accessory_data = NULL
)

Arguments

frame_data

a standard output from the SEB_data_concatenate function used on images analyzed using the SEBASTES software.

Deployment_ID

a column of deployment IDs corresponding to the unique IDs in the frame data

Longitude

a column of longitudes for each deployment ID

Latitude

a column of latitudes for each deployment ID

Accessory_data

columns of accessory data to be attached to the frame data

Examples

SEB_data_replace(frame_data, GPS_data$Deployment_ID, GPS_data$Longitude, GPS_data$Latitude, GPS_data[,4:10])

rooperc4/StereoCamDataUtils documentation built on Nov. 20, 2024, 9:58 p.m.