is_netCDF_gridded: Determine if a netCDF has a gridded or discrete xy-space

View source: R/functions_netCDF.R

is_netCDF_griddedR Documentation

Determine if a netCDF has a gridded or discrete xy-space

Description

Determine if a netCDF has a gridded or discrete xy-space

Usage

is_netCDF_gridded(x, xy_names = c("lon", "lat"))

Arguments

x

An object identifying a netCDF file, i.e., a character string as file name or an object of class ncdf4 derived from ncdf4::nc_open.

xy_names

A vector with two character strings. The names of the x and y spatial dimensions of a netCDF file.

Value

A logical value


DrylandEcology/rSW2st documentation built on Jan. 10, 2024, 6:22 p.m.