bgmfile {rbgm} | R Documentation |
Read BGM
Description
Read geometry and full topology from BGM files.
Usage
bgmfile(x, ...)
read_bgm(x, ...)
Arguments
x |
path to a bgm file |
... |
ignored for now |
Details
BGM is a file format used for the 'Box Geometry Model' in the Atlantis Ecosystem Model. This function reads everything from the .bgm file and returns it as linked tables.
See Also
See helper functions to convert the bgm tables to 'Spatial' objects, boxSpatial
,
faceSpatial
, nodeSpatial
, boundarySpatial
, pointSpatial
Examples
library(bgmfiles)
bfile <- sample(bgmfiles(), 1L)
bgm <- bgmfile(bfile)
str(bgm)
[Package rbgm version 0.1.0 Index]