pg_utils.pg_model.base

Base classes and collections

Functions

map_PG_fields(maps_from, maps_to)

Create mapping from one CollectionPG object to another CollectionPG

map_collection(maps_from, maps_to)

Construct mapping from one Collection object to another Collection

Classes

CollectionConjugate(**fields)

Base class for the collection of conjugate variables

CollectionPG(**fields)

Base class for the collection of Plesio-Geostrophy (PG) variables

LabeledCollection(names, **fields)

Abstract base class for collections to be used in PG model

LabeledSubCollection(base_collection, sub_slice)

Base class that gives a subset of the labeled collection.