R/angstroms-package.r

#' Tools for ROMS model output.
#' 
#' Facilities for  easy access to Regional Ocean Modeling System (ROMS) output. 
#' 
#' \tabular{ll}{
#'  \code{\link{coords_points}} \tab produce [sp::SpatialPoints] from ROMS coordinate arrays  \cr
#'  \code{\link{croproms}} \tab create a [raster::extent] by cropping a ROMS data layer  \cr
#'  \code{\link{rawdata}} \tab read raw NetCDF variables by name \cr
#'  \code{\link{romsdata}} read data layers from 4D variables by arbitrary slice  \cr
#'  \code{\link{romsboundary}} \tab generate the spatial boundary of the ROMS data set in x-y coordinate space \cr
#'  \code{\link{romscoords}} \tab extract the x-y (long-lat) coordinates \cr
#'  \code{\link{romshcoords}} \tab extract the multi-layer 'h'eight grid with S-coordinate stretching applied \cr
#'  \code{\link{romsmap}} \tab re-map a spatial layer (polygons, lines, points) into ROMS grid space \cr
#'  }
#' @name angstroms
#' @aliases angstroms-package
#' @docType package
#' @importFrom graphics lines plot points
#' @importFrom stats filter
NULL

#' Fake model data. 
#' 
#' `ice_coords` and `ice_fake` are generated from a projected map of southern Ocean sea ice data. 
#' 
#' The coords layer is the longitude and latitude values for the centres of the polar cells. This is veyr loosely
#' analogous to the coordinate arrays used by ROMS data, included here for working examples, illustration and code tests.
#' 
#' The proper metadata for these layers is 
#' "-3950000, 3950000, -3950000, 4350000  (xmin, xmax, ymin, ymax)"
#' 
#' "+proj=stere +lat_0=-90 +lat_ts=-70 +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378273 +b=6356889.449 +units=m +no_defs" 
#' @name ice_fake
#' @aliases ice_coords
#' @docType data
NULL

#' Antarctica simple coastline. 
#' 
#' Taken from "rnaturalearth::countries110"
#' @name antarctica
#' @docType data
NULL

Try the angstroms package in your browser

Any scripts or data that you put into this service are public.

angstroms documentation built on May 2, 2019, 2:41 p.m.