Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Whitfield, Ross
wand
Commits
eb466977
Commit
eb466977
authored
Feb 19, 2019
by
Whitfield, Ross
Browse files
Update IPTS-21442/vts_to_vti.py
parent
9fa166d9
Changes
1
Show whitespace changes
Inline
Side-by-side
IPTS-21442/vts_to_vti.py
View file @
eb466977
...
...
@@ -8,5 +8,5 @@ for filename in filenames:
_
,
x
,
_
,
y
,
_
,
z
=
vts
.
GetDataInformation
().
DataInformation
.
GetExtent
()
print
(
x
,
y
,
z
)
resampleToImage
=
ResampleToImage
(
Input
=
vts
)
resampleToImage
.
SamplingDimensions
=
[
x
,
y
,
z
]
resampleToImage
.
SamplingDimensions
=
[
x
+
1
,
y
+
1
,
z
+
1
]
SaveData
(
filename
.
replace
(
'vts'
,
'vti'
),
proxy
=
resampleToImage
)
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