h5web icon indicating copy to clipboard operation
h5web copied to clipboard

Avoid loading data for matrix/heatmap view when selecting a large 2D dataset

Open t20100 opened this issue 9 months ago • 1 comments

Is your feature request related to a problem?

When opening a large 2D dataset containing many curves (shape: 1e6 x 3000, dtype: float32), it takes a huge amount of time to load for the matrix view or heatmap view... while one want to browse the curves with the Line view.

Requested solution or feature

It would be nice to avoid loading the whole dataset when it is too large and not needed. A button to confirm loading the matrix/heatmap view when data is obviously too big would allow to switch to the Line view without waiting for the dataset to be loaded.

Alternatives you've considered

Use a threshold of the image size to select the default view for 2D datasets: heatmap or line if too large.

Additional context

Related to #1650

t20100 avatar May 22 '24 07:05 t20100