My pixel files were moved to another disk and now the i_pixfile pathname in the image headers is wrong. How can IRAF find the pixels?
The pixels of an IRAF image are stored separately from the image header. The pathname to the pixel file is contained in a header parameter referenced as “pixfile” by the HSELECT and HEDIT tasks. Users occasionally need to modify this pixel pathname, most commonly when the disk containing the pixels has been renamed or if the pixel files have been moved en masse for system administration reasons to a new location. The following method enables you to modify a large number of image headers to contain new pixel pathnames. The technique is to first create a temporary file of image names and their current pixel pathnames using the task HSELECT. You globally edit this temporary file to contain the new pixel pathnames and then use the modified file as input to the HEDIT task.
Related Questions
- My pixel files were moved to another disk and now the i_pixfile pathname in the image headers is wrong. How can IRAF find the pixels?
- After doing an Add Back some important preference files (Remote Access prefs) aren moved back. Whats wrong?
- What happens if the X9.37 file is the wrong format, is corrupted, or has bad image files?