#decompression #calculator #diving

diving-decompression

Calculate required diving decompression procedures using the US Navy dive tables rev7

9 releases

0.1.9 Jun 26, 2020
0.1.8 Jun 26, 2020

#497 in Science

29 downloads per month

GPL-3.0-or-later

25KB
318 lines

UNDER CONSTRUCTION

DO NOT USE THIS PACKAGE UNTIL STABLE VERSION HAS BEEN RELEASED!!!!!

IMPORTANT NOTE FROM THE AUTHOR

this package is under construction, it is NOT suitable for usage in real dive operations neither commercial nor recreational, as we need to make extensive test and audit the package reliability. it is not only a matter of applying unit testing as this calculations are crucial for divers safety; also regardless of the extensive tests and trials in humans performed by the US Navy along the years with regards of decompression sickness, it has been stated many times by relevant stakeholders that these trials do not necessarily entail 100% accuracy on the results of undertaking dive operations within the constraints of these dive tables. there are many factors that are not taken into consideration (e.g: water temperature, diver physiological fitness, unadverted PFOs... to name a few).

Sources

the main source for this module is the US Navy Diving Manual, which is the most comprehensive resource for educational and operational reference in the diving industry. you can find a copy of the 7th revision of this manual in this repository

EXAMPLE: https://cdlogs.org

Compatibility

this project makes use of Go Modules, and it is intended to be used as an external library to any Go project.

Usage

To be done

Road Map Specific Objectives

  1. to develop a series of return objects with the specific guidelines that are relevant to the specific dive profile introduced.

  2. to develop a series of graphical charts to represent the decompression profiles.

  3. to develop a series of specific errors and warning objects relevant to the profile introduced.

License

MPL-2.0

Dependencies

~0.7–1.6MB
~34K SLoC