Added code able to extract profile, sub-int or sub-band data.