MODIS Atmosphere
MODIS Atmosphere Home Products  Images  Validation  News  Staff  Forum  Reference  Tools  Help
Aerosol Product  Water Vapor Product  Cloud Product  Atmosphere Profile Product  Cloud Mask Product   Joint Atmosphere ProductLevel-2 Products
Daily Global Product  Eight-Day Global Product  Monthly Global ProductLevel-3 Products       Filled Land Surface Albedo ProductFilled Normalized Difference Vegetative Index ProductOne-Minute Land Ecosystem Classification ProductLevel-3 Ancillary Land Surface Products
TOOLS
Graphical User Interface Tools
Web Based Tools
Command Line Programs
Download
Bit Interpretation
Get Help

Extracting and Visualizing Bit Flags from Byte Data.

Program Name: Bit Mapper

Program Description: This IDL program extracts bit flags from byte data arrays, and then plots them on a geolocated map with a user-defined color scheme. The specific codes are designed to extract MOD06 L2 QA bit flags and Cloud Mask (MOD06 or MOD35) bit flags, but can be modified to extract and visualize other bit flags. The program is separated into two codes, one which performs the extraction and one that visualizes the bit flags. The Extraction code (included are codes to extract the MOD06 L2 QA flags and the Cloud Mask (MOD06 or 35) flags) allows the user to extract the bit flags from the specified granule, and output the flags to individual SDSs inside a new HDF file. The visualization code reads in the bit flag SDSs from this new HDF file, and plots them on a geolocated map. The user can specify the color scheme to use for bit flag values and which flags are to be plotted. Individual or multiple granules can be plotted on a single map. This code can be modified to extract and visualize bit flags from other byte arrays.

Language and Environment Requirements: IDL.

Limitations: The code was tested using IDL version 5.2, more recent versions of IDL have not been tested and results can not be guaranteed.

Installation Tips: Once the files are unzipped and untarred, examine the README.txt and PACKINGLIST text files for more details on installing and running the code.

Developer: Eric Moody (NASA GSFC)

Current Version (Release Date): Version 1.0 (20 March 2001).

Download: Download Files

Note: Download file is zipped and tarred.
To Unzip use the command "gzip -d filename".
To UnTar use the command "tar -xvf filename".