MOD_PR13A2 Terra-MODIS 1km 16 days VI product
HDF-EOS V2 MODIS VEGETATION INDICES HDF File Specification

Version:	V5.0.1
Revision:	1
Date:		7 July 2005
Product ID:	MOD13A2 
ESDT:		MOD13A2
Product name: 16 days 1km Vegetation Index
Product Level:	3
PGE:		35

MOD13A2  1 km 16 days Vegetation Index product
SCF Revesion 5.0.1 , Jul. 2005, by Kamel Didan (kamel@ag.arizona.edu)

Product ID: MOD13, L3: MOD_PR13A2

Point of Contact:       Kamel Didan
                        Terrestrial Biophysics and Remote Sensing Group (TBRS)
                        1200 E South Campus Drive, Room 429, Shantz Bldg. #38,
                        Department of Soil, Water and Environmental Science,
                        University of Arizona, Tucson, AZ 85721, USA
                        Office 520 621 8514; Fax 520 621 5401
                        kamel@ag.arizona.edu

Principal Investigator: Alfredo Huete
                        Terrestrial Biophysics and Remote Sensing Group (TBRS)
                        1200 E South Campus Drive, Room 429, Shantz Bldg. #38,
                        Department of Soil, Water and Environmental Science,
                        University of Arizona, Tucson, AZ 85721, USA
                        Office 520 621 3228; Fax 520 621 5401
                        ahuete@ag.arizona.edu

                        Kamel Didan
                        Terrestrial Biophysics and Remote Sensing Group (TBRS)
                        1200 E South Campus Drive, Room 429, Shantz Bldg. #38,
                        Department of Soil, Water and Environmental Science,
                        University of Arizona, Tucson, AZ 85721, USA
                        Office 520 621 8514; Fax 520 621 5401
                        kamel@ag.arizona.edu												

Description:
The at launch MOD13 algorithm will allow the individual processing of two
vegetation indices at different spatial and temporal resolution. The Level 3 HDF
filespec will therefore be split in 6 files/products (MOD13Q1, MOD13A1, MOD13A2,
MOD13A3, MOD13C1, MOD13C2) that each have commonalities with respect
to spatial and spectral resolutions. The standard production run will
process the NDVI/EVI at 250 m,500m,1km, and 0.05 Deg. resolution for 16-day and Monthly 
intervals. The output products will have datafields for the NDVI and EVI with
corresponding QA, reflectance data, angular information and spatial statistics
and std-dev of each VI and for the CMG  scales. The 250m, 500m and 1km products are generated
for each spatial tile (10 deg. x 10 deg. ~1200km x 1200km) in the sinusiodal projection.
The CMG products are generated globally in the geographic projection.

Generic Constructs

Product SDSs:
	      "1 km 16 days NDVI"   
	      "1 km 16 days EVI"
	      "1 km 16 days NDVI Quality"   
	      "1 km 16 days EVI Quality"   
	      "1 km 16 days red reflectance"
	      "1 km 16 days NIR reflectance"
	      "1 km 16 days blue reflectance"
	      "1 km 16 days MIR reflectance"
	      "1 km 16 days view zen angle"
	      "1 km 16 days sun zenith angle"
	      "1 km 16 days average relative azimuth"
	      "1 km 16 days composite day of the year"
	      "1 km 16 days pixel reliability"

Contents:
Global Metadata:

(ECS Global attributes are; CoreMetadata.0, ArchiveMetadata.0, StructMetadata.0)


Generic Constructs

ECS Metadata Strings:

Notes:	"FR" is an abbreviation for "FREE_RANGE".
		"D/T" is an abbreviation for "DATE/TIME"
 		(A) implies that multiple values are stored within a single array.
		A value of "Variable" indicates that this value will vary according to the granule being processed.
		"M" mean class M.

	
CoreMetadata.0
This string will contain the following PVL fields:

Field Name              Data Type       # of Values      Value

GROUP = INVENTORYMETADATA

GROUP = CollectionDescriptionClass
        SHORTNAME                       STRING  1       "MOD13A2"
        VERSIONID                       STRING  1       "5"
END_GROUP = CollectionDescriptionClass

