MSI

Please enter here to ask a question about any NASA Science related topics!
Post Reply
ruochenli
Posts: 5
Joined: Tue Jul 27, 2021 8:34 am America/New_York

MSI

by ruochenli » Mon Aug 23, 2021 9:45 pm America/New_York

Hi,
I am trying to use l2gen for MSI, but I only get the Rrs of the five bands 443nm,492nm,560nm,665nm,704nm, how can I do the Rrs of other bands?

Tags:

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 130
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: MSI

by OB SeaDAS - xuanyang02 » Tue Aug 24, 2021 10:29 am America/New_York

Are you running l2gen on the command line using SeaDAS-8.1.0?

You can add the following block to your par file:

# PRODUCTS
l2prod=Kd_490 angstrom chlor_a ipar Rrs_nnn nflh par pic poc

Here is a post you might find relevant: viewtopic.php?f=7&t=2471&p=8786&sid=7e1 ... d2eb#p8786

ruochenli
Posts: 5
Joined: Tue Jul 27, 2021 8:34 am America/New_York

Re: MSI

by ruochenli » Fri Aug 27, 2021 7:50 am America/New_York

Thank you for your guidance.
But when I input "# PRODUCTS l2prod=Kd_490 angstrom chlor_a ipar Rrs_nnn Rrs_740 Rrs_1610 nflh par pic poc", I found that the reflectance of the two bands "Rrs_740 Rrs1610" is still not output.why is that?

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 130
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: MSI

by OB SeaDAS - xuanyang02 » Fri Aug 27, 2021 9:27 am America/New_York

Can you copy and paste the contents of your l2gen par file here?

Make sure you insert two lines like
# PRODUCTS
l2prod=Kd_490 angstrom chlor_a ipar Rrs_nnn nflh par pic poc

or

# PRODUCTS
l2prod=Kd_490 angstrom chlor_a ipar Rrs_vvv Rrs_740 Rrs_1613 nflh par pic poc

not a single line like
# PRODUCTS l2prod=Kd_490 angstrom chlor_a ipar Rrs_nnn Rrs_740 Rrs_1610 nflh par pic poc

for l2gen disregards the line that starts with #

Also, Rrs_1610 is not a valid product for MSI_S2A

ruochenli
Posts: 5
Joined: Tue Jul 27, 2021 8:34 am America/New_York

Re: MSI

by ruochenli » Fri Aug 27, 2021 10:09 pm America/New_York

Thanks for all the help OB SeaDAS - xuanyang02! I changed the saved parameters file and it worked.But when I input "# PRODUCTS
l2prod=Kd_490 angstrom chlor_a ipar Rrs_nnn nflh par pic poccloud_wave=220 clound_thresh=0.018 aer_opt=-99 "An error popped up "line 458: product cloud_wave=2200 not found", how should I solve this problem. In addition, I want to input a sense of The range of interest area, but when I enter "110=north,south,east,west" it doesn't work.

OB SeaDAS - xuanyang02
Subject Matter Expert
Subject Matter Expert
Posts: 130
Joined: Tue Feb 09, 2021 5:42 pm America/New_York

Re: MSI

by OB SeaDAS - xuanyang02 » Tue Aug 31, 2021 3:55 pm America/New_York

Can you copy and paste the contents of your l2gen par file here?

You should have the options as the following in your par file, one line for each option:
cloud_wave=220
cloud_thresh=0.018
aer_opt=-99

not having "cloud_wave=220 clound_thresh=0.018 aer_opt=-99" all in the same line with "l2prod=Kd_490 angstrom chlor_a ipar Rrs_nnn nflh par pic poc".

Right now, the north, south, east, west options don't work with l2gen (V2021.2). You can try revert to V2021.1 or try the test tag T2021.11. See viewtopic.php?f=7&t=2407&p=8907&hilit=e ... a291#p8907

ruochenli
Posts: 5
Joined: Tue Jul 27, 2021 8:34 am America/New_York

Re: MSI

by ruochenli » Thu Sep 02, 2021 7:15 am America/New_York

Thank you very much for your reply, the problem has been solved 。

Post Reply