haul_at_sea {RoMEBS}R Documentation

Check of haul position on sea area

Description

The function identify the hauls that don't fall in the user defined sea area.

Usage

haul_at_sea(DataTA, seas = RoMEBS::MedSea, verbose = TRUE)

Arguments

DataTA

Haul data table according to MEDITS protocol (TA)

seas

polygon shapefile defining the extension of the sea area. The default MedSea dataset is referred to the Mediterranean and Black Sea area.

verbose

boolean varable returning verbose output if TRUE

Details

The function check whether the haul position falls in the polygon seas defining the extension of the reference sea area.

Value

The function returns the list of the hauls out of the seas polygon. In case only starting haul positions are out of the sea's area a data frame is returned. If both starting and end positions are out of the polygon an object of class list is returned.

Author(s)

I. Bitetto, W. Zupa

References

Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm

Examples

library(MEDITS)
wd <- tempdir()
suffix="2020-03-05_time_h17m44s55"
haul_at_sea(MEDITS::TA, seas = MedSea, verbose = TRUE)

[Package RoMEBS version 0.2.02 Index]