You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I've met an issue recently when using OOMMFDecode to convert .ovf files into MATLAB data files. The program runs correctly for vector files in most cases. But when it comes to some scalar files, there arises error message as below:
Data indicator: # Begin: Data Binary 4
Little-endian 4-byte detected.
unpack requires a buffer of 4 bytes
Traceback (most recent call last):
File "D:\OOMMFTools\oommftools\user_interfaces\gui\oommfdecode.py", line 216, in OnDropFiles
maximum=len(oommf)))
File "D:\OOMMFTools\oommftools\user_interfaces\gui\oommfdecode.py", line 243, in groupUnpack
return (decodedArrays, headers, extraData)
UnboundLocalError: local variable 'decodedArrays' referenced before assignment
In OOMMF, the relevant quantities of scalar files are saved in the X coordinate, so they are still vectors in fact. Actually I can check scalar files through other ways, and I'm just wondering what goes wrong. Thanks.
The text was updated successfully, but these errors were encountered:
There's a file output by mumax3 (mumax3 is a GPU-accelerated micromagnetic simulation program). It saved the temperature distribution of the system, where I defined a thermal gradient (300-500K) along the X direction. Fig.1 shows what it views in OOMMF. Fig.2 is the bitmap file converted by OOMMFConvert.
Thanks, I can recreate the error now. I'll see if I can find and fix the problem, but I'm glad you're able to check the scalar files in other ways in case I can't fix it!
Hi. I've met an issue recently when using OOMMFDecode to convert .ovf files into MATLAB data files. The program runs correctly for vector files in most cases. But when it comes to some scalar files, there arises error message as below:
In OOMMF, the relevant quantities of scalar files are saved in the X coordinate, so they are still vectors in fact. Actually I can check scalar files through other ways, and I'm just wondering what goes wrong. Thanks.
The text was updated successfully, but these errors were encountered: