A good job was done considering the load on the indoor wiring, but the exposed wires on the outside of a building concern me. Typically wires have some level of insulation and/or conduit that reduces and contains the spread of fire. If wind did move the panels around, those wires could pull loose and start a fire.
SF does not perform frequent building inspection, but if an inspector saw this they would almost certainly cite that this violates building code. In the event of injury, insurance might not pay out given how this is setup.