Page 1 of 1
Producing cloud and land mask files in SeaDAS
Posted: Wed Aug 22, 2018 3:07 am America/New_York
by dogun
Hi All,
Please how can I use SeaDAS to generate files for (1) cloud (2) land.
Thanks so much
Producing cloud and land mask files in SeaDAS
Posted: Wed Aug 22, 2018 1:24 pm America/New_York
by OB SeaDAS - knowles
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
Producing cloud and land mask files in SeaDAS
Posted: Wed Aug 22, 2018 3:27 pm America/New_York
by dogun
Thanks Danny. Yes.
Can I get those exported as a file (geotif/nc)?
Producing cloud and land mask files in SeaDAS
Posted: Thu Aug 23, 2018 8:43 am America/New_York
by OB SeaDAS - knowles
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/ocl2flagsDanny
Producing cloud and land mask files in SeaDAS
Posted: Tue Aug 28, 2018 10:42 pm America/New_York
by dogun
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.
Producing cloud and land mask files in SeaDAS
Posted: Wed Aug 29, 2018 8:42 am America/New_York
by OB SeaDAS - knowles
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
Producing cloud and land mask files in SeaDAS
Posted: Wed Sep 05, 2018 12:01 am America/New_York
by dogun
Thanks Danny!