Learn R Programming

ncmeta (version 0.5.0)

nc_dims: NetCDF dimension

Description

Get information about the dimensions in a NetCDF source.

Usage

nc_dims(x, ...)

# S3 method for character nc_dims(x, ...)

# S3 method for NetCDF nc_dims(x, ...)

# S3 method for ncdf4 nc_dims(x, ...)

Value

data frame of dimension information, one row per dimension, with columns 'id', 'name', 'length', 'unlim'

Arguments

x

file address or handle

...

ignored

Examples

Run this code
f <- system.file("extdata", "S2008001.L3m_DAY_CHL_chlor_a_9km.nc", package = "ncmeta")
nc_dims(f)

Run the code above in your browser using DataLab