nc_gridsize: Calculate number of cells in netcdf grid

Description Usage Arguments Examples

View source: R/grid_size.R

Description

This function provides the number of cells in the horizontal netcdf grid

Usage

1
nc_gridsize(ff, cdo_output = FALSE, date_range = NULL)

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 grid size of the sample file
ff <- system.file("extdata", "woa18_decav_t01_01.nc", package = "rcdo")
nc_gridsize(ff)

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