tow.id: Extract Tow Identifier

View source: R/tow.id.R

tow.idR Documentation

Extract Tow Identifier

Description

Functions to extract or determine trawl tow identifiers.

Usage

tow.id(x, ...)

## Default S3 method:
tow.id(x, ...)

## S3 method for class 'probe'
tow.id(x, method, ...)

## S3 method for class 'star.oddi'
tow.id(x, method, ...)

## S3 method for class 'minilog'
tow.id(x, method = "observed")

## S3 method for class 'scscat'
tow.id(x, ...)

## S3 method for class 'scsbio'
tow.id(x, ...)

## S3 method for class 'scslen'
tow.id(x, ...)

Arguments

x

Data object.

...

Not used.

method

Character string specifying the method to be used when determining the tow identification number for a probe object. Available methods are ‘time’ and ‘latlong’. Available options are ‘observed’, ‘file name’, ‘header’, and ‘time’.

max.distance

Numeric valiue specifying the maximum distance tolerance (in kilometers) when determining the tow identification number for a probe object from lat-lon coordinates.

Methods (by class)

  • tow.id(default): Default ‘tow.id’ method.

  • tow.id(probe): ‘tow.id’ ‘probe’ method.

  • tow.id(star.oddi): ‘tow.id’ sQuotestar.oddi method.

  • tow.id(minilog): ‘tow.id’ ‘minilog’ method.

  • tow.id(scscat): ‘tow.id’ ‘scscat’ method.

  • tow.id(scsbio): ‘tow.id’ ‘scsbio’ method.

  • tow.id(scslen): ‘tow.id’ ‘scslen’ method.

Examples

files <- locate.minilog(2018)
tow.id(read.minilog(files[200]))          


TobieSurette/gulf.data documentation built on Jan. 19, 2025, 7:50 p.m.