Changeset 5451 for trunk/Ohana/src/opihi/dvo/gstar.c
- Timestamp:
- Oct 27, 2005, 7:10:17 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/gstar.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/gstar.c
r5448 r5451 5 5 int gstar (int argc, char **argv) { 6 6 7 char filename[128], catdir[256],*date;7 char *date; 8 8 double Ra, Dec, Radius, Radius2, r, dec0, dec1; 9 9 double Mcat, Mrel; … … 18 18 PhotCode *code; 19 19 20 if (VarConfig ("CATDIR", "%s", catdir) == NULL) return (FALSE);21 22 20 if (!InitPhotcodes ()) return (FALSE); 23 21 Nsec = GetPhotcodeNsecfilt (); … … 54 52 55 53 /* load sky from correct table */ 56 sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, -1, VERBOSE); 57 SkyTableSetFilenames (sky, CATDIR, "cpt"); 54 sky = GetSkyTable (); 58 55 skylist = SkyListByRadius (sky, -1, Ra, Dec, Radius); 59 56 … … 63 60 64 61 /* lock, load, unlock catalog */ 65 catalog.filename = skylist[0].regions[0][0].filename;62 catalog.filename = (char *) skylist[0].regions[0][0].filename; 66 63 switch (lock_catalog (&catalog, LCK_SOFT)) { 67 64 case 2:
Note:
See TracChangeset
for help on using the changeset viewer.
