Closed BrianWhitneyAI closed 1 week ago
Also, we should use the "File Size" metadata field when we can (available on the file object as the "size" property) and only calculate the file size when that isn't provided
I disabled the download button on web for zarrs larger than 2 GB and had the size default to fileDetail.Size. Notably we internally set size to 0 if size is not present.
I left intact the download error message since users could batch select files and download them using the download option, bypassing the file detail download button.
I left intact the download error message since users could batch select files and download them using the download option, bypassing the file detail download button.
Can we disable that ahead of time as well?
I left intact the download error message since users could batch select files and download them using the download option, bypassing the file detail download button.
Can we disable that ahead of time as well?
What would that look like? just if any large zarr is selected it cannot be downloaded? I think this might be confusing to users who select a bunch of files but are blocked by a single zarr file.
I left intact the download error message since users could batch select files and download them using the download option, bypassing the file detail download button.
Can we disable that ahead of time as well?
What would that look like? just if any large zarr is selected it cannot be downloaded? I think this might be confusing to users who select a bunch of files but are blocked by a single zarr file.
I think just the focused file is downloaded the moment so you'd just need to calculate that one which you'd already be doing / have done for the filedetails pane
The purpose of this PR is to resolve #283. In web browsers we have to read the entire zarr image into memory and cannot stream files as zarrs are a full directory. As a result of this we are bound to the browsers inherent memory limit of about 2GB. We should notify users if they are trying to download a file larger than this threshold.