fre.app.generate_time_averages.timeAverager module

core class structure for this module.

class fre.app.generate_time_averages.timeAverager.timeAverager(pkg, var, unwgt, avg_type, stddev_type)

Bases: object

abstract base class for generating time averages + related statistical quantities this class must be inherited by another for functionality.

avg_type: str
generate_timavg(infile=None, outfile=None)

# this is a hint: this is to be defined by classes inheriting from the abstract one this function is never to be fully defined here by design.

pkg: str
stddev_type: str
unwgt: bool
var: str
var_has_time_units(an_nc_var=None)

checks if variable’s units are of time