List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract
MTK_FILE_COREMETADATA_GET returns the value of a coremetadata parameter given its name.
-Copyright
Copyright (2005), California Institute of Technology.
U.S. Government sponsorship acknowledged.
-I/O
Given:
filename MISR product file
paramname name of a coremetdata parameter
the call:
status = MTK_FILE_COREMETADATA_GET( filename, paramname, paramval)
returns:
status 0 on success; otherwise failure
paramval value of specified coremetadata parameter name
-Examples
;;
;; Set up input parameters
;;
file = '../Mtk_testdata/in/MISR_AM1_AS_LAND_P037_O029058_F06_0017.hdf'
paramname = 'LOCALVERSIONID'
status = MTK_FILE_COREMETADATA_GET( file, paramname, paramval )
;;
;; Output...
;;
print, 'file : ', file
print, 'parameter name : ', paramname
print, '================================================='
print, 'parameter value : ', paramval
IDL outputs:
file : ../Mtk_testdata/in/MISR_AM1_AS_LAND_P037_O029058_F06_0017.hdf
parameter name : LOCALVERSIONID
=================================================
parameter value : MISR_EXEC_VERSION: MISR_REFORMATTER_1.3 MISR_EXEC_NAME:misr_reformatter.cc
-Particulars
None.
-Required Reading
For important details concerning this module's function, please refer to
the MTK routine MtkFileCoreMetaDataGet.c.
-Version
-IDL-MTK Version 1.2.0