[PATCH 2/2] Add initial rudimentary no-fly time calculation

Lutz Vieweg lvml at 5t9.de
Fri Feb 8 09:45:34 PST 2013


On 02/08/2013 05:45 PM, Robert C. Helling wrote:
> Then I found the problem: tissue_tolerance_calc() assumes to find the surface pressure as
>
> double surface = dive->dc.surface_pressure.mbar / 1000.0;
>
> Except that seems not to be set, at least it always reads a 0.0. Where should that be set? Shall we
> always set it to 1013mbar or do we do something better?

Theoretically, if a dive has coordinates of the dive spot assigned to,
you could use the height coordinate to compute an ajusted surface
pressure. Probably applicable not too often, though.

Regards,

Lutz Vieweg




More information about the subsurface mailing list