List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract
MTK_FIELDATTR_LIST lists the attributes for a specified field.
-Copyright
Copyright (2014), California Institute of Technology.
U.S. Government sponsorship acknowledged.
-I/O
Given:
filename MISR product file
fieldname name of a field within the file
the call:
status = MTK_FIELDATTR_LIST( filename, fieldname, attrcnt, attrlist )
returns:
status 0 on success; otherwise failure
attrcnt number of attributes in attrlist
attrlist field attribute list
-Examples
;;
;; Set up input parameters
;;
file = '../Mtk_testdata/in/MISR_AM1_TC_CLOUD_P110_O074017_F01_0001.hdf'
field = 'CloudMotionCrossTrack'
status = MTK_FIELDATTR_LIST( file, field, attrcnt, attrlist )
;;
;; Output...
;;
print, 'file : ', file
print, 'field : ', field
print, '================================================='
print, 'attribute count : ', attrcnt
print, 'attribute list : ', attrlist
IDL outputs:
file : /Users/sval/Mtk_testdata/in/MISR_AM1_TC_CLOUD_P110_O074017_F01_0001.hdf
field : CloudMotionCrossTrack
=================================================
attribute count : 7
attribute list : _FillValue scale_factor add_offset valid_min valid_max units long_name
-Particulars
None.
-Required Reading
For important details concerning this module's function, please refer to
the MTK routine MtkFieldAttrList.c.
-Version
-IDL-MTK Version 1.4.0