List of Routines By Functionality | MISR Toolkit: Main Page
-Abstract MTK_FIELDATTR_GET returns the value of an attribute for a specified field/file. -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 attrname name of an attribute associated with the field the call: status = MTK_FIELDATTR_GET( filename, fieldname, attrname, attrval ) returns: status 0 on success; otherwise failure attrval value of specified field attribute -Examples ;; ;; Set up input parameters ;; file = '../Mtk_testdata/in/MISR_AM1_TC_CLOUD_P110_O074017_F01_0001.hdf' field = 'CloudMotionCrossTrack' attr = 'scale_factor' status = MTK_FIELDATTR_GET( file, field, attr, val ) ;; ;; Output... ;; print, 'file : ', file print, 'field : ', field print, 'attribute : ', attr print, '=================================================' print, 'attribute value : ', val IDL outputs: file : ../Mtk_testdata/in/MISR_AM1_TC_CLOUD_P110_O074017_F01_0001.hdf field : CloudMotionCrossTrack attribute : scale_factor ================================================= attribute value : 0.0100000 -Particulars None. -Required Reading For important details concerning this module's function, please refer to the MTK routine MtkFieldAttrGet.c. -Version -IDL-MTK Version 1.4.0