| imagree | stsdas.sobsolete | imagree |
imagree -- Change header keywords to agree with the image name.
imagree image header data
This task modifies the header keywords in one or more images so that they agree with the image name. The header parameter contains the name of the keyword that points to the header file. The data parameter is the keyword that points to the data file. If data is blank, the data file name will not be written to the header. The data file name can only be written if the image is in either STSDAS GEIS (STF) or old IRAF (OIF) format. (Data formats are explained in the "Data Formats" chapter of the "STSDAS Users Guide".)
1. Modify all the images in the current directory, changing the image name stored in the keyword filname. None of the header keywords contain the data file name.
to> imagree *.??h filename ""