getwater
index
/Users/schwehr/projects/xcore/doc/BPSIO-04/work/getwater.py
Modules
Gnuplot
LinearAlgebra
LinearAlgebra
Numeric
ams
bpsio
os
sqlite
string
sys
Functions
getWaterWeightPercent
(db_cx, corenum, type
=None
, half
=None
)
Get the weight percent of water for a core
Arguments
db_cx - database connection, sqlite
corenum - integer core number
type - type of core (e.g. 'g' for gravity)
half - which half of the core (e.g. 'w' for working, 'a' for archive)
Returns:
A list of (depth,waterPercent) pairs. Depth in cm
Data
corenum
= 3
cruise
= 'f'
cx
= <sqlite.main.Connection instance>
filename
= '3water.dat'