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

File size #61

Open
adevaucorbeil opened this issue Sep 10, 2024 · 1 comment
Open

File size #61

adevaucorbeil opened this issue Sep 10, 2024 · 1 comment

Comments

@adevaucorbeil
Copy link

In spite of the RawBinaryCompressed mode, my vtu files are still way too large to transfer over the internet. I would like to find a good way to compress them even more.
My code does use single precision and I wander if it would be possible to use single precision within the files (instead of doubles). Would this cause problems with Paraview?

@phmkopp
Copy link
Owner

phmkopp commented Sep 10, 2024

If you have a lot of data there might only be so much you can do to reduce the file size. Make sure you have zlib enabled since RawBinaryCompressed otherwise silently forwards to RawBinary (see this line). Then, you can choose smaller data types as you already mentioned. Single precision is one option, but a significant amount of data might come from the mesh data structure for which you may be able to choose smaller integer types. Generally paraview shouldn't have issues with that, although I had problems with unsigned integer types in the past. Lastly, you might get a few additional percentages by packaging your (already compressed) files into a compressed archive before sending them over a network.

If that doesn't help you probably have to find a different solution. If you cannot reduce the amount of data, postprocessing on the remote machine may be the only option left. Paraview allows you to start a server on the remote machine and connect to it with your local client (see here). Alternatively, you could script your postprocessing on the remote machine and only transfer the images and videos.

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

2 participants