Changeset 37693
- Timestamp:
- Nov 29, 2014, 2:59:25 AM (12 years ago)
- Location:
- branches/eam_branches/ipp-20140904/Ohana/src/relastro/src
- Files:
-
- 2 edited
-
CoordOps.c (modified) (2 diffs)
-
load_catalogs.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/CoordOps.c
r37682 r37693 7 7 static Coords *oldCoords; // list of available images 8 8 static off_t NoldCoords; // number of available images 9 10 AstromOffsetTable *table = NULL;11 9 12 10 void initCoords (void) { … … 26 24 memset (nPosSum, 0, N*sizeof(off_t)); 27 25 memset (isBadCoord, 0, N*sizeof(int)); 28 29 // create a table to save tables with their coords30 table = AstromOffsetTableInit();31 32 26 } 33 27 -
branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/load_catalogs.c
r37658 r37693 6 6 Catalog *load_catalogs (SkyList *skylist, int *Ncatalog, int subselect, int hostID, char *hostpath, char *syncfile) { 7 7 8 int i, j , Nstar;8 int i, j; 9 9 // int k, m; 10 10 Catalog *catalog, *pcatalog, tcatalog; … … 90 90 fprintf (stderr, "included %d ICRF QSOs\n", ICRFmax()); 91 91 92 Nstar = 0; 92 int Nstar = 0; 93 int Nmeas = 0; 93 94 for (i = 0; i < Ncat; i++) { 94 95 Nstar += catalog[i].Naverage; 96 Nmeas += catalog[i].Nmeasure; 95 97 if ((sizeof(IDX_T) == 8) && (catalog[i].Nmeasure > 0xffffffff)) { 96 98 fprintf (stderr, "ERROR: using small-sized IDX_T on data with more than 2G detections per table will cause errors\n"); … … 102 104 fprintf (stderr, "warning: insufficient stars %d\n", Nstar); 103 105 } 106 fprintf (stderr, "using %d stars, %d measurements to calibrate\n", Nstar, Nmeas); 104 107 105 108 // if we are running with parallel_images but not a parallel database, we need to
Note:
See TracChangeset
for help on using the changeset viewer.
