BioStationAssignment: Biotic station assignment

Description Usage Arguments Details Value See Also Examples

View source: R/ProcessData.R

Description

The BioStationAssignment function creates a list of which biotic stations are assigned to each acoustic primary sampling unit (PSU) and assignment layer.

Usage

1

Arguments

parameterName

Parameter descrption.

Details

The BioStationAssignment function creates a list of which biotic stations are assigned to each acoustic primary sampling unit (PSU) and assignment layer. An assignment layer is made up of one or more layers (NEED UPDATE: link to definition of layer). Each unique combination of assigned biotic stations is given an ID and the assigned biotic stations are given the default weighting factor of 1. The list of assigned biotic stations of an ID will in another function be used to make a total combined length frequency distribution from all the individual station distributions of the ID.

In addition to the option of modifying assignments manually through the StoX graphically user interface, several automatic assignment methods are available. The automated methods are applied by assignment layer on the biotic stations that are associated with each assignment layer. The available automatic methods are:

Stratum

All biotic stations within each stratum (NEED UPDATE: link to stratum R function) are assigned to all the acoustic PSUs of the stratum.

Radius

All biotic stations within the given radius (parameter Radius (nautical miles)) of one or more of the elementary distance sampling units (EDSU) that makes up a PSU, are assigned to that PSU. The start position of both the biotic station and the EDSU is used for distance calculations. The method does not take into consideration whether the biotic station is in the same stratum as the PSU or even outside the boundaries of the strata system.

EllipsoidalDistance

This assignment method uses the ellipsoidal distance (Johnsen and Iilende, 2007, equation 8). All biotic stations that fulfills the selection criteria (scalar product f <=1) on one or more EDSUs of a PSU, will be assigned to the PSU. The scalar product of the method is calculated as:

f(d,t,b,l,o)=≤ft(\frac{Δ d}{r_d}\right)^2 + ≤ft(\frac{Δ t}{r_t}\right)^2 + ≤ft(\frac{Δ b}{r_b}\right)^2 + ≤ft(\frac{Δ l}{r_l}\right)^2 + ≤ft(\frac{Δ o}{r_0}\right)^2

where:

f = scalar product

Δ d = great circle distance between the acoustic EDSU position and the biotic station (nautical miles). Start positions for the biotic station and the EDSU are used.

Δ t = time difference between the acoustic EDSU and the biotic station recordings (hours). Start time for the biotic station and the EDSU are used.

Δ b = difference in bottom depth at the locations of the acoustic EDSU and the biotic station (meters). For the EDSU, the bottom depth is calculated as the average depth from the minimum and maximum depth recorded over the EDSU distance. The biotic station depth is calculated as the average at the start and stop of the station.

Δ l = difference in latitude between the acoustic EDSU and the biotic station (degrees)

Δ o = difference in longitude between the acoustic EDSU and the biotic station (degrees)

r_d = reference value for great circle distance difference (nautical miles). Defined in parameter RefGCDistance

r_t = reference value for time difference (hours). Defined in parameter RefTime

r_b = reference value for bottom depth difference (meters). Defined in parameter RefBotDepth

r_l = reference value for latitude difference (degrees). Defined in parameter RefLatitude

r_o = reference value for longitude difference (degrees). Defined in parameter RefLongitude

The parameter MinNumStation can override the requirement to fulfill the selection criteria (scalar product f <=1) if the number of assigned stations are lower than the MinNumStation parameter value. Station/s with a scalar product value closest to the minimum selection criteria, will be included in the assignment list to ensure that a minimum number of stations are assigned.

UseProcessData

This method does not perform any assignment. It is only a method to import and use the assignments stored (as process data) during the previous execution of the BioStationAssignment process.

NOTE! The end user will get a warning if one or more acoustic PSUs have not been assigned any biotic stations.

Reference:

Johnsen E., Iilende T., 2007, Factors affecting the diel variation in commercial CPUE of Namibian hake. Can new information improve standard survey estimates?, Fisheries Research 88 (2007) p70 to 79, https://doi.org/10.1016/j.fishres.2007.07.013

Value

A data.table is returned with awesome stuff.

See Also

roxygenize is used to generate the documentation.

Examples

1
x <- 1

StoXProject/RstoxTempDoc documentation built on Dec. 31, 2019, 1:50 p.m.