VAX_IEEE_DOIT

Use this procedure to perform VAX IEEE floating-point conversion.

Syntax

ENVI_DOIT, 'VAX_IEEE_DOIT', /COPY_HEADER, IN_NAME=string, OFFSET=value, OUT_NAME=string

Keywords

COPY_HEADER

Set this keyword to specify that the header should be copied to the new output file.

IN_NAME

Use this keyword to specify an input filename for the VAX IEEE data.

OFFSET

Use this keyword to specify a byte offset to the start of the VAX IEEE floating-point data.

OUT_NAME

Use this keyword to specify a string with the output filename for the resulting data. If you set the keyword IN_MEMORY, you do not need to specify OUT_NAME.

Example

PRO EXAMPLE_VAX_IEEE_DOIT

compile_opt IDL2

; First restore all the base save files.

envi, /restore_base_save_files

 

; Initialize ENVI and send all errors

; and warnings to the file batch.txt

envi_batch_init, log_file='batch.txt'

 

; Set the input VAX filename.

offset = 0L

in_name = 'vaxdata'

out_name = 'testimg'

 

; Perform the VAX IEEE conversion.

envi_doit, 'vax_ieee_doit', $

in_name=in_name, out_name=out_name, $

offset=offset

 

; Exit ENVI

envi_batch_exit

END