The forum is locked.

The Ocean Color Forum has transitioned over to the Earthdata Forum (https://forum.earthdata.nasa.gov/). The information existing below will be retained for historical reference. Please sign into the Earthdata Forum for active user support.

Up Topic Products and Algorithms / Satellite Data Products & Algorithms / Problem with l2bin applying SWIR atmospheric correction on MODIS Aqua files
- By mahatmafernandes2 Date 2020-06-30 12:00
Hi everyone.

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: terminal_lines_SWIR (33k)
Attachment: Sal_modis_SWIR.sh (1k)
Attachment: Sal_modis_NIR.sh (1k)
- By seanbailey Date 2020-07-08 12:26
The binner is not finding any non-flagged pixels to bin.  Have you looked at the input L2 files?  Using SeaDAS, you can apply the flags used in the binning as masks to see how much of the scene is masked - and what is masking.

Sean
- By mahatmafernandes2 Date 2020-07-09 12:58
Hi Sean.
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.
Up Topic Products and Algorithms / Satellite Data Products & Algorithms / Problem with l2bin applying SWIR atmospheric correction on MODIS Aqua files