I am trying to process L1A MODIS Aqua files to L3m applying two atmospheric corrections, using NIR and SWIR bands using shell scripts on Linux terminal. I made de L3m with NIR corrections with no problems, but the SWIR processing stops on L2 -> L3b. I do not know whats is happening.
I will attach the NIR and SWIR shell scripts, my custom filter file and the terminal lines during the SWIR processing of one file (This problem occurs in the processing of all my 330 L1A files).attachment 1
Thanks for the answer.
In fact, I'm not sure how to do what you suggested. But I removed Rrs_1240 and Rrs_2130 from the L2 products on l2gen function and I could get the L3m files. I can survive without it. I'm not sure if there is a relationship but 1240 and 2130 is the wavelength set by me in aer_wave_short and aer_wave_long parameters on l2gen function.