List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_GRIDATTR_LIST lists the attributes for a specified grid/file.

-Copyright

   Copyright (2005), California Institute of Technology.
   U.S. Government sponsorship acknowledged.

-I/O
   
   Given:
   
      filename       MISR product file
      gridname       name of a grid within the file

   the call:
   
      status = MTK_GRIDATTR_LIST( filename, gridname, attrcnt, attrlist )
   
   returns:
   
      status         0 on success; otherwise failure
      attrcnt        number of attributes in attrlist
      attrlist       grid attribute list

-Examples

      ;;
      ;; Set up input parameters
      ;;
      file        = '../Mtk_testdata/in/MISR_AM1_GRP_ELLIPSOID_GM_P037_O029058_AA_F03_0024.hdf'
      grid        = 'RedBand'
      status      = MTK_GRIDATTR_LIST( file, grid, attrcnt, attrlist )
      
      ;;
      ;; Output...
      ;;
      print, 'file                  : ', file
      print, 'grid                  : ', grid
      print, '================================================='
      print, 'attribute count       : ', attrcnt
      print, 'attribute list        : ', attrlist

   IDL outputs:
   
       file                  : ../Mtk_testdata/in/MISR_AM1_GRP_ELLIPSOID_GM_P037_O029058_AA_F03_0024.hdf
       grid                  : RedBand
       =================================================
       attribute count       :            7
       attribute list        :  Block_size.resolution_x Block_size.resolution_y Block_size.size_x
                                Block_size.size_y Scale factor std_solar_wgted_height SunDistanceAU

-Particulars
   None.

-Required Reading
   For important details concerning this module's function, please refer to
   the MTK routine MtkGridAttrList.c.

-Version
   -IDL-MTK Version 1.2.0