Learn R Programming

ocean (version 0.2-4)

loadFVCOMGrid27: Load an FVCOM grid from a NetCDF output file.

Description

Loads enough of an FVCOM grid to use the other methods associated with the fvcom.grid class. The (x,y,h) locations of the nodes and their connections to form an unstructured triangular mesh are loaded.

Usage

loadFVCOMGrid27(filename, proj)

Arguments

filename
The name of an output NetCDF file from FVCOM 2.7.
proj
A projection string which could be passed to proj4::project and converts between the x,y and lat,lon coordinate systems for this grid.

Value

An instance of the fvcom.grid class.