Sure, with pleasure. ![]()
I use the sigmf-python packet. With that one, it is fairly easy to generate the correct meta-data. It even calculates your the SHA512sum of the iq-data and give you the option to validate everything.
I published the script I currently use in production here:
Please feel free to re-publish your changes, or send them to me, if you do any. I would be especially interested in integrating or using a native way for the find_baudrate.py script, which is currently borrowed from the sa2kng docker stack.
If github is easier for you, I can publish it there too.