Skip to contents

Tools for handling network data for Atlantis from box-geometry model (BGM) files

rbgm features

  • read .bgm files and faithfully store all information so it can be round-tripped

  • conversion from .bgm forms to Spatial classes (lines and polygons)

  • (not yet implemented: write to .bgm)

I. Import

bgmfileread directly from a .bgm file

II. Conversion

boxSpatialconvert boxes to a SpatialPolygonsDataFrame
faceSpatialconvert faces to a SpatialLinesDataFrame
boundarySpatialconvert boundary to a single-row SpatialPolygonsDataFrame
nodeSpatialobtain all vertices as points
pointSpatialobtain all instances of vertices as points

III. Miscellaneous

build_dzBuild Atlantis dz Values

Author

Maintainer: Michael D. Sumner mdsumner@gmail.com

Authors:

Other contributors:

  • Department of Climate Change, Energy, the Environment and Water (Australian Antarctic Division) [copyright holder]