Skip to content

At read time, define the variable start/count with {0,...,0}/shape so…

Created by: pnorbert

… that the selection is the whole variable. This way Variable.TotalSize() is correct after InquireVariable, and also one can immediately just read the whole variable without making a selection.

I wanted to use TotalSize() after InquireVariable() to allocate the array for a single-process reader, but the TotalSize is calculated from offset/count, which was set with the first block's offset/count, not the entire variable.

As far as I know this piece was not used anywhere before and the new setup makes more sense when using it.

Merge request reports

Loading