next up previous 405
Next: Obtaining dataset shape
Up: Dealing with Files
Previous: Discarding text output


Obtaining dataset attributes

When writing a data-processing pipeline connecting several applications you will often need to know some attribute of the data file, such as its number of dimensions, its shape, whether or not it may contain bad pixels, a variance array or a specified extension. The way to access these data is with ndftrace from KAPPA and parget commands. ndftrace inquires the data, and parget communicates the information to a shell variable.



Subsections

next up previous 405
Next: Obtaining dataset shape
Up: Dealing with Files
Previous: Discarding text output

C-shell Cookbook
Starlink Cookbook 4
Malcolm J. Currie
2006 November 26
E-mail:starlink@jiscmail.ac.uk

Copyright © 2013 Science and Technology Facilities Council