Dear all,
My colleague uses a Linux computer and gave me a sddsfile from elegant to be used as an input file in my elegant program (PC cygwin). When I do a sddsquery, thinks looks fine. But when I fire a sddsplot command, I get the following error
sddsplot filename -col=t,x results in
warning:problem reading data from file filename
Unable to read page -- couldn't read parameters <SDDS_ReadAsciiPage>
Unable to read page -- parameter scanning error <SDDS_ReadAsciiParameters>
Unable to scan data -- scanning or allocation error <SDDS_ScanData>
error:no datasets to plot
when we tested the same command in Linux, it works fine. Is there some compatibility issue and if so , how can we overcome this? thanks for support.
regards,
Charles
sddsplot error
Re: sddsplot error
Can you send me the file to examine? soliday@aps.anl.gov
Re: sddsplot error
You found a bug. Our SDDS code on Windows is not reading the NaN value right and that is causing the problem. In your case you could first filter the file on linux with the command sddsconvert filename.sdds -delete=parameter,Charge before trying to plot it on Windows. The other option is to make sure that the value of Charge is not NaN but an actual number.
I'll fix this for the next release.
I'll fix this for the next release.
Re: sddsplot error
Dear Soliday,
I did what you said and now it is working perfectly. I am glad that my question was a useful one for the community. Thanks!
regards,
Charles
I did what you said and now it is working perfectly. I am glad that my question was a useful one for the community. Thanks!
regards,
Charles