.:ioIDL:home: Difference between revisions

From ADPAA
Jump to navigation Jump to search
(Created page with "=Procedure Name= read_nasa (from read_nasa.pro) =Purpose= Reads in data from a file in the UND/NASA format and returns the header information in a structure and the data valu...")
 
No edit summary
 
Line 3: Line 3:


=Purpose=
=Purpose=
Reads in data from a file in the UND/NASA format and returns the header information in a structure and the data values in the "data" variable.
Reads in data from a file in the NASA/UND format and returns the header information in a structure and the data values in the "data" variable.


=Syntax=
=Syntax=
   READ_NASA, file_name, header, data [, /HEADER_ONLY]
   READ_NASA, file_name, header, data [, /HEADER_ONLY]
* file_name - The name of the UND/NASA-formatted ASCII file to read data from.
* file_name - The name of the NASA/UND-formatted ASCII file to read data from.
* header - Returned structure that contains the header information.
* header - Returned structure that contains the header information.
* data - Returned array that contains the data read from the file.
* data - Returned array that contains the data read from the file.
* /HEADER_ONLY - Optional keyword that returns only the header information from the input file.
* /HEADER_ONLY - Optional keyword that returns only the header information from the input file.

Latest revision as of 01:21, 25 January 2019

Procedure Name

read_nasa (from read_nasa.pro)

Purpose

Reads in data from a file in the NASA/UND format and returns the header information in a structure and the data values in the "data" variable.

Syntax

 READ_NASA, file_name, header, data [, /HEADER_ONLY]
  • file_name - The name of the NASA/UND-formatted ASCII file to read data from.
  • header - Returned structure that contains the header information.
  • data - Returned array that contains the data read from the file.
  • /HEADER_ONLY - Optional keyword that returns only the header information from the input file.