my_code_base.esd.ensemble

Module Contents

class my_code_base.esd.ensemble.EnsembleAccessor(data_obj)[source]

Helper class that provides a standard way to create an ABC using inheritance.

groupby(key)[source]

Group the object by a member key. Member keys are initialized beforehand.

property key_template[source]
Return the key template
class my_code_base.esd.ensemble.PandasEnsembleAccessor(data_obj)[source]

Helper class that provides a standard way to create an ABC using inheritance.

groupby(key)[source]

Group the object by a member key. Member keys are initialized beforehand.

property key_template[source]
Return the key template
class my_code_base.esd.ensemble.XarrayEnsembleAccessor(data_obj)[source]

An xarray.Dataset accessor supporting the grouping of ensemble members by model id and similar. The member coordinate in the xr.Dataset must have a key_template attribute of the form ‘source_id.member_id.grid_label’, following the structure of the entries of the ‘member’ coordinate.

groupby(key)[source]

Group the object by a member key. Member keys are initialized beforehand.

property key_template[source]
Return the key template