theophilusx.netcdf.groups

Functions for manipulating Group objects.

-group->map

(-group->map grp)

Returns a map representing a NetCDF group. The map contains the keys name = group name, root = true if this is the root group, attributes = vector of group attributes, dimensions = dimensions of variables in the group variables = vector of variables in the group and obj = the low level NetCDF group object.

-mk-group-map

(-mk-group-map grp)

Returns internal representation of NetCDF group as a map

group

(group nc group-name)

return a group given the full group name.

group->string

(group->string grp-map)(group->string grp-map indent)

groups->vector

(groups->vector grp-list)

root-group

(root-group nc)

Returns a map for the root group containing keys for :name, :root?, :attributes, :dimensions, :variables, :obj and :children. The nc argument is a netcdf file object returned from a call to open or open-in-memory.