<pre><code class="language-fortran">Replace this text with the Fortran function signature</code></pre>
IN: Identifier of the dataset to query
const hsize_t *offset
IN: Logical offset in the dataset for the chunk to query
OUT: The size in bytes for the chunk
H5D_GET_CHUNK_STORAGE_SIZE returns the size in bytes allocated in the file for a raw data chunk as specified by its logical offset in the dataset dataset_id. The size is returned in chunk_nbytes. It is the size of the compressed data if the chunk is filtered and the size may be zero if no storage is allocated yet for the dataset.
Returns a non-negative value if successful; otherwise returns a negative value.