GROUP = ECSDataGranule
        SIZEMBECSDATAGRANULE            FLOAT   1       Variable
        REPROCESSINGPLANNED             STRING  1       "further update anticipated"
        REPROCESSINGACTUAL              STRING  1       "processed once"
        LOCALGRANULEID                  STRING  1       Variable
        DAYNIGHTFLAG                    STRING  1       Variable
        PRODUCTIONDATETIME              D/T     1       Variable
        LOCALVERSIONID                  STRING  1       Variable
END_GROUP = ECSDataGranule

GROUP = PGEVersionClass
        PGEVERSION                      STRING  1       Variable
END_GROUP = PGEVersionClass

GROUP = InputGranule
        INPUTPOINTER                    STRING  FA      Variable (A)
END_GROUP = InputGranule

GROUP = RangeDateTime
	RANGEENDINGDATE			D		1		Variable
	RANGEENDINGTIME			T		1		23.59.59	
	RANGEBEGINNINGDATE		D		1		Variable
	RANGEBEGINNINGTIME		T		1		00.00.00
END_GROUP = RangeDateTime

GROUP = GRingPoint
        EXCLUSIONGRINGFLAG              STRING  1       "N"
        GRINGPOINTLATITUDE              DOUBLE  4 (A)   Variable
        GRINGPOINTLONGITUDE             DOUBLE  4 (A)   Variable
        GRINGPOINTSEQUENCENO            INTEGER 4 (A)   Variable
END_GROUP = GRingPoint

GROUP = OrbitCalculatedSpatialDomain
        ORBITNUMBER                     INTEGER 2       Variable
END_GROUP = OrbitCalculatedSpatialDomain

GROUP = MeasuredParameter
        PARAMETERNAME                   STRING  FR      Variable   (A)

        GROUP = QAFlags
                AUTOMATICQUALITYFLAG            STRING  1       "No automatic quality assessment is performed in the PGE"
                AUTOMATICQUALITYFLAGEXPLANATION STRING  1       "Pass"
                OPERATIONALQUALITYFLAG          STRING  1       "being investigated"
                OPERATIONALQUALITYFLAGEXPLANATION STRING 1      Variable
                SCIENCEQUALITYFLAG              STRING  1       "Not Investigated"
                SCIENCEQUALITYFLAGEXPLANATION   STRING  1       "See http://landweb.nascom.nasa.gov/cgi-bin/QA_WWW/qaFlagPage.cgi?sat=terra for the product Science Quality status"
        END_GROUP = QAFlags

        GROUP = QAStats
                QAPERCENTINTERPOLATEDDATA       INTEGER 1       Variable
                QAPERCENTMISSINGDATA            INTEGER 1       Variable
                QAPERCENTOUTOFBOUNDSDATA        INTEGER 1       Variable
                QAPERCENTCLOUDCOVER             INTEGER 1       Variable
        END_GROUP = QAStats
END_GROUP = MeasuredParameter

GROUP = AssociatedPlatformInstrumentSensor
	ASSOCIATEDSENSORSHORTNAME		STRING		1		"MODIS"
	ASSOCIATEDPLATFORMSHORTNAME		STRING 		1		"Terra"
	ASSOCIATEDINSTRUMENTSHORTNAME		STRING 		1		"MODIS"
END_GROUP = AssociatedPlatformInstrumentSensor


GROUP = SensorCharacteristric
        PLATFORMSHORTNAME               STRING  1       "Terra"
        INSTRUMENTSHORTNAME             STRING  1       "MODIS"
END_GROUP = SensorCharacteristric

GROUP = AdditionalAttibutes
        ADDITIONALATTRIBUTENAME         STRING  FR      Variable        (A)
        PARAMETERVALUE                  STRING  FR      Variable        (A)
        ADDITIONALATTRIBUTENAME.1  = QAPERCENTGOODQUALITY
        ADDITIONALATTRIBUTENAME.2  = QAPERCENTOTHERQUALITY
        ADDITIONALATTRIBUTENAME.3  = QAPERCENTNOTPRODUCEDCLOUD
        ADDITIONALATTRIBUTENAME.4  = QAPERCENTNOTPRODUCEDOTHER
        ADDITIONALATTRIBUTENAME.5  = NDVI1KM16DAYQCLASSPERCENTAGE
        ADDITIONALATTRIBUTENAME.6  = EVI1KM16DAYQCLASSPERCENTAGE
        ADDITIONALATTRIBUTENAME.7  = HORIZONTALTILENUMBER
        ADDITIONALATTRIBUTENAME.8  = VERTICALTILENUMBER
        ADDITIONALATTRIBUTENAME.9  = TILEID

