opendrift.readers.operators.numops

Reader combined with number.

Module Contents

Classes

Combined

A reader combined with a number.

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
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]