"the 480V generator will power this panel through a little 30 KVA transformer.

And then..............?"

While a 30KVA transformer looks a little undersized for the generator. (I am guessing by the 6cyl diesel that it is 60KW or more)
If it has a correctly sized OCD it should be fine electrically. No doubt the diesel will wet stackfrom being underloaded, but that is another story. Outside of the EMT over the exhaust, I don't see too much problem.
Well, I don't see any fire suppression system either, but that could just be outside of the photo.