Changeset 42218 for branches/eam_branches/ipp-20220316
- Timestamp:
- May 19, 2022, 10:04:38 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20220316/Ohana/src/addstar/src/loadwise_rawdata.c
r42211 r42218 8 8 /* read in chunks of ~64MB */ 9 9 # define NBYTE 0x40000000 10 # define DEBUG 110 # define DEBUG 0 11 11 12 12 int loadwise_rawdata (SkyList *skytable, char *filename, AddstarClientOptions options) { … … 42 42 while ((Nbyte = fread (&buffer[Nextra], 1, NBYTE-Nextra, f)) != 0) { 43 43 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); 45 45 46 46 Nbyte += Nextra; … … 188 188 } 189 189 190 if ( Nave < 10) {190 if (DEBUG && (Nave < 10)) { 191 191 fprintf (stderr, "pos: %12.6f %12.6f +/- %10.5f %10.5f : %12.6f %12.6f +/- %10.5f %10.5f\n", 192 192 newcat->average[Nave].R, newcat->average[Nave].D,
Note:
See TracChangeset
for help on using the changeset viewer.
