You could do it with CDO, using the intlevel
or intlevel3d
.
Try:
cdo intlevel,3.643,7.595,14.36 input.nc output.nc
where you specify the exact levels of the lev variables to use (like 3.643,7.595,14.36). For more details look at intlevel, intlevel3d discussion