1
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2
%.COPYRIGHT (c) 1990-2010 European Southern Observatory
5
%.KEYWORDS MIDAS, help files, INDISK/ASCII
6
%.PURPOSE On-line help file for the command: INDISK/ASCII
7
%.VERSION 1.0 02-MAR-1995 : Creation, KB
8
%----------------------------------------------------------------
12
INDISK/ASCII 09-FEB-2010 KB
14
INDISK/ASCII in_file [out_file] [npix_string]
15
read ASCII file from disk + convert to Midas image
18
Read ASCII file from disk + convert to Midas image
21
INDISK/ASCII in_file [out_file] [npix_string]
23
in_file = name of input ASCII file
25
out_file = name of Midas image (max. 3 dimensions);
29
npix_string = optional string with naxis,npix(1),npix(2),npix(3);
31
if not given, a 1-dim image with the no. of pixels read from
32
the ASCII file is created; that is the default
35
OUTDISK/ASCII, INDISK/FITS, INTAPE/FITS, CREATE/IMAGE, CREATE/TABLE
38
If the ASCII file has less pixels than required (possible, if
39
npix_string is specified) the remaining image pixels are set to
40
the contents of keyword NULL(1), the user defined null value.
41
Max. length of input lines is 10000 chars. (bytes).
45
INDISK/ASCII zapato.asc bota
46
Read ASCII file `zapato.asc' and convert it to the 1-dim image
47
`bota,bdf'. NPIX(1) of `bota.bdf' will be set to the no. of pixels
48
stored in `zapato.asc'.
50
INDISK/ASCII ascii.data ? 2,200,400
51
Read ASCII file `ascii.data' and convert it to the 2-dim image
52
`toto,bdf', NPIX(1,2) of `toto.bdf' is set to 200,400. If
53
`ascii.data' does not contain 80000 pixels, the remaining pixels
54
of `toto.bdf' are set to the contents of keyword NULL(1).