IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30478


Ignore:
Timestamp:
Feb 3, 2011, 9:34:11 AM (15 years ago)
Author:
eugene
Message:

adjust verbosity levels

Location:
branches/eam_branches/ipp-20101205/Ohana/src/relastro/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20101205/Ohana/src/relastro/src/FitChip.c

    r29001 r30478  
    8888    }
    8989    if (skip) {
    90       if (VERBOSE) fprintf (stderr, "insufficient measurements (%d) for requested order (%d)\n", fit[0].Npts, image[0].coords.Npolyterms);
     90      if (VERBOSE2) fprintf (stderr, "insufficient measurements (%d) for requested order (%d)\n", fit[0].Npts, image[0].coords.Npolyterms);
    9191      fit_free (fit);
    9292      free (values);
  • branches/eam_branches/ipp-20101205/Ohana/src/relastro/src/StarMaps.c

    r29001 r30478  
    7979    starmap[N].stars[ybin*NX_MAP + xbin] ++;
    8080  }
    81   MARKTIME("assign stars to starmap bins: %f sec\n", dtime);
     81  if (VERBOSE2) { MARKTIME("assign stars to starmap bins: %f sec\n", dtime); }
    8282
    8383  return (TRUE);
     
    117117    }
    118118
    119     if (VERBOSE) fprintf (stderr, "starmap: %d points for image %s\n", starmap[i].Npoints, images[i].name);
     119    if (VERBOSE2) fprintf (stderr, "starmap: %d points for image %s\n", starmap[i].Npoints, images[i].name);
    120120  }
    121121
     
    145145  }
    146146
    147   if (VERBOSE) fprintf (stderr, "max deviations for %s using %d pts : %f, %f\n", images[N].name, starmap[N].Npoints, dLmax, dMmax);
     147  if (VERBOSE2) fprintf (stderr, "max deviations for %s using %d pts : %f, %f\n", images[N].name, starmap[N].Npoints, dLmax, dMmax);
    148148
    149   if (dLmax > DPOS_MAX) return (FALSE);
    150   if (dMmax > DPOS_MAX) return (FALSE);
     149  if (dLmax > DPOS_MAX) {
     150      if (VERBOSE) fprintf (stderr, "max deviations for %s using %d pts : %f, %f\n", images[N].name, starmap[N].Npoints, dLmax, dMmax);
     151      return (FALSE);
     152  }
     153  if (dMmax > DPOS_MAX) {
     154      if (VERBOSE) fprintf (stderr, "max deviations for %s using %d pts : %f, %f\n", images[N].name, starmap[N].Npoints, dLmax, dMmax);
     155      return (FALSE);
     156  }
    151157  return (TRUE);
    152158}
  • branches/eam_branches/ipp-20101205/Ohana/src/relastro/src/bcatalog.c

    r29001 r30478  
    7878        subcatalog[0].measure[Nmeasure].dbFlags &= ~ID_MEAS_AREA;
    7979      }
    80      
     80
    8181      Nmeasure ++;
    8282      Nm ++;
  • branches/eam_branches/ipp-20101205/Ohana/src/relastro/src/load_catalogs.c

    r29001 r30478  
    2626    pcatalog[0].Nsecfilt  = GetPhotcodeNsecfilt ();
    2727
    28     if (!dvo_catalog_open (pcatalog, skylist[0].regions[i], VERBOSE, "w")) {
     28    if (!dvo_catalog_open (pcatalog, skylist[0].regions[i], VERBOSE2, "w")) {
    2929      fprintf (stderr, "ERROR: failure reading catalog %s\n", pcatalog[0].filename);
    3030      exit (1);
    3131    }
    32     if (VERBOSE && !pcatalog[0].Naves_disk) fprintf (stderr, "no data in %s, skipping\n", pcatalog[0].filename);
     32    if (VERBOSE2 && !pcatalog[0].Naves_disk) fprintf (stderr, "no data in %s, skipping\n", pcatalog[0].filename);
    3333
    3434    //outlier rejection
  • branches/eam_branches/ipp-20101205/Ohana/src/relastro/src/plotstuff.c

    r27588 r30478  
    146146  graphdata[0].ymax = dUNDEF;
    147147   
     148  graphdata[0].ticktextPad = NAN;
     149  graphdata[0].labelPadXm = NAN;
     150  graphdata[0].labelPadXp = NAN;
     151  graphdata[0].labelPadYm = NAN;
     152  graphdata[0].labelPadYp = NAN;
     153  graphdata[0].padXm = NAN;
     154  graphdata[0].padXp = NAN;
     155  graphdata[0].padYm = NAN;
     156  graphdata[0].padYp = NAN;
    148157}
Note: See TracChangeset for help on using the changeset viewer.