scallop_subroutine_diag: Groundfish discards on scallop trips This function oeprates...

View source: R/scallop_subroutine_diag.R

scallop_subroutine_diagR Documentation

Groundfish discards on scallop trips This function oeprates identically to otehr discard modules but is only relevant for scallop trips, and is predicated on what groundfish fishing year is under evaluation.

Description

Groundfish discards on scallop trips This function oeprates identically to otehr discard modules but is only relevant for scallop trips, and is predicated on what groundfish fishing year is under evaluation.

Usage

scallop_subroutine_diag(
  FY = 2019,
  con = con_maps,
  scal_gf_species,
  non_gf_dat = non_gf_dat,
  scal_trip_dir = file.path(getOption("maps.discardsPath"), "scallop_groundfish")
)

Arguments

FY

Groundfish Fishing year under evaluation. This value determines which scallop fishing years are run

con

ROracle database connection

scal_gf_species

data frame, single row, that has species_itis and common name of groundfish under evaluation (e.g. yellowtail and windowpane flounder)

non_gf_dat

data frame containing non-groundfish trips from 'CAMS_LANDINGS'. This is loaded from Oracle from a control script.

scal_trip_dir

Directory to save scallop trip results

Value

writes a .fst file for disacrd estimates on scallop trips for species under evaluation. This folder and will be referenced within the groundfish module.

Author(s)

Ben Galuardi


noaa-garfo/discaRd documentation built on April 17, 2025, 10:32 p.m.