TerrainDerivatives
- class fastscape.processes.TerrainDerivatives(*, shape, spacing, elevation)
Compute, on demand, terrain derivatives such as slope or curvature.
- shape
Nb. of grid nodes in (y, x)
Variable properties:
type :
foreign
reference variable :
UniformRectilinearGrid2D.shape
intent :
in
dimensions : (‘shape_yx’,)
- Type:
attr.Attribute
- spacing
Grid node spacing in (y, x)
Variable properties:
type :
foreign
reference variable :
UniformRectilinearGrid2D.spacing
intent :
in
dimensions : (‘shape_yx’,)
- Type:
attr.Attribute
- elevation
Surface topography elevation
Variable properties:
type :
foreign
reference variable :
SurfaceTopography.elevation
intent :
in
dimensions : (‘y’, ‘x’)
- Type:
attr.Attribute
- slope
Terrain local slope
Variable properties:
type :
on_demand
intent :
out
dimensions : (‘y’, ‘x’)
- Type:
attr.Attribute
- curvature
Terrain local curvature
Variable properties:
type :
on_demand
intent :
out
dimensions : (‘y’, ‘x’)
- Type:
attr.Attribute
Methods
__init__
(*, shape, spacing, elevation)Method generated by attrs for class TerrainDerivatives.
Output of process info:
In [1]: import xsimlab as xs
In [2]: from fastscape.processes import TerrainDerivatives
In [3]: xs.process_info(TerrainDerivatives)
<TerrainDerivatives (xsimlab process)>
Variables:
shape [in] <--- UniformRectilinearGrid2D.shape
spacing [in] <--- UniformRectilinearGrid2D.spacing
elevation [in] <--- SurfaceTopography.elevation
slope [out] ('y', 'x') terrain local slope
curvature [out] ('y', 'x') terrain local curvature
Simulation stages:
*no stage implemented*