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

Remove unnecessary directory level in vtu output #363

Open
stephankramer opened this issue May 10, 2024 · 0 comments
Open

Remove unnecessary directory level in vtu output #363

stephankramer opened this issue May 10, 2024 · 0 comments
Assignees

Comments

@stephankramer
Copy link
Contributor

stephankramer commented May 10, 2024

In our vtu outputs when writing a pvd, it's written to outputdir/name/name.pvd where name=Elevation2D, Velocity2D, etc. Originally this made sense as the series .(p)vtu files were then be grouped together in outputdir/name/. However these days firedrake also adds an additional level, and so so now outputdir/name/ only contains outputdir/name.pvd and an additional name/ subdirectory , so we get outputdir/name/name/name_0.vtu which seems excessive.

I propose to simply remove the additional level that Thetis adds: i.e. we get outputdir/name.pvd and outputdir/name/name_0.vtu, etc. This has the additional benefit that all .pvd files from a single run end up at the same level in outputdir/ which makes it easier to navigate in paraview.

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

No branches or pull requests

1 participant