Parameters for "spread"
The parameters set looks like this:

This task will create a simple text file with the instructions
to copy the reduced images to the CSP database.
Start by editing the snphot$sn.coo file. This is a text file
with a list of supernovae. The first column specifies the supernova name;
the next two columns have precise equatorial coordinates (2000.0) for
each supernova. Enter the name of this file in the "sn_coo" parameter.
The parameter "SNdir" specifies the directory where you
want to place the SN images. This parameter must take
the values /csp2/ir_phot/. Ignore the "caldir" parameter.
The parameter "opt_ir" must be set to IR.
The "filter" parameter is the image header keyword contaning the
filter IDs and the "filterid" gives the filter IDs. You have to pick
the option for IR.
The "aperture" parameter is the image header keyword that specifies
the slit size. The "apertureid" parameter is used to specify the
value of "aperture" that corresponds to the open position (no slit).
The "date" and the "obstime" parameter are the image header keywords
that specify the UT date of observation and the UT time, respectively.
The "instrument" parameter allows you to specify the name of the
instrument employed. You can only enter the official CSP names.
The "tel" parameter specifies the telescope image header keyword.
The "ra", "dec", and "epoch" parameters specify the right ascension
declination, and equinox header keywords. This information will be used
to find the name of the supernova in the snphot$sn.coo catalogue file.
The value specified in the "tolerance" parameter will be used to match
the image coordinates with those of the catalogue.
Running the task "spread"
This task will search for the the name of the supernova in the
snphot$sn.coo catalogue file. The value specified in the "tolerance"
parameter will be used to match the image coordinates with those
of the catalogue.
If the object is already in the supernova list defined in the
parameter "sn_coo", "spread" will find it according to the header
coordinates ("ra", "dec", and "epoch") and a tolerance in arcmin
that you can specify in the parameter "tolerance", and propose you a
name for every image. If the image is not found in the supernova
list "spread" will assign it the "nomatch" flag. If this happens
answer "no" when prompted to accept this. You will have to
add the new SN to the supernova list (snphot$sn.coo in the example above).
Once you have all the SNe properly identified you can asnwer "yes"
when prompted. The task will create one subdirectory per SN in the
CSP database (whose location is specified with the "dir" parameter).
If the subdirectory already exists this operation will be skipped.
The task will then write a simple text file named "spread" which
you can edit (in general it shouldn't be necessary).
The file "spread" is an IRAF script which contains a series of "imcopy"
commands (one image per line) where the output image has been named
after the SN name, the filter, a correlative number in case
that more than one SN/filter combination was obtained, the telescope,
the instrument, and the local date of observation. You must execute
this script by typing
cl < spread
This command will write the SN images to the CSP database.