I have 22 CALIPSO data files in my folder. I have accessed the parameters required for 1 files and stacked it. Now I want to do it for all other 22 files and store it in a single variable called outData.
I created and empty array outData[]
. I want to append all the required data from these files to it.
I have tried append
, np.append
but it didn't work.
I also used:
outData = [np.genfrom(file_path, delimiter=',', skip_header=3, skip_footer=18)for file_path in FILE_NAME]