Python 3 script gets RIX values for all sites

The Python 3 script gets RIX values for all sites, from a WAsP project (.wwh) file.

On Windows (if one doesn’t use Python) then from a command-prompt (cmd) one may invoke the RIX-extractor with a WAsP-workspace file as such:

c:\somefolder\containing\waspfiles> RixPuller.exe Demo.wwh

The output will come to ‘the console’ (output to screen), but perhaps more usefully the script additionally writes a text file to the same path as the source workspace file (in the example above the path is c:\somefolder\containing\waspfiles\).
In the output, the first column is the type of site (turbine, reference or met. station), followed by columns containing x, y, z, and RIX. All of the numerical output is US-formatted decimals (period, not comma for decimal).

If you want to avoid the command-line, you can also just drag and drop a workspace file onto the exe and all this will be executed with no typing.

If one has Python, it can be invoked from a command prompt (e.g. on Windows or in a linux terminal), passing the name of the workspace file as an argument, like this:    

c:\somefolder\containing\waspfiles> python Demo.wwh

The output will be the same as outlined above.