Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 463 Bytes

demo_convert2vti.md

File metadata and controls

20 lines (17 loc) · 463 Bytes

---

title: Converting to VTK

id: demo_convertvtk

date: 2023-02-25

author: "Hongyang Zhou"

julia: 1.8.5

description: This demo shows how to convert VLSV to VTK

---

To convert VLSV time series files to VTK image files using multithreads,

using Vlasiator

files = filter(endswith(".vlsv"), readdir())

Threads.@threads for file in files
   @info file, Threads.threadid()
   write_vtk(file; vti=true)
end