Description Usage Arguments Value
Reads the header of a SELAFIN file (*.slf).
1 | read_slf_header(fname)
|
fname |
|
A list
with the following elements:
Title of the file
Precision of numbers (bytes)
Number of variables
Names of variables
Units of variables
Starting date-time (POSIXct
object)
Number of timesteps
Number of mesh elements (triangles)
Number of mesh points
Number of points per element (3 in case of triangles)
A nelem x ndp
integer matrix of point indices (referring to x
and y
) defining the mesh elements
An integer vector of length npoin
defining the mesh boundaries (inner boundaries are zero, outer boundaries numbered)
A vector of length npoin
giving the x coordinates of the mesh points
A vector of length npoin
giving the y coordinates of the mesh points
Position in the SELAFIN file where the header ends (required by function read_slf_variable
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.