Each pixel in the Cloud_Mask SDS is assigned a 6 byte (48 bit) array.
Individual bits or groups of bits are set to
denote various cloud conditions and characteristics
for that pixel.
Cloud_Mask Bit-Field Interpretation
|
Byte #0 (1km Cloud Mask & Processing Path Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
Cloud Mask Flag |
0 = Not Determined 1 = Determined |
1-2 |
Unobstructed FOV Quality Flag |
0 = Confident Cloudy
1 = Probably Cloudy
2 = Probably Clear
3 = Confident Clear |
3 |
Day/Night Flag |
0 = Night
1 = Day |
4 |
Sunglint Flag |
0 = Yes
1 = No |
5 |
Snow/Ice Background Flag |
0 = Yes
1 = No |
6-7 |
Land/Water Background Flag |
0=Water
1=Coastal
2=Desert
3=Land |
Byte #1 (Additional 1km Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
Non-Cloud Obstruction Flag |
0 = Yes 1 = No |
1 |
Thin Cirrus Detected (Solar Test) |
0 = Yes 1 = No |
2 |
Shadow Flag |
0 = Yes 1 = No |
3 |
Thin Cirrus Detected (Infrared Test) |
0 = Yes 1 = No |
4 |
Adjacent Cloud Detected
(within surrounding 1 km pixels) |
0 = Yes 1 = No |
5 |
Cloud Flag (IR Threshold Test) |
0 = Yes 1 = No |
6 |
High Cloud Flag (CO2 Test) |
0 = Yes 1 = No |
7 |
High Cloud Flag (6.7 micron Test) |
0 = Yes 1 = No |
Byte #2 (Additional 1km Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
High Cloud Flag (1.38 micron Test) |
0 = Yes 1 = No |
1 |
High Cloud Flag (3.7-12 micron Test) |
0 = Yes 1 = No |
2 |
Cloud Flag (IR Temperature Difference Test) |
0 = Yes 1 = No |
3 |
Cloud Flag (3.7-11 micron Test) |
0 = Yes 1 = No |
4 |
Cloud Flag (Visible Reflectance Test) |
0 = Yes 1 = No |
5 |
Cloud Flag (Visible Reflectance Ratio Test) |
0 = Yes 1 = No |
6 |
Cloud Flag (.935/.87 Reflectance Test) |
0 = Yes 1 = No |
7 |
Cloud Flag (3.7-3.9 micron Test) |
0 = Yes 1 = No |
Byte #3 (Additional 1km Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
Cloud Flag (Temporal Consistency) |
0 = Yes 1 = No |
1 |
Cloud Flag (Spatial Variability) |
0 = Yes 1 = No |
2-7 |
(spares) |
n/a |
Byte #4 (250m Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
250-m Cloud Flag (Visible Test) element(1,1) |
0 = Yes 1 = No |
1 |
250-m Cloud Flag (Visible Test) element(1,2) |
0 = Yes 1 = No |
2 |
250-m Cloud Flag (Visible Test) element(1,3) |
0 = Yes 1 = No |
3 |
250-m Cloud Flag (Visible Test) element(1,4) |
0 = Yes 1 = No |
4 |
250-m Cloud Flag (Visible Test) element(2,1) |
0 = Yes 1 = No |
5 |
250-m Cloud Flag (Visible Test) element(2,2) |
0 = Yes 1 = No |
6 |
250-m Cloud Flag (Visible Test) element(2,3) |
0 = Yes 1 = No |
7 |
250-m Cloud Flag (Visible Test) element(2,4) |
0 = Yes 1 = No |
Byte #5 (250m Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
250-m Cloud Flag (Visible Test) element(3,1) |
0 = Yes 1 = No |
1 |
250-m Cloud Flag (Visible Test) element(3,2) |
0 = Yes 1 = No |
2 |
250-m Cloud Flag (Visible Test) element(3,3) |
0 = Yes 1 = No |
3 |
250-m Cloud Flag (Visible Test) element(3,4) |
0 = Yes 1 = No |
4 |
250-m Cloud Flag (Visible Test) element(4,1) |
0 = Yes 1 = No |
5 |
250-m Cloud Flag (Visible Test) element(4,2) |
0 = Yes 1 = No |
6 |
250-m Cloud Flag (Visible Test) element(4,3) |
0 = Yes 1 = No |
7 |
250-m Cloud Flag (Visible Test) element(4,4) |
0 = Yes 1 = No |
Quality_Assurance Bit-Field Interpretation
Each pixel in the Quality_Assurance SDS is assigned a 10 byte (80 bit) array.
Individual bits or groups of bits are set to
denote various quality run-time characteristics for that pixel.
Quality_Assurance Bit-Field Interpretation
|
Byte #0 (1km Product Run-Time QA Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
Cloud Mask QA (1km) |
0 = Not Useful 1 = Useful |
1-3 |
Cloud Mask Confidence QA (1km) |
0 = Lowest Confidence
1 = (not used)
2 = (not used)
3 = (not used)
4 = Intermediate Confidence
5 = (not used)
6 = High Confidence
7 = Highest Confidence |
4-7 |
(spares) |
n/a |
Byte #1 (1km Test Application Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
NCO Test |
0 = Not Applied 1 = Applied |
1 |
Thin Cirrus Test (Solar) |
0 = Not Applied 1 = Applied |
2 |
Shadow Test |
0 = Not Applied 1 = Applied |
3 |
Thin Cirrus Test (IR) |
0 = Not Applied 1 = Applied |
4 |
Cloud Adjancency Test (IR) |
0 = Not Applied 1 = Applied |
5 |
IR Threshold Test |
0 = Not Applied 1 = Applied |
6 |
High Cloud Test (CO2) |
0 = Not Applied 1 = Applied |
7 |
High Cloud Test (6.7) |
0 = Not Applied 1 = Applied |
Byte #2 (1km Test Application Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
High Cloud Test (1.38 microns) |
0 = Not Applied 1 = Applied |
1 |
High Cloud Test (3.7-12 microns) |
0 = Not Applied 1 = Applied |
2 |
IR Temperature Difference Tests |
0 = Not Applied 1 = Applied |
3 |
3.7-11 micron Test |
0 = Not Applied 1 = Applied |
4 |
.68 Reflectance Test |
0 = Not Applied 1 = Applied |
5 |
Visible Ratio Test |
0 = Not Applied 1 = Applied |
6 |
Near IR Reflectance Ratio Test |
0 = Not Applied 1 = Applied |
7 |
3.7-3.9 micron Test |
0 = Not Applied 1 = Applied |
Byte #3 (1km Test Application Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
Temporal Consistency Test |
0 = Not Applied 1 = Applied |
1 |
Spatial Variability Test |
0 = Not Applied 1 = Applied |
2-7 |
(spares) |
n/a |
Byte #4 (250m Test Application Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
250 m Visible Test element(1,1) |
0 = Not Applied 1 = Applied |
1 |
250 m Visible Test element(1,2) |
0 = Not Applied 1 = Applied |
2 |
250 m Visible Test element(1,3) |
0 = Not Applied 1 = Applied |
3 |
250 m Visible Test element(1,4) |
0 = Not Applied 1 = Applied |
4 |
250 m Visible Test element(2,1) |
0 = Not Applied 1 = Applied |
5 |
250 m Visible Test element(2,2) |
0 = Not Applied 1 = Applied |
6 |
250 m Visible Test element(2,3) |
0 = Not Applied 1 = Applied |
7 |
250 m Visible Test element(2,4) |
0 = Not Applied 1 = Applied |
Byte #5 (250m Test Application Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
250 m Visible Test element(3,1) |
0 = Not Applied 1 = Applied |
1 |
250 m Visible Test element(3,2) |
0 = Not Applied 1 = Applied |
2 |
250 m Visible Test element(3,3) |
0 = Not Applied 1 = Applied |
3 |
250 m Visible Test element(3,4) |
0 = Not Applied 1 = Applied |
4 |
250 m Visible Test element(4,1) |
0 = Not Applied 1 = Applied |
5 |
250 m Visible Test element(4,2) |
0 = Not Applied 1 = Applied |
6 |
250 m Visible Test element(4,3) |
0 = Not Applied 1 = Applied |
7 |
250 m Visible Test element(4,4) |
0 = Not Applied 1 = Applied |
Byte #6 (1km Data Information Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0-1 |
Number of Bands used to generate Cloud Mask |
0 = None
1 = 1 to 7
2 = 8 to 14
3 = 15 to 21 |
2-3 |
Number of Spectral Tests used to generate Cloud Mask |
0 = None
1 = 1 to 3
2 = 4 to 6
3 = 7 to 9 |
4-7 |
(spares) |
n/a |
Byte #7 (1km Data Resource Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0-1 |
Clear Radiance Origin |
0 = MOD35
1 = Model forward calculation
2 = Other
3 = Not used |
2-3 |
Surface Temperature over Land |
0 = NCEP GDAS
1 = DAO
2 = MOD11
3 = Other |
4-5 |
Surface Temperature over Ocean |
0 = Reynolds blended
1 = DAO
2 = MOD28
3 = Other |
6-7 |
Surface Winds |
0 = NCEP GDAS
1 = DAO
2 = Other
3 = Not used |
Byte #8 (1km Data Resource Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0-1 |
Ecosystem Map |
0 = Loveland N.A. 1km
1 = Olson Ecosystem
2 = MOD12
3 = Other |
2-3 |
Snow Mask |
0 = MOD33
1 = SSM/I Product
2 = Other
3 = Not used |
4-5 |
Ice Cover |
0 = MOD42
1 = SSM/I Product
2 = Other
3 = Not used |
6-7 |
Land/Sea Mask |
0 = USGS 1km 6-level
1 = USGS 1km binary
2 = Other
3 = Not Used |
Byte #9 (1km Data Resource Flags)
|
Bits |
Field Description |
Bit Interpretation Key |
0 |
Digital Elevation Model |
0 = EOS DEM 1 = Not used |
1-2 |
Precipitable Water |
0 = NCEP GDAS
1 = DAO
2 = MOD07
3 = Other |
3-7 |
(spares) |
n/a |