Producing cloud and land mask files in SeaDAS

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
dogun
Posts: 33
Joined: Tue Oct 11, 2016 11:49 am America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by dogun » Wed Aug 22, 2018 3:07 am America/New_York

Hi All,

Please how can I use SeaDAS to generate files for (1) cloud (2) land.

Thanks so much

Filters:

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 279
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by OB SeaDAS - knowles » Wed Aug 22, 2018 1:24 pm America/New_York

Please elaborate.  Are you using or trying to generate level2 files?  Tell us what your input file is. 
Note: NASA OB.DAAC Level2 files contain flags for both cloud (l2_flags.CLDICE) and land (l2flags.LAND).

Danny

dogun
Posts: 33
Joined: Tue Oct 11, 2016 11:49 am America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by dogun » Wed Aug 22, 2018 3:27 pm America/New_York

Thanks Danny. Yes.
Can I get those exported as a file (geotif/nc)?

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 279
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by OB SeaDAS - knowles » Thu Aug 23, 2018 8:43 am America/New_York

Yes what?  Please be more descriptive so we and other users can follow what you are asking.

If you load a level2 file into SeaDAS you can export it in GeoTIFF format.  The flags can be found bitwise in the l2_flags raster. 
See https://oceancolor.gsfc.nasa.gov/atbd/ocl2flags

Danny

dogun
Posts: 33
Joined: Tue Oct 11, 2016 11:49 am America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by dogun » Tue Aug 28, 2018 10:42 pm America/New_York

Hi Danny,

I meant I was trying to generate level2 files (Rrs) but I also need to export cloud and land masks as separate geotiff files for post processing.

OB SeaDAS - knowles
Subject Matter Expert
Subject Matter Expert
Posts: 279
Joined: Mon Apr 07, 2008 4:40 pm America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by OB SeaDAS - knowles » Wed Aug 29, 2018 8:42 am America/New_York

You generate level2 files using SeaDAS l2gen located within OCSSW menu or at command line.  You can also download pre-processed level2 files from https://oceancolor.gsfc.nasa.gov/cgi/browse.pl.  The OC level2 files located there already have Rrs.

If you want to create a file with raster bands of the cloud and land masks you can use the BandMaths Tool within SeaDAS.  The expression would be "(l2_flags.CLDICE) ? 1 : 0" and "(l2_flags.LAND) ? 1 : 0".

If you want to do this at the command read the GPT Cookbook located with SeaDAS GUI help menu.

Danny

dogun
Posts: 33
Joined: Tue Oct 11, 2016 11:49 am America/New_York
Answers: 0

Producing cloud and land mask files in SeaDAS

by dogun » Wed Sep 05, 2018 12:01 am America/New_York

Thanks Danny!

Post Reply