Producing cloud and land mask files in SeaDAS
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
Producing cloud and land mask files in SeaDAS
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
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
Thanks Danny. Yes.
Can I get those exported as a file (geotif/nc)?
Can I get those exported as a file (geotif/nc)?
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
Producing cloud and land mask files in SeaDAS
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
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
Producing cloud and land mask files in SeaDAS
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.
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.
-
- Subject Matter Expert
- Posts: 306
- Joined: Mon Apr 07, 2008 4:40 pm America/New_York
- Been thanked: 3 times
Producing cloud and land mask files in SeaDAS
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
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