landlab.framework.interfaces¶
The Basic Modeling Interface.
- exception BadVarNameError[source]¶
Bases:
Error
Exception 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:
object
Definition 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:
object
An extension interface for a BMI.
- __init__()¶
- __new__(**kwargs)¶
- class BmiGridType[source]¶
Bases:
int
Base 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:
object
BMI for a model that does not have a grid.
- __init__()¶
- __new__(**kwargs)¶
- class BmiRectilinear[source]¶
Bases:
object
BMI for a model that uses a rectilinear grid.
- __init__()¶
- __new__(**kwargs)¶
- class BmiStructured[source]¶
Bases:
object
BMI for a model that uses a structured grid.
- __init__()¶
- __new__(**kwargs)¶
- class BmiUniformRectilinear[source]¶
Bases:
object
BMI for a model that exposes a uniform rectilinear grid.
- __init__()¶
- __new__(**kwargs)¶
- class BmiUnstructured[source]¶
Bases:
object
BMI for a model that uses an unstructured grid.
- __init__()¶
- __new__(**kwargs)¶
- exception Error[source]¶
Bases:
Exception
Base 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:
Exception
Raise 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:
Error
Raise 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:
Error
Raise 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.