Converts an image in GASP format to an NDF
".dat"
is assumed. m31_gasp.dat
into an NDF called m31. The dimensions of the image are taken from the header file
m31_gasp.hdr
. n1068.dat
and create the NDF ngc1068
with dimensions 256 columns by 512 rows. A GASP image is limited to a maximum of 1024 by 1024 elements. It must be two dimensional.
The GASP image is written to the NDF’s data array. The data array has type _WORD. No other NDF components are created.
If the header file is corrupted, you must remove the offending ".hdr"
file or specify the shape of the
GASP image on the command line, otherwise the application will continually abort.