Skip to content
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

GMS crashes when importing large RPL files #2

Open
ricounet67 opened this issue Jul 19, 2022 · 3 comments
Open

GMS crashes when importing large RPL files #2

ricounet67 opened this issue Jul 19, 2022 · 3 comments

Comments

@ricounet67
Copy link

I have an issue when importing RPL files. My raw data are larger than 1Go and when I try to import them, GMS freezes and finally crashes.
The version is GMS 2.32 64 bits and the PC is running Windows 10.
Do you have any ideas to export data from hyperspy to GMS ?

@ericpre
Copy link
Member

ericpre commented Jul 19, 2022

If I remember correctly, this is GMS issue when reshaping the data and there is not much to do about it...
You can try to use https://github.com/niermann/gms_plugin_hdf5 but it will not read the calibration by default.

@ricounet67
Copy link
Author

I tried but data are not in good order.
when I save the data in hspy format and open them with the hdf5 plugin, I have a data cube not XYEnergy but EnergyYZ. I remember that it can be changed in hyperspy before saving but I can’t recall the command

@francisco-dlp
Copy link
Member

HyperSpy does not support writing to dm3/4, but there are other opensource Python packages that do. You could try saving the data to DM with one of the following packages (there may be others):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants