Mar_HH: Mar_HH

View source: R/Mar_HH.R

Mar_HHR Documentation

Mar_HH

Description

This function generates ICES DATRAS-compatible "HH" files directly from the Maritimes groundfish database. "HH" files contain Haul metadata

Usage

Mar_HH(scratch_env = NULL, survey = NULL)

Arguments

scratch_env

default is NULL This is an environment containing the results of a Mar.datawrangling extraction - i.e. it contains all of the data necessary for HH, HL and CA

survey

default is NULL. This specifies the survey(s) for which you'd like to generate HH files. Mar.datawrangling extraction - i.e. it contains all of the data necessary for HH, HL and CA

Value

a df generated HH file

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca @export drop unneeded fields, and make original cols lowercase - finals will be uppercase we record the direction of the current relative to the ship (eg to bow, to starboard, etc), but ICES wants it in a compass direction. I use the tow direction (determined above) combined with the value stored in GSINF.CURNT to derive the value. For example, if the tow was found to be West to East (90deg), and the CURNT value was "to starboard", the combined angle would be 90+90 = 180 (or South) A = AT CAMERON H = Lady Hammond N = Needler S = Teleost V = Venture T = Templeman MINTRAWLDEPTH','MAXTRAWLDEPTH',

See Also

Other DATRAS: Cen_DATRAS(), Gulf_DATRAS(), Mar_CA(), Mar_DATRAS(), Mar_HL(), NFLD_DATRAS(), Pac_DATRAS(), Que_DATRAS(), makeDATRAS()


Maritimes/CanaDatras documentation built on April 5, 2025, 5:58 p.m.