GRASS logo

Note: A new GRASS GIS stable version has been released: GRASS GIS 7. Go directly to the new manual page here


i.modis.qc - Extracts quality control parameters from Modis QC layers.


QC, Quality Control, surface reflectance, Modis


i.modis.qc help
i.modis.qc input=name output=name productname=string qcname=string [band=string] [--overwrite] [--verbose] [--quiet]


Allow output files to overwrite existing files
Verbose module output
Quiet module output


Name of input surface reflectance QC layer [bit array]
Name for output QC type classification layer
Name of MODIS product type
Options: mod09Q1,mod09A1,mod09A1s,mod11A1,mod11A2
Default: mod09Q1
mod09Q1: surf. refl. 250m 8-days
mod09A1: surf. refl. 500m 8-days
mod09A1s: surf. refl. 500m 8-days, State QA
mod11A1: LST 1Km daily (Day/Night)
mod11A2: LST 1Km 8-days (Day/Night)
Name of QC type to extract
Options: adjcorr,atcorr,cloud,data_quality,diff_orbit_from_500m,modland_qa_bits,mandatory_qa_11A1,data_quality_flag_11A1,emis_error_11A1,lst_error_11A1,data_quality_flag_11A2,emis_error_11A2,mandatory_qa_11A2,lst_error_11A2,aerosol_quantity,brdf_correction_performed,cirrus_detected,cloud_shadow,cloud_state,internal_clou_algorithm,internal_fire_algorithm,internal_snow_mask,land_water,mod35_snow_ice,pixel_adjacent_to_cloud
Default: modland_qa_bits
adjcorr: mod09: Adjacency Correction
atcorr: mod09: Atmospheric Correction
cloud: mod09: Cloud State
data_quality: mod09: Band-Wise Data Quality Flag
diff_orbit_from_500m: mod09: 250m Band is at Different Orbit than 500m
modland_qa_bits: mod09: MODIS Land General Quality Assessment
mandatory_qa_11A1: mod11A1: MODIS Land General Quality Assessment
data_quality_flag_11A1: mod11A1: Detailed Quality Indications
emis_error_11A1: mod11A1: Average Emissivity Error Classes
lst_error_11A1: mod11A1: Average LST Error Classes
data_quality_flag_11A2: mod11A2: Detailed Quality Indications
emis_error_11A2: mod11A2: Average Emissivity Error Classes
mandatory_qa_11A2: mod11A2: MODIS Land General Quality Assessment
lst_error_11A2: mod11A2: Average LST Error Classes
aerosol_quantity: mod09A1s: StateQA Internal Snow Mask
brdf_correction_performed: mod09A1s: StateQA Internal Snow Mask
cirrus_detected: mod09A1s: StateQA Internal Snow Mask
cloud_shadow: mod09A1s: StateQA Internal Snow Mask
cloud_state: mod09A1s: StateQA Internal Snow Mask
internal_clou_algorithm: mod09A1s: StateQA Internal Snow Mask
internal_fire_algorithm: mod09A1s: StateQA Internal Snow Mask
internal_snow_mask: mod09A1s: StateQA Internal Snow Mask
land_water: mod09A1s: StateQA Internal Snow Mask
mod35_snow_ice: mod09A1s: StateQA Internal Snow Mask
pixel_adjacent_to_cloud: mod09A1s: StateQA Internal Snow Mask
Band number of Modis product (mod09Q1=[1,2],mod09A1=[1-7])
Options: 1,2,3,4,5,6,7
1: mod09Q1/A1 Band 1: Red
2: mod09Q1/A1 Band 2: NIR
3: mod09A1 Band 3: Blue
4: mod09A1 Band 4: Green
5: mod09A1 Band 5: SWIR 1
6: mod09A1 Band 6: SWIR 2
7: mod09A1 Band 7: SWIR 3


i.modis.qc Extracts Requested Quality Assessment flags from the following MODIS products: MOD09A1, MOD09Q1, and MOD11A2. This does include MOD09A1 QA_state_500m layer (see Notes).
MOD09A1/Q1: MODLAND QA Bits. bits=[0-1]
MOD09Q1: Cloud State. bits=[2-3] 
MOD09Q1: Band-wise Data Quality 250m bits=[4-7][8-11]
MOD09A1: Band-wise Data Quality 500m bits=[2-5][6-9][10-13][14-17][18-21][22-25][26-29]
MOD09A1/Q1: Atmospheric correction bit=[12]/[30]
MOD09A1/Q1: Adjacency correction bit=[13]/[31]
MOD09Q1: Different orbit from 500m product, bit=[14]
MOD11A2: Mandatory QA Flags bits=[0-1]
MOD11A1: Data Quality Flag bits=[2-3]
MOD11A1: Emis Error Flag bits=[4-5]
MOD11A1: LST Error Flag bits=[6-7]

MOD11A2: Mandatory QA Flags bits=[0-1]
MOD11A2: Data Quality Flag bits=[2-3]
MOD11A2: Emis Error Flag bits=[4-5]
MOD11A2: LST Error Flag bits=[6-7]
MOD09A1s: Cloud State bits=[0-1]
MOD09A1s: Cloud shadow bits=[2]
MOD09A1s: Land/Water Flag bits=[3-5]
MOD09A1s: Aerosol Quantity bits=[6-7]
MOD09A1s: Cirrus detected bits=[8-9]
MOD09A1s: Internal Cloud Algorithm Flag bits=[10]
MOD09A1s: Internal Fire Algorithm Flag bits=[11]
MOD09A1s: MOD35 snow/ice flag bits=[12]
MOD09A1s: Pixel adjacent to cloud bits=[13]
MOD09A1s: BRDF correction performed bits=[14]
MOD09A1s: Internal Snow Mask bits=[15]


In MOD09A1: It seems that cloud related info is not filled properly in the standard QC (MOD09A1 in this module) since version 3, State-QA 500m images (MOD09A1s in this module) should be used (see Vermote et al., 2008).


Add one Day products.




Yann Chemin

Last changed: $Date: 2013-01-22 22:18:02 -0800 (Tue, 22 Jan 2013) $

Main index - imagery index - Full index

© 2003-2016 GRASS Development Team