Hi, Is it normal the data set of _DEN _WFK _HIST looks like
'^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^H33^T<84>ɳ@^Q
=ZÂÑÙ^@^@^@^@^@^@^@^@@^H33^T<84>ɳ^@^@^@^@^@^@^@^@@^C^T<9a>èpË?ø33^T<84>ɳ@^Q
=ZÂÑÙ@^C^T<9a>èpË?ø33^T<84>ɳ@^A
=[^]»O?ó^T<9a>èpË@^R&fO^HÑ@^Y<8f>\^HQ¯<81>?ó^T<9a>èpË@^R&fO^HÑ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@ ^Y¸^Z^MGf^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^VÝ<9d>^?<82>A9@ ^Y¸^Z^MGf^@^@^@^@^@^@^@^@@^VÝ<9d>^?<82>A9^@^@^@^@^@^@^@^@@^R<97>Yïàx%@^FÝ<9d>^?<82>A9@ ^Y¸^Z^MGf@^R<97>Yïàx%@^FÝ<9d>^?<82>A9@^P^Y¸^Zc-¢@^B<97>Yïàx%@!&6^_KÊ°@(&<94>'>Þ8@^B<97>Yïàx%@!&6^_KÊ°^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@?ÕUUUIó<99>^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@?ÕUUU<9d>v;?ÕUUUIó<99>^@^@^@^@^@^@^@^@?ÕUUU<9d>v;^@^@^@^@^@^@^@^@?Ø¢4\<82>^B ?ÅUUU<9d>v;?ÕUUUIó<99>?Ø¢4\<82>^B ?ÅUUU<9d>v;?ÅUUU»Äô?È¢4\<82>^B ?ßÿÿÿËè@?à^@^@^@^Së
'
cut3d works fine, but diag_moldyn.py isn't working, I guess its because of the format of data.
I tried so long to convert this format using struct module in python
but didn't have luck,
anybody please??
I should make it work.
Soo
[SOLVED]Broken _DEN _WFK __HIST
Moderators: MMNSchmitt, gonze
[SOLVED]Broken _DEN _WFK __HIST
Last edited by jh502125 on Thu Nov 17, 2011 8:21 am, edited 1 time in total.
Re: Broken _DEN _WFK __HIST
By the way, when i execute diag_moldyn.py it say that
AttributeError: 'netcdf_variable' object has no attribute 'data'
Help me..
AttributeError: 'netcdf_variable' object has no attribute 'data'
Help me..
Re: Broken _DEN _WFK __HIST
Oh. I just solved the problem.
My scipy version was too old. But I couldn't installed new version. (it cannot be done with sudo or yum. As ubuntu software has old version.)
Only was is download the package of new scipy and install it witch is kind of complex.
So, I just downloaded latest version of netcdf.py module in website.
http://www.java2s.com/Open-Source/Pytho ... cdf.py.htm
And, I just replaced the old netcdf.py with new one. like this.
It turned out that __DEF, __HIST etc.. are all originally unformatted file, and netcdf.py is the module to encode ASCII code to txt.
Man.. I spent whole day for this... Sigh.
Just leaving notes for the gal pal who are struggling with the same issue as i.
Soo
My scipy version was too old. But I couldn't installed new version. (it cannot be done with sudo or yum. As ubuntu software has old version.)
Only was is download the package of new scipy and install it witch is kind of complex.
So, I just downloaded latest version of netcdf.py module in website.
http://www.java2s.com/Open-Source/Pytho ... cdf.py.htm
And, I just replaced the old netcdf.py with new one. like this.
Code: Select all
sudo cp ./netcdf.py /usr/lib/python2.6/dist-packages/scipy/io/netcdf.py
It turned out that __DEF, __HIST etc.. are all originally unformatted file, and netcdf.py is the module to encode ASCII code to txt.
Man.. I spent whole day for this... Sigh.
Just leaving notes for the gal pal who are struggling with the same issue as i.
Soo