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 = -1L, name = "/", fullname = "/", parent = NULL)

Arguments

id

The id of the group, default -1L.

name

The name of the group, default "/".

fullname

The full path and name of the group, default "/".

parent

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

Value

A NCGroup instance.


ncdfCF documentation built on June 8, 2025, 12:45 p.m.