FlatSurface
- class fastscape.processes.FlatSurface(*, seed=None, shape)
Initialize surface topography as a flat surface at sea-level with random perturbations (white noise).
- seed
Random seed
Variable properties:
type :
variable
intent :
in
dimensions : ()
default value : None
- Type:
attr.Attribute
- shape
Nb. of grid nodes in (y, x)
Variable properties:
type :
foreign
reference variable :
UniformRectilinearGrid2D.shape
intent :
in
dimensions : (‘shape_yx’,)
- Type:
attr.Attribute
- elevation
Surface topography elevation
Variable properties:
type :
foreign
reference variable :
SurfaceTopography.elevation
intent :
out
dimensions : (‘y’, ‘x’)
- Type:
attr.Attribute
Methods
__init__
(*[, seed])Method generated by attrs for class FlatSurface.
initialize
()
Output of process info:
In [1]: import xsimlab as xs
In [2]: from fastscape.processes import FlatSurface
In [3]: xs.process_info(FlatSurface)
<FlatSurface (xsimlab process)>
Variables:
seed [in] random seed
shape [in] <--- UniformRectilinearGrid2D.shape
elevation [out] ---> SurfaceTopography.elevation
Simulation stages:
initialize