check_position_in_Med {RoMEBS} | R Documentation |
The function checks whether the position of the haul is in the Mediterranean Sea area or falls on the land.
check_position_in_Med(DataTA, wd, suffix)
DataTA |
Haul data table according to MEDITS protocol (TA) |
wd |
working directory path defined by the user |
suffix |
Suffix string of the Logfile |
The function uses the haul_at_sea()
function to check whether the position of the haul is in the Mediterranean Sea area or falls on the land.
The function returns a boolean value. It is FALSE in case one or more haul positions fall out of the Mediterranean Sea area defined by the shapefileMedSea included in the package.
I. Bitetto, W. Zupa
Anonymus. 2017. MEDITS-Handbook. Version n. 9. MEDITS Working Group. 106 pp.https://www.sibm.it/MEDITS 2011/principaledownload.htm
library(MEDITS) wd <- tempdir() suffix="2020-03-05_time h17m44s55" c