|
Goby3 3.3.0
2025.07.10
|
#include <cmath>#include <boost/units/quantity.hpp>#include <boost/units/systems/angle/degrees.hpp>#include <boost/units/systems/si.hpp>#include <boost/units/systems/si/prefixes.hpp>#include "units.h"Go to the source code of this file.
Namespaces | |
| namespace | goby |
| The global namespace for the Goby project. | |
| namespace | goby::util |
| namespace | goby::util::seawater |
Functions | |
| template<typename PressureUnit = decltype(boost::units::si::deci* bar), typename LatitudeUnit = boost::units::degree::plane_angle> | |
| boost::units::quantity< boost::units::si::length > | goby::util::seawater::depth (boost::units::quantity< PressureUnit > pressure, boost::units::quantity< LatitudeUnit > latitude) |
| Calculates depth from pressure and latitude Adapted from "Algorithms for computation of fundamental properties of seawater; UNESCO technical papers in marine science; Vol.:44; 1983" https://unesdoc.unesco.org/ark:/48223/pf0000059832. | |