Indietro

#scuba

1 APIs con questa etichetta

Scuba Diving API

Scuba-diving and gas-planning maths as an API, computed locally and deterministically. The nitrox endpoint takes an oxygen fraction and returns the maximum operating depth (MOD) for a ppO2 limit (1.4 working, 1.6 contingency), and, for a given depth, the oxygen partial pressure, the equivalent air depth (EAD), whether the mix is within its limit and the best mix for that depth — EAN32 has a MOD of 33.75 m at 1.4 and an EAD of 24.4 m at 30 m. The gas endpoint plans breathing gas from a surface air consumption (SAC/RMV) rate: it scales consumption to depth (consumption = SAC × (1 + depth/10)), gives the litres a planned dive needs and the cylinder duration on the available gas down to a reserve, and can derive your SAC from a logged dive's pressure drop, cylinder size and time. The pressure endpoint gives the ambient pressure and the partial pressure of every gas at depth, plus the equivalent narcotic depth (END) for any blend including trimix — helium is non-narcotic, so it cuts narcosis. Metric throughout: depth in metres of sea water, where 10 m ≈ 1 bar. Everything is computed locally and deterministically, so it is instant and private. Ideal for dive-planning, dive-log, freediving and scuba-training app developers, nitrox and trimix calculators, and dive-education tools. Pure local computation — no key, no third-party service, instant. Live, nothing stored. 3 compute endpoints. This is dive-planning maths, not a decompression-model NDL — always cross-check with tables or a dive computer.

api.oanor.com/scuba-api