List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_FILE_GRID_TO_RESOLUTION returns the resolution in meters of a given grid.

-Copyright

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

-I/O
   
   Given:
   
      file      MISR file
   
      grid      name of grid
   
   the call:
   
      status = MTK_FILE_GRID_TO_RESOLUTION( file, grid, resolution )
   
   returns:
   
      status     0 on success; otherwise failure
      resolution grid resolution in meters
      
-Examples

      ;;
      ;; Set up input parameters
      ;;
      file  = '../Mtk_testdata/in/MISR_AM1_GRP_ELLIPSOID_GM_P037_O029058_AA_F03_0024.hdf'
      grid  = 'RedBand'
      
      status = MTK_FILE_GRID_TO_RESOLUTION( file, grid, resolution )
      
      ;;
      ;; Output...
      ;;
      print, 'file                  : ', file
      print, 'grid                  : ', grid
      print, '================================================='
      print, 'RESOLUTION (meters)   : ',resolution

   IDL outputs:
   
      file                  : ../Mtk_testdata/in/MISR_AM1_GRP_ELLIPSOID_GM_P037_O029058_AA_F03_0024.hdf
      grid                  : RedBand
     =================================================
      RESOLUTION (meters)   : 275

-Particulars
   None.

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

-Version
   -IDL-MTK Version 1.2.0