How dangerous is it to leave a 35KVA diesel generator ungrounded?
Temporary structures and (cheap) workers - permanent graves...

The generator should be properly earthed or grounded as per the manufacturer's instructions and / or relevant codes in the area.

And so should all the structures and any other electrical devices.