Roof hatches should never be opened when driving with passengers.

On a bus, it is acceptable to lock some roof hatches in partially-opened positions to allow fresh air into the bus, but this should not be made a regular practice. It is important to remember that opening a roof hatch will slightly increase the vertical clearance of a bus.
DMV Writen Test