ncglobal_atts: Retrieve a named list of global attributes

Description Usage Arguments Value

Description

Retrieve a named list of global attributes

Usage

1
ncglobal_atts(NC, rm_pattern = "NC_GLOBAL.", fixed = TRUE)

Arguments

NC

a ncdf4 object

rm_pattern

character a pattern of characters to remove from the attribute names. By default 'NC_GLOBAL.'. Set to "" or NA to skip

fixed

logical by default TRUE but see grepl

Value

named vector of global attributes


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