END_GROUP = AdditionalAttributes
END_GROUP=INVENTORYMETADATA

ArchiveMetadata.0
This string will contain the following PVL fields:
Field Name      Data Type       # of Values     Value

GROUP = ARCHIVEMETADATA

GROUP = BoundingRectangle
        WESTBOUNDINGCOORDINATE          DOUBLE  1       Variable
        NORTHBOUNDINGCOORDINATE         DOUBLE  1       Variable
        EASTBOUNDINGCOORDINATE          DOUBLE  1       Variable
        SOUTHBOUNDINGCOORDINATE         DOUBLE  1       Variable
END_GROUP = BoundingRectangle

	ALGORITHMPACKAGEACCEPTANCEDATE	STRING	1		"2004-10-01"
	ALGORITHMPACKAGEMATURITYCODE	STRING	1		"Normal"
	ALGORITHMPACKAGENAME		STRING	1		"MOD_PR13A2"
	ALGORITHMPACKAGEVERSION		STRING	1		"5"
	INSTRUMENTNAME			STRING	1		"MODIS"
	LONGNAME			STRING	1		"MODIS/Terra Vegetation Indices 16 days L3 1km"
	PROCESSINGCENTER		STRING	1		"MODPAS"
    	PROCESSINGENVIRONMENT           STRING 	1    		"Linux or SGI"
  	CHARACTERISTICBINANGULARSIZE    DOUBLE  1   Variable
  	CHARACTERISTICBINSIZE           DOUBLE  1   Variable
 	 DATACOLUMNS                    INTEGER 1   Variable
  	DATAROWS                        INTEGER 1   Variable
  	GLOBALGRIDCOLUMNS               INTEGER 1   Variable
  	GLOBALGRIDROWS                  INTEGER 1   Variable
	SPSOPARAMETERS		  	STRING	1		2749,4334, 2749a,4334a
	PERCENTLAND			INTEGER	1		Variable
	PRODUCTIONTYPE			  STRING	1		Variable
	SEAPROCESSED			  STRING	1		Variable
	ASSOCIATEDSENSORSHORTNAME	  STRING	 1	"MODIS"
	ASSOCIATEDPLATFORMSHORTNAME	  STRING 	 1	"Terra"
	ASSOCIATEDINSTRUMENTSHORTNAME	  STRING 	 1	"MODIS"
	LOCALINPUTGRANULEID		  STRING   FR Variable
	DESCRrevision			  STRING   FR Variable
	ProductionHistory			  STRING   FR Variable

END_GROUP = ARCHIVEMETADATA

StructuralMetadata.0
This string will be populated automatically by HDF-EOS.

Grid Structure:                 MOD_Grid_16DAY_1km_VI

Dimensions:   Dimension   Dimension Name                  Value
Dimension_1     Ydim:     MODIS_Grid_16DAY_1km_VI  "Data Rows"
Dimension_2     Xdim:     MODIS_Grid_16DAY_1km_VI  "Data Columns"


Corner Locations:       Corner  Values

UpperLeftPointMtrs      (Variable, Variable)
LowerRightPointMtrs     (Variable, Variable)

Geographic Grid Projection Parameters 

Supported Grids:  Integerized Sinusoidal
        Projection gridID = GCTP_SINUS
        ProjParam[0]    6371007.181
        ProjParam[1]    TBD
        ProjParam[2]    0.0
        ProjParam[3]    0.0
        ProjParam[4]    0.0
        ProjParam[5]    0.0
        ProjParam[6]    0.0
        ProjParam[7]    0.0
        ProjParam[8]    21600
        ProjParam[9]    0.0
        ProjParam[10]   1.0
        ProjParam[11]   0.0
        ProjParam[12]   0.0
        Spherecode      -1
        GridOrigin      HDFE_GD_UL


Global HDF Attributes

Attribute	Data Type       Number of Values        Value or Max. String Length

