gsflow.record_base Module

class gsflow.record_base.RecordBase(name, values=None, datatype=None)[source]

Base class for record objects. Class stores common base code that is used across other Record objects

Parameters
namestr

record name

valueslist, np.ndarray

record values

datatypeint

record datatype

Attributes
nvalues

Returns the number of values in the record

values

Returns the record’s values

Methods

export_nc

from_dict

to_dict

property nvalues

Returns the number of values in the record

property values

Returns the record’s values