I would like to write a program to automate several simulations from LTSpice and post-process the resulting .raw file data.
Is there a document that is available the describes the LTSpice .raw data file format?
You can use LTspiceXVII in batch mode. See the help pages: Modes of Operation -> Command Line Switches
When you then use the option -ascii, you will get a raw-file formatted in ASCII-text…
I just tried a search with Google: ltspice raw-file format
I got a lot of results from other LTspice-users who have already written programs in Matlab and Python to read data from raw-files…
Yes, there are many documents available to read raw files from LTspice to any software language like Matlab or Python.
I would recommend using ltspice package which is available in python.