Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/read.infos.rivers.R
Columns in the csv file: id, name, lat, lon, grid, ycell, xcell, filename
1 | read.infos.rivers(filename, grids)
|
filename |
path and name of the csv file with river information |
grids |
nested list with grid definitions: grids$fine and grids$coarse are grid definitions of the fine and coarse, respectively BSH-HBM grids |
Elements of the output list: filename, lon, lat, xcell, ycell, grid, riverid, rivername
nested list with grid information it contains:
Daniel Neumann, daniel.neumann@io-warnemuende.de
get.infos.grids.hbm.basic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# get grid info:
grid_info <- get.infos.grids.hbm.basic()
# set filename
file <- 'files/river_list.dat'
# get river infos
riverInfos <- read.infos.rivers(file, grid_info)
# (you will get some warnings here)
Elements of the output list:
filename
lon
lat
xcell
ycell
grid [fine,coarse]
riverid
rivername
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.