hestia_earth.calculation.abstract_hierarchy.Hierarchy¶
-
class
hestia_earth.calculation.abstract_hierarchy.Hierarchy[source]¶ Bases:
objectModel_Hierarchy class. It contains a set of common methods and instance variables that are typically used by every hierarchy. A hierarchy defines the order to run models in Hestia.
Methods
get_referenceMethod that procesess the hierarchy through all the models for a given cycle. It is overwritten in for different kind of engines Arguments: cycle: This is a cycle in the representation required by the engine. (Different from the Schema representation) Returns a file object.
Method to round to a given number of significant numbers.
Method that checks if the model has enough data to do the calculation.
Attributes
context-
process_hierarchy(cycle)[source]¶ Method that procesess the hierarchy through all the models for a given cycle. It is overwritten in for different kind of engines
- Arguments:
cycle: This is a cycle in the representation required by the engine. (Different from the Schema representation)
Returns a file object.
-