extract_dim: Extract the dimension of a space and datatype

View source: R/convert.R

extract_dimR Documentation

Extract the dimension of a space and datatype

Description

Get the correct dimensions for a space and datatype

Usage

extract_dim(space, dtype)

Arguments

space

The space with the selection that was used to read the dataset

dtype

The datatype of the dataset

Details

This function uses the space and the selection in it to get the correct dimension for the resulting object (but without dropping dimensions). Furthermore, if the datatype is an array, those dimensions are correctly determined as well.

Internal use only; currently unused

Value

x, but with a new dimension attribute

Author(s)

Holger Hoefling


hdf5r documentation built on April 4, 2025, 2:38 a.m.