3.3. i2G curve data

3.3.1. Get curve object by name

import wilibs.wilib
client = wilib.login('username', 'password')
curve = client.getCurveByName('Example curve', 'Example Dataset', 'Example Well', 'Example Project')

3.3.2. Working with curve object

3.3.2.1. Update curve data

import wilibs.wilib
client = wilib.login('username', 'password')
curve = client.getCurveByName('Example curve', 'Example Dataset', 'Example Well', 'Example Project')
curveData = [{'y':0, 'x':35}, {'y': 1, 'x': 36}]
curve.updateRawCurveData(curveData)

3.3.2.2. Delete curve

import wilibs.wilib
client = wilib.login('username', 'password')
curve = client.getCurveByName('Example curve', 'Example Dataset', 'Example Well', 'Example Project')
curve.delete()

3.3.2.3. Rename curve

Last updated

Was this helpful?