-
-
Notifications
You must be signed in to change notification settings - Fork 297
Add support for VTKHDF #2170
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
Add support for VTKHDF #2170
Conversation
Well I guess pipelines should somehow rebuild their VTK with the added option |
Indeed, you need to increase cache value in |
We may want to document that somewhere |
mh CI is still not happy about it |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2170 +/- ##
=======================================
Coverage 95.88% 95.88%
=======================================
Files 127 127
Lines 11115 11118 +3
=======================================
+ Hits 10658 10661 +3
Misses 457 457 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
The CI workflow is basically not documented from a dev POV, There are more critical things to do imo. |
Our CI tests against VTK 9.2.6, which is not compatible with VTKHDF. If you can find the exact data it started working because you know the MR lets do that, but its not critical and you can cut off at 9.3.0 Of course you need to put that in the native plugin CMakeLists.txt and in the testing logic as well. |
Since hdf5 cannot be enabled on android, I think this should go into its own |
I think we moved exodus to its own plugin because of hdf. Maybe we can put it there and rename the |
That'd be possible indeed, but we need to deprecate the exodus plugin manually in the libf3d. That is doable though. |
Exodus does not depend on HDF as far as I'm aware |
I think it does: https://github.com/Kitware/VTK/blob/b4f4b646ff1f4761d2003fec94a08d0debf00c7e/ThirdParty/exodusII/vtk.module#L10 |
Oh right, I can make a |
There is no dedicated deprecation mechanism for option values, so it will have to be handled manually. The best way is probably to handle that in That can wait, you can start by creating the plugin first and add support for vtkHDFReader in it, then move exodus into it. |
You are modifying libf3d public API! |
Moved the reader to a |
That was fast ^^, let me know if you need help with the deprecation of the exodus plugin. |
Deprec and testing done, let me know if it is what you had in mind |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice, some small changes needed
Please note this will also require changes in the f3d-superbuild
7297ec2
to
a7697eb
Compare
About that, I have 2 possibilities in mind:
What is the preferred way? EDIT: created a new dummy project here: f3d-app/f3d-superbuild#241 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve discussions when you adress them :)
This new plugin will host file readers that depend on HDF5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've edited the PR descr for the new CI workflow template. Please check the checkboxes for CI when you want.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last comment
Describe your changes
VTKHDF is the new-generation HDF5-based file format for VTK. F3D can read both legacy and XML VTK format, so it would make sense to also add support for VTKHDF.
VTKHDF is still under development, so all VTK 9.X versions may not have full support.
Test data generated from ParaView 5.13.3.
Checklist for finalizing the PR
Continuous integration
Please check the checkbox of the CI you want to run, then push again on your branch.