opendrift.readers.operators.numops

Reader combined with number.

Classes

Combined

A reader combined with a number.

Module Contents

class opendrift.readers.operators.numops.Combined(n, r, op, descop='|')[source]

A reader combined with a number.

n: numbers.Number
r: opendrift.readers.basereader.BaseReader
op: types.LambdaType
name = 'NumCombined(Uninferable | Uninferable)'
static add(n, r)[source]
static mul(n, r)[source]
static sub(n, r)[source]
static div(n, r)[source]
__getattr__(attr)[source]

Forward all other method calls and attributes to reader.

get_variables_interpolated(variables, *args, **kwargs)[source]