List of Routines By Functionality |  MISR Toolkit: Main Page

-Abstract

   MTK_FILE_TO_BLOCKRANGE returns the starting and ending block numbers for a MISR product file.

-Copyright

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

-I/O
   
   Given:
   
      file      MISR file
   
   the call:
   
      status = MTK_FILE_TO_BLOCKRANGE( file, start_block, end_block )
   
   returns:
   
      status       0 on success; otherwise failure
      start_block  starting block number
      end_block    ending block number
      
-Examples

      ;;
      ;; Set up input parameters
      ;;
      file  = '../Mtk_testdata/in/MISR_AM1_GRP_ELLIPSOID_GM_P037_O029058_AA_F03_0024.hdf'
      
      status = MTK_FILE_TO_BLOCKRANGE( file, start_block, end_block )
      
      ;;
      ;; Output...
      ;;
      print, 'file                  : ', file
      print, '================================================='
      print, 'STARTING BLOCK                  : ',start_block
      print, 'ENDING BLOCK                    : ',end_block

   IDL outputs:
   
      file                  : ../Mtk_testdata/in/MISR_AM1_GRP_ELLIPSOID_GM_P037_O029058_AA_F03_0024.hdf
     =================================================
      STARTING BLOCK        : 1
      ENDING BLOCK          : 140

-Particulars
   None.

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

-Version
   -IDL-MTK Version 1.2.0