The session must have weather set to 'scripted,' and you need to run the track once to make sure it creates the wet file.
It runs from the command line (or a python IDE) and rewrites the wet files in the folder of the track you want to use. Here is a Python 3.5 script that you can use to generate historic weather.