Characteristic Bin Angular Size FLOAT32 1         Variable                      Bin Angular Size
Characteristic Bin Size 	FLOAT32   1               Variable                Bin Size
Data Columns    		UINT16          1               Variable
Data Rows       		UINT16          1               Variable
Days of Year    		UINT16          "Number of Days"  Variable
DaysProcessed   		UINT16          "Number of Days"  Variable
Global Grid     		UINT32          1               Variable                Columns
Global Grid     		UINT32          1               Variable                Rows
Number of Days  		UINT16          1               Variable

DataFields:

A value of "Variable" indicates that this value will vary according
to the granule being processed.

All data stored within DataFields that contain the HDF attributes
"scale_factor" and "add_offset" are scaled according to the following
data conversion:

file data=(parameter * scale_factor) + add_offset
parameter=(file data - add_offset)/scale_factor

Data field      Name                    Data type       Dimension

DataField_1     1 km 16 days NDVI       INT16
Dimension_1
Dimension_2

        DataField_1 HDF Attributes:
        Attribute       Data Type       Number of Values        Value or Max. String Length

        long_name       STRING          17      1 km 16 days NDVI
        units           STRING          4       NDVI
        valid_range     INT16           2       -2000, 10000
        _FillValue      INT16           1       -3000
        scale_factor    FLOAT64         1       10000
        scale_factor_err FLOAT64        1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5

DataField_2     1 km 16 days EVI        INT16           Dimension_1
                                                        Dimension_2

        DataField_2 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          16      1 km 16 days EVI
        units           STRING          3       EVI
        valid_range     INT16           2       -2000, 10000
        _FillValue      INT16           1       -3000
        scale_factor    FLOAT64         1       10000
        scale_factor_err  FLOAT64       1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5


DataField_3     1 km 16 days NDVI Quality       UINT16  Dimension_1
                                                        Dimension_2

Bit     Description
        0-1     NDVI quality
                00 NDVI produced, good quality;
                01 NDVI produced, but check QA
                10 Pixel produced, but most probably cloudy.
                11 pixel not produced due to other reasons than clouds
        2-5     VI usefulness four bit range
                0= highest quality
                13 Quality so low that it is not useful
                14 L1B data faulty
                15 not useful for any other reason/not processed
        6-7     aerosol quantity:climatology (00), low (01),  average (10), high (11)
				  8     Adjacent cloud detected; 
                1  YES
                0 NO
        9 atmosphere BRDF correction performed  yes (1) no (0)
        10      mixed clouds yes (1) no (0)
        11-12   land/water flag:
                00 ocean;
                01 coast;
                10 wetland;
                11 land
        13      possible snow/ice: 0 no; 1 yes
        14      possible shadow:  0 no; 1 yes
        15      composite method for NDVI
                0 BRDF model based nadir equivalent VI
                1 CVMVC (constraint view angle maximum value VI)



DataField_4     1 km 16 days EVI Quality        UINT16  Dimension_1
                                                        Dimension_2
        Bit     Description
        0-1     VI quality
                00 EVI produced, good quality;
                01 EVI produced, but check QA
                10 Pixel possibly produced, but most probably cloudy.
                11 pixel not produced due to other reasons than clouds
        2-5     VI usefulness four bit range
                0= highest quality
                13 Quality so low that it is not useful
                14 L1B data faulty
                15 not useful for any other reason/not processed
        6-7     aerosol quantity:
                climatology (00), low (01),  average (10), high (11)
				  8     Adjacent cloud detected; 
                1  YES
                0 NO
        9       yes (1) no (0) atmosphere BRDF correction performed
        10      mixed clouds yes (1) no (0)mixed clouds
        11-12   land/water flag
                00 ocean;
                01 coast;
                10 wetland;
                11 land
        13      0 no; 1 yes possible snow/ice
        14      0 no; 1 yes possible shadow
        15      composite method for NDVI
                0 BRDF model based nadir equivalent VI
                1 CVMVC (constraint view angle maximum value VI)

**************************************************************************************************				
Bit [8] wqas modified on Jul. 2005. It use to contain nothing
				  8     Empty/No Flags
**************************************************************************************************				


DataField_5     1 km 16 days red reflectance    INT16   Dimension_1
                                                        Dimension_2

        DataField_5 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          28      1 km 16 days red  reflectance
        units           STRING          11      reflectance
        valid_range     INT16           2       0, 10000
        _FillValue      INT16           1       -1000
        scale_factor    FLOAT64         1       10000
        scale_factor_err FLOAT64        1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5


