[PATCH] Show MOD, EAD, END and EADD
Jan.Schubert at GMX.li
Sun Jan 13 12:52:09 PST 2013
On 01/13/13 20:34, Jan Schubert wrote:
> On 01/13/13 20:28, Dirk Hohndel wrote:
>> On Jan 13, 2013, at 10:57 AM, Jan Schubert wrote:
>>> This is a approach to get more familar with the code by implementing
>>> some basic stuff showing MOD, EAD, AND and EADD:
>>> - MOD: Maximum Operation Depth based on a limit of 1.6bar as of now
>>> (will think about to make this configurable soon)
>>> - EAD: Equivalent Air Depth considering N2 and (!) O2 narcotic
>>> - END: Equivalent Nitrogen (Narcotic) Depth considering just N2 narcotic
>>> (ignoring O2)
>>> - EADD: Equivalent Air Density Depth
>>> Please note that some people and even diving organisations have opposite
>>> definitions for EAD and END, but considering A stands for Air, I choosed
>>> the above. And considerung N for Nitrogen it also fits in this scheme.
>> Ok. You went with one config option to display all of them. Maybe not a bad idea.
>> But hardcoding the 1.6 is - most non-tech divers (and even some tech divers like
>> myself) want 1.4 for that…
> Sure, thatsway it should be made configurable, will do this soon.
Included in new patch I sent.
This also splits MOD from EAD, END, EADD. Maybe MOD might be worth to
move to the non-tech settings?
>>> It took me some time to recognize that depth is always stored in mm
>>> independent of using metric or imperial units and the conversion is not
>>> done automatically when printing/displaying the graph.
>>> All results rounded down to full meters. As the conversion to feet is
>>> done afterwards the depth in feet might me 1 or 2 feet to shallow sometimes.
>> Don't do that, please. Round when you display, not when you calculate.
> OK, will adapt this.
Done, rounding is just done while displaying.
More information about the subsurface