Functions to get the intersection of multiple netCDF files’s time axis

class pyhomogenize.time_compare(*compare_objects, **kwargs)[source]

Class for getting the intersection of two time axis.

The time_compare contains the class time_control.

Parameters

compare_objects (str or list or nested list) – List of all objects to compare their time axes

__init__(*compare_objects, **kwargs)[source]

Methods

time_compare.max_intersection()

Get the maximum intersection of all time axes.

time_compare.select_max_intersection(**kwargs)

Select maximum intersection time slice.

Attributes

time_compare.compare_objects(compare_objects)

List of all objects to compare their time axes.

time_compare.time_control_objects(**kwargs)

List of all compare_objects set to time_control objects.

time_compare.times()

List of all time axes read from time_control_objects.