Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tom Fischer
smallscripts
Commits
6f2ea9c4
Commit
6f2ea9c4
authored
Oct 06, 2022
by
Tom Fischer
Browse files
Example for renaming hdf5 vectors / data arrays
parent
c4fa5804
Changes
1
Hide whitespace changes
Inline
Side-by-side
renameH5.py
0 → 100644
View file @
6f2ea9c4
import
h5py
o
=
h5py
.
File
(
"/home/fischeth/w/o/s/Tests/Data/Parabolic/LiquidFlow/SimpleSynthetics/XDMF/square_5x5_tris_32.h5"
,
"r+"
)
m
=
o
[
'meshes'
][
'square_5x5_tris_32'
]
m
.
move
(
'VolumeFlowRate'
,
'VolumetricFlowRate'
)
o
.
close
()
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment