-
Notifications
You must be signed in to change notification settings - Fork 0
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
Overflow issue in reading DFS2. #15
Comments
This is the first time I have sen this with a Dfs2 file. Can you provide some additional info on which tool/engine that produced the file and the dimensions and a few screenshots from Mike zero with item info, dimensions, spatial axis info etc. |
Please find the sample file from that link. |
what is the issue, in file or any python library? |
The problem is in the decoding it in python. You can try to use an older version MIKE IO v 0.6.4 which is based on the .NET SDK, and see if this is any different, until @JesperGr have time to look at this file.
|
I did try today to reproduce this issue. But I could not. It works all fine to call 'dfs2File = DfsFileFactory.Dfs2FileOpen('BalEge_Ref_2DSZ.dfs2')' Can you please try with the lastest version of mikeio to see if the problem is still there. There was a fix on August 27 2021 stating "Fixing reading and writing encoding keys, used by most dfs3 files.". I am suspecting that mikeio did not include that fix at that point in time. |
When i read DFS2 file overflow error happened. (ArgumentError: argument 2: <class 'OverflowError'>: int too long to convert)
I am using latest mikeio version.
.
The text was updated successfully, but these errors were encountered: