dmgti with long filter strings

From: Ben Maughan (bjm@star.sr.bham.ac.uk)
Date: Tue May 01 2001 - 10:23:19 EDT


Hello all,
 I've been having a problem when trying to create a GTI file with a LONG
filter expression. I can use pset to set the expression without problems...

> plist dmgti
 
Parameters for /base/bjm/cxcds_param/dmgti.par
 
        infile = lightcurve.fits Input MTL file
       outfile = acis_ccd0123.gti Output GTI file
     userlimit = (((time > 82517987.127424) && (time <
82527787.127424))||((time > 82527987.127424) && (time <
82529987.127424))||((time > 82531587.127424) && (time <
82532587.127424))||((time > 82533187.127424) && (time <
82534587.127424))||((time > 82536787.127424) && (time <
82623587.127424))) User defined limit string
      (mtlfile = none) Optional output smoothed/filtered MTL file
     (lkupfile = none) Lookup table defining which MTL columns
to check against (NONE|none|<filename>)
       (smooth = yes) Smooth the input MTL data?
       (kernel = default) Data Model creation/copy kernel
      (clobber = yes) Clobber output file if it exists?
      (verbose = 0) Debug level
         (mode = h)

but when I run dmgti, it doesn't appear to detect the whole expression...

> dmgti

# 21915: mtl_build_gti: ERROR: There was a syntax error in the expression
(((time > 82517987.127424) && (time < 82527787.127424))||((time >
82527987.127424) && (time < 82529987.127424))||((time > 82531587.127424)
&& (time < 82532587.127424))||((time > 82533187.127424) && (time <
82534587.127424))||((time > 82536787.127424) && (. It will be
discarded.

It seems to have missed the last 20 or so characters of my filter
expression. Is there a hard limit in CIAO to the length of a filter
expression, and does anyone know a way to get round this, to create a GTI
file for these time intervals?

Thanks a lot,

Ben Maughan



This archive was generated by hypermail 2b29 : Thu Dec 13 2012 - 01:00:05 EST