landlab.framework.interfaces#
The Basic Modeling Interface.
- exception BadVarNameError[source]#
Bases:
ErrorException to indicate a bad input/output variable name.
- __new__(**kwargs)#
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- class BmiBase[source]#
Bases:
objectDefinition of the Basic Modeling Interface.
- __init__()#
- __new__(**kwargs)#
- get_input_var_names()[source]#
Get names of input variables to the model as standard names.
- Returns:
A list of input standard names as strings
- class BmiExtendedBase[source]#
Bases:
objectAn extension interface for a BMI.
- __init__()#
- __new__(**kwargs)#
- class BmiGridType[source]#
Bases:
intBase type to indicate the type of a BMI model’s grid.
- Code:
Grid type code as an int
- Name:
Name of the grid type as a string
- class BmiNoGrid[source]#
Bases:
objectBMI for a model that does not have a grid.
- __init__()#
- __new__(**kwargs)#
- class BmiRectilinear[source]#
Bases:
objectBMI for a model that uses a rectilinear grid.
- __init__()#
- __new__(**kwargs)#
- class BmiStructured[source]#
Bases:
objectBMI for a model that uses a structured grid.
- __init__()#
- __new__(**kwargs)#
- class BmiUniformRectilinear[source]#
Bases:
objectBMI for a model that exposes a uniform rectilinear grid.
- __init__()#
- __new__(**kwargs)#
- class BmiUnstructured[source]#
Bases:
objectBMI for a model that uses an unstructured grid.
- __init__()#
- __new__(**kwargs)#
- exception Error[source]#
Bases:
ExceptionBase class for BMI exceptions.
- __init__(*args, **kwargs)#
- __new__(**kwargs)#
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception FatalError[source]#
Bases:
ExceptionRaise this exception if an unrecoverable error was found.
- __init__(*args, **kwargs)#
- __new__(**kwargs)#
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MissingModelAttributeError[source]#
Bases:
ErrorRaise this exception if a component is missing a required attribute.
- __new__(**kwargs)#
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception TimeBoundsError[source]#
Bases:
ErrorRaise this exception if a component updates beyond its time horizon.
- __init__(*args, **kwargs)#
- __new__(**kwargs)#
- add_note()#
Exception.add_note(note) – add a note to the exception
- args#
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.