Documentation ¶
Index ¶
- type TEC
- type TEM
- func (t *TEM) BuildUpslopes(ds map[int]int)
- func (t *TEM) ConcentrationTime() map[int]int
- func (t *TEM) ContributingAreaIDs(cid0 int) []int
- func (t *TEM) ContributingCellCounts() map[int]int
- func (t *TEM) ContributingCellMap(cid0 int) map[int]int
- func (t *TEM) DownslopeContributingAreaIDs(cid0 int) ([]int, map[int]int)
- func (t *TEM) Downslopes() map[int]int
- func (t *TEM) FillDepressions(gd *grid.Definition, fixflats bool, fprfx string)
- func (t *TEM) GetStreamSegments(gd *grid.Definition, cid0, ccmin int) [][][]float64
- func (t *TEM) New(fp string) error
- func (t *TEM) NumCells() int
- func (t *TEM) Outlets() []int
- func (t *TEM) Peaks(cid0 int) []int
- func (t *TEM) SaveGob(fp string) error
- func (t *TEM) SaveUHDEM(fp string) error
- func (t *TEM) SubSet(fromid int) (*TEM, []int)
- func (t *TEM) SubwatershedSplit(gd *grid.Definition, ws, ds map[int]int, area float64) map[int]int
- func (t *TEM) UnitContributingArea(cid int) int
- func (t *TEM) UpCnt(cid int) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TEM ¶
TEM topologic elevation model
func (*TEM) BuildUpslopes ¶
BuildUpslopes re-builds upslope mapping
func (*TEM) ConcentrationTime ¶
func (*TEM) ContributingAreaIDs ¶
ContributingAreaIDs returns a list of upslope cell IDs that make up the contributing area to cid0
func (*TEM) ContributingCellCounts ¶
ContributingCellCounts returns a map of upslope TEC count for every TEC in TEM
func (*TEM) ContributingCellMap ¶
ContributingCellMap returns a map of upslope TEC count for every TEC in TEM cascading to cellID cid0.
func (*TEM) DownslopeContributingAreaIDs ¶
DownslopeContributingAreaIDs returns a list of upslope cell IDs that make up the contributing area to cid0, yet ordered in the downslope (topologically-safe) direction. cid0 < 0 returns entire TEM
func (*TEM) Downslopes ¶
func (*TEM) FillDepressions ¶
func (t *TEM) FillDepressions(gd *grid.Definition, fixflats bool, fprfx string)
func (*TEM) GetStreamSegments ¶
func (t *TEM) GetStreamSegments(gd *grid.Definition, cid0, ccmin int) [][][]float64
func (*TEM) Peaks ¶
Peaks returns list of peak cell IDs (cells that do not receive cascading runon) cascading to cellID cid0. cid0<0 returns all peaks.
func (*TEM) SubSet ¶
SubSet returns a subset topologic elevation model from a given outlet cell fromid < 0 return a pointer to the referenced TEM
func (*TEM) SubwatershedSplit ¶
func (*TEM) UnitContributingArea ¶
UnitContributingArea computes the (unit) contributing area (count) to a given cell id