NAME

pcon - write context information from a context text file to an image header

USAGE

pcon contab image

PARAMETERS

contab = "" [file name]
The name of a context text file from which the context table information will be read.
image = "" [file name]
The name of a context image file to which the context information is to be written.

DESCRIPTION

This task is a simple utility for reading context information from a text file on disk and writing it to the header of an image.

In order to avoid excessively long headers the "header context table" is actually stored in a text file when there are more than a specified (currently 20) number of contexts appropriate to that image. These table files normally are named <context image name>.CON and should not be deleted or separated from their parent image files. If "pcon" is used to write a long context table to a header such an additional file will be created and its name stored in the header of the target image in the keyword CONFILE.

EXAMPLE

To write the context information from the text file "CONTAB" and write it into the header of the image "test.hhh"

pcon CONTAB test.hhh

TIMING

It only takes a very short time.

SEE ALSO

drizzle,parapredriz,gcon,mcon