#!/bin/csh
#
#  Generate kernel database from existing kernels
#  Comments: 	2008 09 16 - JRS - This version of makedb was generated to
#		include the ISS files that were not previously included because
#		of NAIF routines array limits.  Also, concerning predict
#		kernels, the "p" in the naming convention represents all the
#		predict files and picks up both the psiv and fsiv files (these
#		are Preliminary and Final versions of the Sequence Integration
#		and Validation files, typically generated 6-8 weeks before
#		uplink).
#		2008 09 17 - JRS - Certain CK kernels are not time sorted
#		properly in the db file.  This might be corrected by changing
#		the way kerneldbgen reads the regular expression string - that
#		is read them into an array instead of a string.
/home/ssides/isis/src/system/apps/kerneldbgen/kerneldbgen to='TESTkernels.????.db' type=CK \
            recondir='$cassini/kernels/ck' reconfilter='??????_??????r*.bc;?????_?????r*.bc' \
	    smitheddir='$cassini/kernels/ck' smithedfilter='?????_?????c?_ISS.bc' \
            predictdir='$cassini/kernels/ck' predictfilter='?????_?????p*.bc' \
            sclk='$cassini/kernels/sclk/cas?????.tsc' \
            lsk='$base/kernels/lsk/naif????.tls'
            
