Skip to content

Unclear error message #1120

Open
Open
@eschnett

Description

@eschnett

I received this error message:

  Chunk does not reside inside dataset (Dimension on index 2. DS: 50 - Chunk: 100)

It took me a while to decipher it. I assume this means that, in dimension 2 (counting from 0), the dataset has an extent of 50, while the chunk has an extent of 100.

I suggest to use the same terminology as in the API description ("extent", not "dimension"; maybe "direction" instead of "index), and to not abbreviate "dataset". It would also be convenient to give more information, as in

Chunk does not reside inside dataset.
Chunk extent: [100,100,100]
Dataset extent: [100,100,50]
Error in dimension 2.

It would also be convenient to output the name of the function that reports this error (here store_chunk).

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions