[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20000905: McIDAS output of simple 16-bit binary files from AREAs



>From: address@hidden
>Organization: ?
>Keywords: 200009052303.e85N3eN03345 McIDAS-X AREA binary AXFORM

Matt,

>I've been asked to see if it is possible for the McIdas program to convert
>McIdas data into a simple 16bit unlabeled binary format, and if it is
>possible, how to go about doing so.  Thanks in advance.

Yes, McIDAS can do this.  Check out the AXFORM command.  Here are the
first few lines from the online help from this command:

AXFORM - Generates multiple files from an area
   AXFORM sarea file <keywords>
Parameters:
   sarea | digital area number
   file | output file name; 8 alphanumeric characters maximum;
          no extension can be specified
Keywords:
   BAND=    | band numbers for a multibanded sarea (def=first band)
       =ALL | all bands of sarea
   FLIP=YES | flip bytes (def=NO)
   FORMAT=I1 | output elements are 1 byte integers
         =I2 | output elements are 2 byte integers
         =I4 | output elements are 4 byte integers
   FTYPE=BIN  | binary files (as specified in FORMAT keyword) (def)
        =ASC  | ASCII text files (w/ 25I10 format)
        =BOTH | both file types
   MISS= | missing data value for .LAT/.LON extension files
           (def=65535 Hex FFFF)
   NAV=YES inc | produce .LAT/.LON data files with an element
                 increment; these files contain LAT/LON stored as
                 degrees*100 (2 bytes per element); the increment is the
                 the number of data elements associated with each LAT/LON
                 element (def=NO 1)
   UNIT=    | calibration units of output files (def=cal units of sarea)
       =ALL | all calibration units defined by sarea

This would seem to do exactly what you want.

>--Matt Uller

Tom Yoksas