02.05.2014 Views

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

CoreandServices.book - Ocean - Schlumberger

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Units<br />

Units are represented by a symbol. The symbol is a string such as “m” for meters. Often<br />

there are multiple symbols that represent the same unit due to cultural or other reasons. A<br />

different symbol representing the same unit is called an alias (Fig. 4-9 on page 4-199).<br />

Aliases allow us the freedom to interchange unit representations without impact to our<br />

application. Aliases can be used safely in unit conversion because they have unit<br />

measurements in the catalog. However, there can be problems in other contexts due to<br />

duplicate aliases. For example, “f” can be an alias for “farad” as well as for “ft”. When “f” is<br />

used, the first match encountered will be returned, and this may not be the one you need.<br />

“METER”<br />

“METERS”<br />

“m”<br />

symbol<br />

“G_LN”<br />

“M”<br />

“MT”<br />

“S_LN”<br />

aliases<br />

Fig. 4-9 Unit Symbols and Aliases<br />

Unit Conversion<br />

Data that have the same base measurement can be linearly converted to use other units<br />

associated with the base measurement. For example, the diameter of a pipe with units of<br />

meters can be converted to other “Length” base measurement units such as feet. Data<br />

cannot be converted between units with different base measurements. “Length” data<br />

cannot be converted to a “Volume” data. Likewise, data that are dimensionless, such as a<br />

phone number, cannot be converted.<br />

<strong>Schlumberger</strong> Private<br />

<strong>Ocean</strong> Services 4-199

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!