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
envi, /restore_base_save_files
envi_batch_init, log_file='batch.txt'
offset = 0L
in_name = 'vaxdata'
out_name = 'testimg'
envi_doit, 'vax_ieee_doit', $
in_name=in_name, out_name=out_name, $
offset=offset
envi_batch_exit
END