-
Notifications
You must be signed in to change notification settings - Fork 4
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
csv xyz formatting and density #326
Comments
This link just came by miraculous on my Google feed. https://vtk.org/Wiki/VTK/Writing_VTK_files_using_python I guess I test this out |
Your best bet is to use a library like See:
You'll either make a
You'd need to subsample the grid. We have some helpers methods to do that with the |
Hi Bane thanks for your reply. I did have some success with polydata and meshgrid but wasn't quite sure if this was the best option. hope you can hep out. |
Apologies for the slow response, I am trying to go through and resolve stale issues. The data link appears to have expired and you mention having success with polydata, so I am going to close this. Please re-open/re-comment if you still have a question for this topic |
Hi
I hope you all are well and having a great festive season.
Ive been trying to find the best plugin/way to visualise bathymetry data sets, and have tried quite a couple.
I like the look and feel of pv and had some great results already. In addition, the demos are great teasers, really like them.
Just to let you know, I am probably considered an intermediate beginner with python.
Now that that is out of the way. I want to import bathymetry data for visualisation (and later on, perform underwater acoustic calculations on the imported bathy arrays).
my datasets can be of average size (200mb), or pretty big (~800mb) but the gist of it is, most of the time I first convert it to an x,y,z.csv
What I would really like is something like the Ruapehu demo. I downloaded the raw file but it was pretty much unreadable in text format. *edit, it is a *.vtk which looks like it is a binary file
I basically have two questions:
Is there a converter (or another easy way) for an x,y,z.csv to the Ruapehu format.
In addition, is there an easy way to reduce the grid density size without interpolation. For example only plot 50m x 50m instead of 1m x 1m.
kind regards
The text was updated successfully, but these errors were encountered: