IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 8, 2003, 3:19:39 AM (23 years ago)
Author:
eugene
Message:

megacam updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/detrend/output.c

    r21 r70  
    180180int PrintSubset (DetReg *detdata, Match *match, int Nmatch) {
    181181 
    182   char *dBPath, *typestr, *filtstr;
     182  char *dBPath, *typestr, *filtstr, filename[128];
    183183  char *timestr, *modestr, *ccdstr, ccdinfo[16], ccdformat[16];
    184184  int i, j, Nc;
     
    218218
    219219    /* output mode (Select vs List) */
     220    if (output.Chipname && criteria[0].CCDSelect && detdata[i].mode == M_MEF) {
     221      snprintf (filename, 128, "%s[%s]", detdata[i].filename, ccds[criteria[0].CCD]);
     222    } else {
     223      strcpy (filename, detdata[i].filename);
     224    }
     225
    220226    if (output.Select) {
    221       fprintf (stdout, "%s/%s\n", dBPath, detdata[i].filename);
     227      fprintf (stdout, "%s/%s\n", dBPath, filename);
    222228    } else {
    223229      fprintf (stdout, "%-40s = %19s %7s %6s %6s %s %2d %2d %6.1f  %20s\n",
    224                detdata[i].filename, timestr, modestr, typestr, filtstr, ccdstr,
     230               filename, timestr, modestr, typestr, filtstr, ccdstr,
    225231               detdata[i].Nentry, detdata[i].Norder, detdata[i].exptime, detdata[i].label);
    226232    }
Note: See TracChangeset for help on using the changeset viewer.