IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 19, 2022, 10:04:38 AM (4 years ago)
Author:
eugene
Message:

stop debugging mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20220316/Ohana/src/addstar/src/loadwise_rawdata.c

    r42211 r42218  
    88/* read in chunks of ~64MB */
    99# define NBYTE 0x40000000
    10 # define DEBUG 1
     10# define DEBUG 0
    1111
    1212int loadwise_rawdata (SkyList *skytable, char *filename, AddstarClientOptions options) {
     
    4242  while ((Nbyte = fread (&buffer[Nextra], 1, NBYTE-Nextra, f)) != 0) {
    4343    if (Nbyte == -1) Shutdown ("error reading from raw file %s", filename);
    44     if (DEBUG) fprintf (stderr, "read %d bytes", Nbyte);
     44    if (DEBUG) fprintf (stderr, "read %d bytes .. n", Nbyte);
    4545
    4646    Nbyte += Nextra;
     
    188188        }
    189189
    190         if (Nave < 10) {
     190        if (DEBUG && (Nave < 10)) {
    191191          fprintf (stderr, "pos: %12.6f %12.6f +/- %10.5f %10.5f : %12.6f %12.6f +/- %10.5f %10.5f\n",
    192192                   newcat->average[Nave].R, newcat->average[Nave].D,
Note: See TracChangeset for help on using the changeset viewer.