DataField_6     1 km 16 days NIR reflectance    INT16   Dimension_1
                                                        Dimension_2

        DataField_6 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          28      1 km 16 days NIR reflectance
        units           STRING          11      reflectance
        valid_range     INT16           2       0, 10000
        _FillValue      INT16           1       -1000
        scale_factor    FLOAT64         1       10000
        scale_factor_err FLOAT64        1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5


DataField_7     1 km 16 days blue reflectance   INT16   Dimension_1
                                                        Dimension_2

        DataField_7 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING  29      1 km 16 days blue  reflectance
        units           STRING  11      reflectance
        valid_range     INT16   2       0, 10000
        _FillValue      INT16   1       -1000
        scale_factor    FLOAT64 1       10000
        scale_factor_err FLOAT64        1       0.0
        add_offset      FLOAT64 1       0.0
        add_offset_err  FLOAT64 1       0.0
        calibrated_nt   INT32   1       5


DataField_8     1 km 16 days MIR reflectance    INT16   Dimension_1
                                                        Dimension_2

        DataField_8 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          28      1 km 16 days MIR reflectance
        units           STRING          11      reflectance
        valid_range     INT16           2       0, 10000
        _FillValue      INT16           1       -1000
        scale_factor    FLOAT64         1       10000
        scale_factor_err        FLOAT64 1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5
Legend:	 MIR band specification: 
 				 The MIR band saved in the VI product is MODIS band 7 
				 Bandwidth  :2105-2155 nm 
				 Band center:2130 nm 


DataField_9     1 km 16 days view zenith angle  INT16   Dimension_1
                                                                Dimension_2

        DataField_9 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          38      1 km 16 days average view
                                                        zenith angle
        units           STRING          7       degrees
        valid_range     INT16           2       -9000, 9000
        _FillValue      INT16           1       -10000
        scale_factor    FLOAT64         1       100
        scale_factor_err        FLOAT64 1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5


DataField_10    1 km 16 days sun zenith angle   INT16   Dimension_1
                                                                Dimension_2
        DataField_10 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          37      1 km 16 days average sun
                                                        zenith angle
        units           STRING          7       degrees
        valid_range     INT16           2       -9000, 9000
        _FillValue      INT16           1       -10000
        scale_factor    FLOAT64         1       100
        scale_factor_err FLOAT64        1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5


DataField_11    1 km 16 days relative azimuth angle  INT16 Dimension_1
                                                                   Dimension_2

        DataField_11 HDF Attributes:
        Attribute       Data Type       Number of Values        Value
                                        or Max. String
                                        Length

        long_name       STRING          43      1 km 16 days average relative
                                                        azimuth angle
        units           STRING          7       degrees
        valid_range     INT16           2       -3600, 3600
        _FillValue      INT16           1       -4000
        scale_factor    FLOAT64         1       10
        scale_factor_err FLOAT64        1       0.0
        add_offset      FLOAT64         1       0.0
        add_offset_err  FLOAT64         1       0.0
        calibrated_nt   INT32           1       5

DataField_12	1 km 16 days composite day of the year INT16			Dimension_4	Dimension_5

DataField_12 HDF Attributes:

Attribute			Data Type		Number of Values	Value or Max. String Length

long_name			STRING			38		1 km 16 days composite day of the year
units				STRING			3		day
valid_range			INT16				2		0, 366
_FillValue			INT16				1		-1
scale_factor		FLOAT64			1		1
scale_factor_err		FLOAT64			1		0.0
add_offset			FLOAT64			1		0.0
add_offset_err		FLOAT64			1		0.0
calibrated_nt		INT32				1		5

Data field		Name						Data type	Dimension

DataField_13		1 km 16 days pixel reliability	INT8	Dimension_4	Dimension_5

DataField_13 HDF Attributes:

Attribute		Data Type	Number of Values	Value or Max. String Length

long_name		STRING		30		1 km 16 days pixel reliability

valid_range		INT16			2		0, 3
_FillValue		INT16			1		-1


*******************************************************************************
The 1km 16 days pixel realiability is a summary of all QA indicating how reliable the 
data/pixel is:
	-1 : No data, FILL value
	 0 : Ideal data, use with confidence
	 1 : Good data, but look at other QA information
	 2 : Snow/Ice cover
	 3 : Cloudy data.
*******************************************************************************