Storing Meta data with a vtk file

I’ve written a suite of tools that take in raw arrays of data from a file, combine it with an associated mesh, and then write out a vtk file. I’d like to write meta data to the output vtk file that says where the original “raw” data and mesh came from. Is that possible?

If this is not possible, the output vtk files are multiblock files, so I have the backup plan of writing a “reciept” file into the directory that stores the vtk block files. Are there any unforseen issues in doing this?

You can save metadata in field data. See some more details in this post:

2 Likes