[OpendTect_Developers] Metric and British units in OpendTect

Kristofer Tingdahl kristofer.tingdahl at dgbes.com
Sun Dec 4 21:37:49 CET 2011


Yo!

Depth units are, and will always be a challenge. This is how OpendTect does
it:

Time surveys:
Always in seconds.

Depth surveys:
In feet or meters, depending on survey setting.

If the user changes the survey setup, already imported depths will not
change.


The complicated part is that users expect to DISPLAY other units. Therefor,
we have a zFactor with wich the depth value is multiplied with before being
shown to the user, like in a dialog. The default zFactor is obtained by
SI().zFactor(), but it may be different in the visualization, as the scene
may be in depth, although the survey is in time. Then, ask the
visSurvey::Scene::zDomainInfo().userFactor().


Happy coding!!

- Kristofer

-- 
Kristofer Tingdahl, Ph. D.
CEO
dGB Earth Sciences
http://www.dgbes.com
https://facebook.com/OpendTect <https://www.facebook.com/OpendTect>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20111204/83548fb1/attachment.html>


More information about the Developers mailing list