The goal of angstroms was to provide easy access to Regional Ocean Modeling System (ROMS) but now it provides easy access and control over any complex gridded output available to the raster package in R.
The key features are:
This approach aligns with the plotting and interpretation tools in the quadmesh package, particularly the mesh_plot() and quadmesh() functions.
Install the released version from CRAN with:
install.packages("angstroms")
You can install the development version of angstroms from github with:
# install.packages("remotes")
remotes::install_github("AustralianAntarcticDivision/angstroms")
Angstroms aims to make working with gridded output as easy as possible in R. Rather than re-map explicitly the complex curvilinear grid in ROMS or ACCESS (or many others), the approach simplifies this by:
In combination these allow extraction and query from the complex grids 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.
Here are some notes on lessons learned, all is work in progress.
romsdata()
, to ensure that ncdf = TRUE
is consistent, and to reduce the amount of extent-setting and orienting codeset_indextent
on a brick/raster to ensure it is in index-extent, again to reduce code duplicationsncdf=TRUE
is required, because on some systems we might fall back to rgdal which won’t support NetCDF properly (can be done with SDS strings or VRT but that’s a hassle)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.