Learn R Programming

angstroms

The goal of angstroms is to provide easy access to Regional Ocean Modeling System (ROMS) output for R.

Installation

You can install the development version of angstroms from github with:

# install.packages("devtools")
devtools::install_github("mdsumner/angstroms")

angstroms - R for ROMS

Angstroms aims to make working with ROMS output as easy as possible in R. Rather than re-map explicitly the complex curvilinear grid in ROMS, the approach simplifies this by:

  • maintaining the internal index of ROMS as the default georeferencing
  • converting external data (maps, transects, points, etc.) into the native internal index space of ROMS
  • providing tools to read arbitrary slices from the grids (either 2D or 3D) as Raster objects
  • providing tools to recover the original full coordinates as needed

In combination these allow extraction and query from the ROMS output very easily.

The ability to deal with time series across multiple files is still in development, though can be used simply now with standard loops.

Some more examples:

http://rpubs.com/cyclemumner/roms0

http://rpubs.com/cyclemumner/266770

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('angstroms')

Monthly Downloads

218

Version

0.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Michael D. Sumner

Last Published

May 1st, 2017

Functions in angstroms (0.0.1)

angstroms

Tools for ROMS model output.
antarctica

Antarctica simple coastline.
romsmap

Remap an object to the ROMS grid.
romsboundary

Boundary polygon from raster of coordinates.
romscoords

Extract coordinate arrays from ROMS.
romsdata

ROMS single slice 2D layer
romshcoords

Coordinates at depth
coords_points

Create SpatialPoints.
croproms

Crop a ROMS layer
ice_fake

Fake model data.
rawdata

Read the variable as is