sequence.bathymetry module¶
Read bathymetry.
This module contains Landlab components to read bathymetry into a SequenceModelGrid.
- class sequence.bathymetry.BathymetryReader(*args, **kwds)[source]¶
Bases:
ComponentLandlab component that reads bathymetry from a file.
- __init__(grid: SequenceModelGrid, filepath: str | PathLike[str], kind: str = 'linear')[source]¶
Generate a bathymetric profile from a file.
- Parameters:
grid (SequenceModelGrid) – A landlab grid.
filepath (str) – Name of csv-formatted bathymetry file.
kind (str, optional) – Kind of interpolation as a string (one of ‘linear’, ‘nearest’, ‘zero’, ‘slinear’, ‘quadratic’, ‘cubic’). Default is ‘linear’.