Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index mismatch class NsxFile savesubsetnsx() #29

Open
TThomas001 opened this issue Jul 23, 2023 · 0 comments
Open

Index mismatch class NsxFile savesubsetnsx() #29

TThomas001 opened this issue Jul 23, 2023 · 0 comments

Comments

@TThomas001
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant