The problem is the option (–rad-params). I am not sure of the syntax here. The help doc says –rad-params TEXT, so I did –rad-params -aa 0.25 -ab2 -ad 512 … I also tried to put ‘-aa 0.25 …’ into a txt file and did –rad-params radpara.txt but still got errors.
Most CLIs use the convention that, if you put arguments in between double quotes (""), then they will be interpreted as a single argument instead of separate arguments (normally separated by spaces). So just change your --rad-params from this:
–rad-params -aa 0.25 -ab2 -ad 512
… to this:
–rad-params "-aa 0.25 -ab2 -ad 512"
… and everything should work.
That’s just how the --help text displays the placeholder for the CLI input argument. You are meant to replace <metric> with one of the four text options that you see there (luminance, radiance, illuminance, irradiance).