makeGroup: Create a group in memory to hold CF objects

View source: R/makeCFObjects.R

makeGroupR Documentation

Create a group in memory to hold CF objects

Description

With this function a group is created in memory, i.e. not associated with a netCDF resource on file. This can be used to prepare new CF objects before writing them to file. Extracting data from a CFVariable into a CFArray instance will also create a virtual group.

Usage

makeGroup(id, name, fullname, parent = NULL)

Arguments

id

The id of the group.

name

The name of the group.

fullname

The full path and name of the group.

parent

Optionally, a parent group to which the new group will be added as a child.

Value

A NCGroup instance.


ncdfCF documentation built on April 16, 2025, 9:08 a.m.