-
Notifications
You must be signed in to change notification settings - Fork 41
Unv data file with bad data format exported from simcenter test.lab can not read #88
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
Comments
Thank you @masonacezllk ! can you prepare a pull request please? |
dear @masonacezllk there are several datasets in the attached test.zip file. Can you please prepare a minimum working example? (single dataset, short example of data) |
@masonacezllk is this still valid? |
Changed like below: Then I could load uff data correctly. |
Ok, I have now been able to identify the cause: the wrong use of CRLF in the dataset 58b. Your solution handles the issue correctly if the datafile is not properly written (in 58b, there should be no CRLF before " -1" which is used to separate datasets) Can you please double check if the current code works for you? |
@masonacezllk did you get the message above :) ? |
Sorry for my poor English, The come which i changed works finechanged. Thanks for checking the code.😊
…---Original---
From: "Janko ***@***.***>
Date: Tue, May 13, 2025 21:36 PM
To: ***@***.***>;
Cc: "Masonacez ***@***.******@***.***>;
Subject: Re: [ladisk/pyuff] Unv data file with bad data format exported fromsimcenter test.lab can not read (Issue #88)
jankoslavic left a comment (ladisk/pyuff#88)
@masonacezllk did you get the message above :) ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I understand all is fine :) and will finish this pull request :) |
The following data file 'test.unv',which exported from Simcenter Test.lab 2021 in binary format, can not load with pyuff in python.
I found that this unv file is badly format.
I changed the _extract58 function in dataset_58.py file to correct load my 'test.unv' data, code changed list below:
After Changed this codes, I finally load my data.
Is that right?
test.zip
The text was updated successfully, but these errors were encountered: