Page 2 of 2

Re: l2gen Products tab

Posted: Mon Jun 07, 2021 2:43 pm America/New_York
by OB SeaDAS - xuanyang02
Sorry that this is a bug, we'll try to fix it for the next release. It probably has nothing to do with your installation.

For the time being, here is a workaround:

Click "Save Parameters" in the "Parfile" section on the "Main" tab, and save the Parfile in the directory /home/torres609/Documents/MODIS/L1A/2016/91_105 as l2gen-tmpParFile20210607.par

Use a text editor (vi or emacs) to open l2gen-tmpParFile20210607.par, and change rhot_vvv to rhot_nnn.

In the directory /home/torres609/Documents/MODIS/L1A/2016/91_105, do
"l2gen par=l2gen-tmpParFile20210607.par"

Re: l2gen Products tab

Posted: Thu Jun 10, 2021 2:47 am America/New_York
by vito609
Thanks, it worked.

My last question is how do I used the l2gen command in the command line with multiple inputs so that I can process in batch?

Re: l2gen Products tab

Posted: Thu Jun 10, 2021 10:32 am America/New_York
by OB SeaDAS - xuanyang02
You can use multilevel_processor to do l2gen on multiple files. Here is the help page to multilevel_processor: https://seadas.gsfc.nasa.gov/help/8.0.0 ... essor.html

Make a par file mlp-temp.par in /home/torres609/Documents/MODIS/L1A/2016/91_105 directory with similar content to the following:
# Sample par file for multilevel_processor.
[main]
ifile=/home/torres609/Documents/MODIS/L1A/2016/91_105/ifile_list.txt
[l2gen]
l2prod=chlor_a, rhot_nnn
# final processing level

Make ifile_list.txt with L1B files names you want to process:
/home/torres609/Documents/MODIS/L1A/2016/91_105/A2016091002000.L1B
/home/torres609/Documents/MODIS/L1A/2016/91_105/A2016091002500.L1B
/home/torres609/Documents/MODIS/L1A/2016/91_105/A2016091003000.L1B

In /home/torres609/Documents/MODIS/L1A/2016/91_105/ directory, do
multilevel_processor par=mlp-temp.par

If you have more questions regarding multilevel_processor, please start a new post.

Here is another multilevel_processor related post you might find relevant: viewtopic.php?f=7&t=2349&sid=ee5ab475b3 ... 5&start=10