read byte values from HDF file QA flag

From: Xin Xi <xxi_at_nyahnyahspammersnyahnyah>
Date: Wed Aug 14 2013 - 00:10:13 MDT

The quality assurance (QA) flag in a MODIS HDF file is in 8-bit unsigned
integer type (valid range 0-254). I want to read bit position 2 and 3,
which give me a value between 0 and 3. How can I do it? I tried to use
logical operator but it returns true or false values.

ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
Received on Wed Aug 14 00:10:25 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 14 2013 - 18:35:09 MDT