fvcom_crs: Retrieve the CRS

View source: R/nc.R

fvcom_crsR Documentation

Retrieve the CRS

Description

Retrieve the CRS

Usage

fvcom_crs(
  x,
  what = c("lonlat", "xy")[1],
  form = c("wkt", "epsg", "proj")[ifelse(tolower(what[1]) == "xy", 1, 2)]
)

Arguments

x

FVCOM ncdf4 object

what

character either 'xy', 'lonlat' or 'longlat'. Actually, if not 'xy' then 'lonlat' is returned.

form

character, one of 'wkt', 'epsg' or 'proj' By default 'wkt' if what is 'xy' and 'epsg' otherwise.

Value

character CRS


BigelowLab/fvcom documentation built on Nov. 8, 2024, 2:24 p.m.