The function uses DATA_PAGING_SIZE as the subset size but fails to consider file_time_s when calculating mm_length and using np.memmap. This results in an index mismatch and raises a ValueError: mmap length is greater than file size error.
input
- file:
ns4
- param:
file_time_s=30
env:
- numpy 1.24.3
- python 3.10.12