nc_grid: Extract the horizontal grid from a netcdf file

Description Usage Arguments Examples

View source: R/grid.R

Description

This function longitude/latitude grid cells in a netcdf file

Usage

1
nc_grid(ff, cdo_output = FALSE)

Arguments

ff

This is the file to analyze.

cdo_output

Do you want to show the cdo output? Set to TRUE in case you want to troubleshoot errors.

Examples

1
2
3
# Get the horizontal grid of the sample file
ff <- system.file("extdata", "woa18_decav_t01_01.nc", package = "rcdo")
nc_grid(ff)

r4ecology/rcdo documentation built on July 21, 2019, 9 p.m.