Extract time for desat stop using the MN90 tables. Desat stop expected are at 3, 6 and 9 meters depths.

desat_table(dtcurve, maj = 0)

Arguments

dtcurve

a depth time curve in a data.frame with 2 columns depth and time. Depths values are meters (positive values) and time is in minute.

maj

majoration time in minute in case of consecutive dive. 0 by default.

Value

a desat object, which is a list with a data.frame containing desaturation stops at 9, 6 and 3 m depth. Next element is the dive groupe for possible second dive and lastly the times at which the desaturation stops occur during the dive. The last element is NULL because it's made with tables.

Details

Dive time used in table is the maximum time in the dtcurve table, exept the last one. This is important as the last time value is expected to be the time at which the diver reach surface.