Learn R Programming

ocean (version 0.2-4)

Biophysical Oceanography Tools

Description

This package contains a set of functions for manipulating and visualizing output from numerical ocean models. Many of the routines are targeted towards Lagrangian particle-tracking models with the data stored in NetCDF files. This package may be useful to spatial marine ecologists and biological or physical oceanographers.

Copy Link

Version

Install

install.packages('ocean')

Monthly Downloads

20

Version

0.2-4

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

May 1st, 2014

Functions in ocean (0.2-4)

fvcom.grid

Create a new FVCOM grid instance from a FVCOM NetCDF output file.
loadFVCOMGrid27

Load an FVCOM grid from a NetCDF output file.
get.depth

Get the depth at each node in the grid.
ocean.demo.grid

An example instance of the fvcom.grid class.
get.proj

Get the value of the projection string.
fvcom.grid-class

Finite Volume Community Ocean Model grid
jet.colors

Generate a sequence of colors alog the jet colormap.
get.nodes

Get the values of the nodes in the grid.
get.nnodes

Get the number of nodes in the grid.
validFVCOMGrid

Check if a fvcom.grid instance is valid.
bathy.colors

Generate a sequence of colors for plotting bathymetric data.
get.nelems

Get the number of elements in the grid.
find.elem

Checks if the points (xy$x, xy$y) are in the fvcom.grid grid.
filter2d

Applies a 2d Gaussian filter to mat with a standard deviation of r cells.
interp

Convert a single scalar or node based quantity to element based.
is.in.grid

Checks if the points (xy$x, xy$y) are in the fvcom.grid grid.
get.elems

Get the indices of the element vertices in the grid.
lines

Plot an instance of the fvcom.grid class and overlay the trajectories given by xy.
image

Plot a fvcom.grid instance as a heatmap.
pdd

Plot the density of x and y on grid.