Page 1 of 1

SeaDAS cannot reproduce OBPG l2 product

Posted: Mon May 15, 2023 6:34 pm America/New_York
by jing.tan
Hi, I downloaded the latest version of SeaDAS and installed the ocssw processor. I believe everything is up to date. However, when I processed one level 1a MODIS-A image to l2 and compared the chlor_a with the l2 product released online by OBPG, the values are actually not the same. Does this mean that SeaDAS does not include the latest processing parameters? How to generate exactly the same l2 product? Thanks!

Re: SeaDAS cannot reproduce OBPG l2 product

Posted: Tue May 16, 2023 9:59 am America/New_York
by OB SeaDAS - xuanyang02
Can you do SeaDAS-Toolbox -> Software & System Info, and post the results here?

Please share the filename of L1A and L2. Did you run l2gen with GUI or command line? Did you use the default settings of l2gen? Did you use the ancillary data?

Re: SeaDAS cannot reproduce OBPG l2 product

Posted: Tue May 16, 2023 12:08 pm America/New_York
by jing.tan
L1A: A2023131213500.L1A_LAC

I ran l2gen using command line. I used the default setting of l2gen. The command that I used is: " l2gen ifile=xxx ofile=xxx l2prod="Rrs_vvv aot_869 chlor_a solz senz' geofile=xxx".

Unfortunately I cannot post the Software & System Info. In the begining I installed SeaDAS on my Mac and I encountered some problem in Catalina (when I ran l2gen from GUI, it always show segmentation fault). I searched in the forum and it seemed that I need to update my Mac system. So I updated it to macOS Ventura 13.3.1. But SeaDAS does not work well on this version. What I can tell now is that macOS is Ventura 13.3.1, SeaDAS is 8.3.0 and ocssw is V2022.3.

Re: SeaDAS cannot reproduce OBPG l2 product

Posted: Thu May 18, 2023 8:44 am America/New_York
by OB.DAAC - SeanBailey
Make sure you are using the same ancillary inputs that were used in the OBPG processing. With NRT files, the OBPG processes with the best available at the time of processing. If you process a file later, is it possible - actually quite likely - that the ancillary files obtained via getanc will not be the same as used in the OBPG processing. This is one of the reasons we reprocess data as 'refined' once the definitive ancillary products are available.

The ancillary files used are listed in the Level 2 file metadata as part of the processing_control group, e.g:

:input_sources = "AQUA_MODIS.20230511T213500.L1B.hdf,AQUA_MODIS.20230511T213500.GEO.
disa_axc_oc_v2.9d,bt_modisa.hdf" ;

The input_sources attribute lists the files, while the input_parameters group (under the processing_control group) provides the values actually passed to the code, e.g.:
:met1 = "" ;
:met2 = "" ;
:met3 = "" ;
:ozone1 = "" ;
:ozone2 = "" ;
:ozone3 = "" ;