Description Usage Arguments Details Value Author(s) References See Also Examples
This function reads the nodes- and z-files from a CHILD model run data returns a matrix with m nodes and their x-y-z-coordinates for a specified set and time step of the model run.
1 | read.TIN(dataset, timestep)
|
dataset |
CHILD object name. |
timestep |
Time step from which the node data is read. |
The resulting data set is no triangulated irregular network (TIN)
object. It is similar in structure to the PTS-file but without
boundary flags. However, the data set can serve as input data for
a raster interpolation (TIN.raster
) or external TIN
creation (e.g. tri.mesh
from package tripack).
A numeric matrix with x-y-z-coordinates of the nodes.
Michael Dietze
CSDMS website. http://csdms.colorado.edu/wiki/Model:CHILD.
Tucker, GE. 2010. CHILD Users Guide for version R9.4.1.
http://csdms.colorado.edu/mediawiki/images/Child_users_guide.pdf
Tucker, GE., Lancaster, ST., Gasparini, NM., Bras, RL. 2001. The
Channel-Hillslope Integrated Landscape Development (CHILD) Model.
In Harmon, RS., Doe, W.W. III (eds). Landscape Erosion and Evolution
Modeling. Kluwer Academic/Plenum Publishers, pp. 349-388.
1 2 3 4 5 6 7 8 9 10 11 12 | # load example data set
data(hillslope1)
# read TIN from time step 10 of data set hillslope1
TIN <- read.TIN(hillslope1, timestep = 10)
# show first 5 rows of the dat set
TIN[1:5,]
# display the modelled surface and add TIN nodes
display.surface(hillslope1, timestep = 10, type = "map")
points(TIN[,1], TIN[,2], pch = 4, cex = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.