Deltares / Deltares/imod-python
[FEATURE] - Create VTK exporters
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 41
- Forks
- 12
- Avg merge
- 21h 8m
- Merged PRs (30d)
- 1
Description
Part of the wishlist on our roadmap, we could do with some exporters to VTK to easily view things in 3D viewers like Paraview or PyVista. We already have a function to write structured grids to VTK for PyVista, but lack this for unstructured grids (DISV). This is low-hanging fruit.
Furthermore, we'd like to be able to export a complete simulation to VTK. Griddata will be exported to VTK files, and the model structure can be stored in a .pvd file for which both Paraview and PyVista have readers.
@FTW12345, mentioned he had some example code which can be our starting point. Furthermore I know Flopy also has some exporters we could take inspiration from.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by locating the existing structured-grid VTK writer, then review the example code from @FTW12345 and Flopy's exporters. Done means supporting unstructured DISV grids and exporting complete simulations, including grid data and a .pvd model structure readable by Paraview or PyVista.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100