position.hac: Read geographic position data from an HAC file
Description
This function imports time and geographic positions recorded by a GPS in an HAC file during data acquisition.
Usage
position.hac(hac)
Value
A data frame with four variables:
time.gps
date and time from the GPS during data acquisition.
time.cpu
date and time from the computer CPU during data acquisition.
lon
longitudes.
lat
latitudes.
Arguments
hac
name of an HAC file
Author
Héctor Villalobos
Details
The function looks for the Position tuple (20) in the HAC file, and if found, imports the time, latitude and longitude of GPS fixes stored in the digital echogram, as well as the CPU time of the acquisition PC.
References
ICES, 2005. Description of the ICES HAC Standard Data Exchange Format, Version 1.60. Technical Report 278, ICES Cooperative Research Report.