nc_step: Compute the mean step. If the step size is provided in the...

Description Usage Arguments Value

Description

Compute the mean step. If the step size is provided in the global attributes then it is advised you use that information. See ncglobal_atts()

Usage

1
nc_step(NC, dim_names = c("lon", "lat"))

Arguments

NC

a ncdf4 class object

dim_names

a two element character vector providing the names of the x and y coordinates. By default c('lon', 'lat')

Value

a 2 element numeric of the mean step size - always positive


BigelowLab/spnc documentation built on May 5, 2019, 2:45 p.m.