bgmfile: Read BGM

Description Usage Arguments Details See Also Examples

View source: R/bgmfile.R

Description

Read geometry and full topology from BGM files.

Usage

1
2
3

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

1
2
3
4
library(bgmfiles)
bfile <- sample(bgmfiles(), 1L)
bgm <- bgmfile(bfile)
str(bgm)

AustralianAntarcticDivision/rbgm documentation built on April 13, 2020, 11:25 p.m.