background
UNESCO logo
 Bilko logo
Lessons

Applying flags to MODIS ocean colour (OC) images

Authors: Deon Louw, Val Byfield, Stewart Bernard and Christo Whittle

screenshot of lesson

Screenshot from the lessons showing the uncorrected chlorophyll image (left), the flag image (top right), the formula to apply the flags and the masked chlorophyll image (right).

 
EAMNet SST and ocean colour data are supplied with flag codings that give you information about each pixel. Flag-codings are classification or quality flags stored as per-pixel bit fields in 'flag bands'. The l2_flags data supplied in each image file contains supplementary information about each pixel, which indicates such things as where there is land, sun glint, invalid or low quality data on the image.

This lesson introduces the bitwise operators needed to extract and apply the flags. The main example here is the application of flags to ocean colour data. However, the method also applies to SST images, and the SST flags are briefly discussed.

By the end of the lesson you should be able to:

Download the lesson:

If you have already registered as a Bilko user you can download this lesson by entering your e-mail address in the box below. If you are new to Bilko please register first, using the link on the top menu bar.

spacerspacer spacer

Obtaining similar data

MODIS Chlorophyll data at 1km resolution, based on the EAMNet data product, can be downloaded from ChloroGIN Africa:

  1. Select the region you want from the map, and select the EAMNet option from the alternatives by clicking 'View'. This takes you to the data server maintained by the Remote Sensing Group at Plymouth Marine Laboratory.
  2. Where data is available, click on the image to see it in full resolution.
  3. Under the larger image, you will have the option to download the NetCDF data
Last update: 14 October 2020      Contact          Up         Site Policy         Next: Clearing residual cloud Next