/* Internal Fire Algorithm Flag unsigned int bits[11]
 * 0 -> class 0: No fire 
 * 1 -> class 1: Fire
 */  

#include <grass/raster.h>

CELL mod09GAsg(CELL pixel) 
{
    CELL qctemp;

    pixel >>= 11;
    qctemp = pixel & 0x01;

    return qctemp;
}


