check_dm {RoMEBS}R Documentation

Check of "WING_OPENING" and "VERTICAL_OPENING" fields

Description

The function checks the values in "WING_OPENING" and "VERTICAL_OPENING" field are in the allowed ranges (see INSTRUCTION MANUAL VERSION 9 MEDITS 2017).

Usage

check_dm(DataTA, wd, suffix)

Arguments

DataTA

Haul data table according to MEDITS protocol (TA)

wd

working directory path defined by the user

suffix

Suffix string of the Logfile

Details

The value ranges defined in the INSTRUCTION MANUAL VERSION 9 MEDITS (2017) for wing and vertical opening expressed in decimeters (dm) are respectively 50 - 250 (30 is also accepted being it used in Rapana venosa beam trawl survey)and 10 - 100 ('-1' value is also accepted in case vertical opening value in not available).

Value

The function returns an error in case wing values are out of the allowed ranges, while it returns warnings in case vertical opening values are out of the allowed ranges and in case wing opening and vertical opening values are not integer numbers.

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


suffix="2020-12-16_time_h10m52s55"
check_dm(MEDITS::TA,wd=tempdir(),suffix)


[Package RoMEBS version 0.2.02 Index]