Date: 202201
Local time of day: 1801-2400
Location: ZZZ.Airport, US
Flight conditions: VMC
Aircraft: Light Transport; Low Wing; 2 Turbojet Eng
Operator: Air Carrier
Flight plan: IFR
Mission: Passenger
Flight phase: Climb
Aircraft component: Engine
Component problem: Malfunctioning
Reporter organization: Air Carrier
Reporter function: Approach; Pilot Flying; Captain
Reporter qualification: Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Human factors: Time Pressure
Second reporter function: First Officer; Pilot Not Flying
Anomaly: Aircraft Equipment Problem Critical; Deviation / Discrepancy - Procedural Published Material / Policy
Detector: Person Flight Crew
When detected: In-flight
Result: Air Traffic Control Provided Assistance; Flight Crew Landed in Emergency Condition; Flight Crew Regained Aircraft Control; Flight Crew Requested ATC Assistance / Clarification; General Maintenance Action
Contributing factors: Aircraft; Human Factors
Primary problem: Aircraft

Narrative: During climb out of ZZZ experienced a series of violent shock vibrations passing 13;000 feet. ECAM message ENG 1 STALL. Retarded the left engine to idle and kept it running for the rest of the flight. With VMC conditions and being overhead ZZZ1; it was the logical choice to [advise ATC] and land ZZZ1. We were on a high left downwind already at 13;000 ft. and had not even begun to prepare for the approach and landing. Felt very rushed. Sent an ACARS msg to notify dispatch intending to say; '7700 landing ZZZ1' but instead accidentally sent; '7500 landing ZZZ1' which was inappropriate and confusing. Made PA to passengers of our intent to divert to ZZZ1 but; did not give Flight Attendent a full briefing. Also; did not Activate and Confirm and the FMGC remained in Descent mode. Awkward at first but corrected the thrust; and established and maintained a stabilized approach to [Runway] XXL; landing very smoothly in the touchdown zone. Allowed the aircraft to roll to an exit; where we were met by ZZZ1 CFR trucks who inspected the left engine. Then taxied uneventfully to the gate.


Second narrative: As we were departing ZZZ; passing through 13;000 ft the #1 engine began a series of loud bangs accompanied by violent yawing. This happened at least three times. The Captain said 'compressor stall; I have the aircraft; advise and tell ATC we need vectors to ZZZ1.' At that point we stopped our climb; the Captain reduced the thrust lever on the #1 engine which stopped the compressor stall. We were only 25nm southwest of ZZZ1; weather was clear (visibility unlimited; sky clear). After advising with ATC; [they] gave us vectors and a descent in order to line us up with Runway XXL. The Captain brought the #1 thrust lever to idle which stopped the compressor stall. The remaining part of the flight happened fast. I was able to change the destination in the FMGC to ZZZ1 and load the ILS XXL but didn't pull runway data or activate the approach. We landed without issues and taxied off the runway and set the parking break. I informed ground we needed a few minutes for crash fire rescue to look over our left engine while I coordinated with Ops for a gate. There was nothing unusual that the crash fire rescue could see so we requested to taxi to the gate in order to deplane passengers. We arrived at the gate and ran our parking checklist. Maintenance met us at the gate.


Synopsis: Flight crew reported experiencing compressor stall on the number one engine during climbout; and diverting to nearby airport.