Capping with an irregular surface

What process do I use to cap this irregular end?
Hood Louvres4.3dm (636.4 KB)

Hello- make your shape with squared up ends then extrude a curve through it at each end, then trim and join-


Hood Louvres4_PG.3dm (615.0 KB)

-Pascal