Changeset 5451 for trunk/Ohana/src/opihi/dvo/pmeasure.c
- Timestamp:
- Oct 27, 2005, 7:10:17 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/pmeasure.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/pmeasure.c
r5448 r5451 6 6 int i, j, k, m, N; 7 7 int Ngraph; 8 char filename[128], catdir[256];9 8 double Mz, Mr, mag; 10 9 double Radius, Rmin, Rmax; … … 22 21 if (!InitPhotcodes ()) return (FALSE); 23 22 if (!GetGraph (&graphmode, NULL, &Ngraph)) return (FALSE); 24 if (VarConfig ("CATDIR", "%s", catdir) == NULL) return (FALSE);25 23 26 24 f = (FILE *) NULL; … … 76 74 77 75 /* load sky from correct table */ 78 sky = SkyTableLoadOptimal (CATDIR, SKY_TABLE, GSCFILE, -1, VERBOSE); 79 SkyTableSetFilenames (sky, CATDIR, "cpt"); 76 sky = GetSkyTable (); 80 77 skylist = SkyListByRadius (sky, -1, graphmode.coords.crval1, graphmode.coords.crval2, Radius); 81 78 … … 84 81 85 82 /* lock, load, unlock catalog */ 86 catalog.filename = skylist[0].regions[j][0].filename;83 catalog.filename = (char *) skylist[0].regions[j][0].filename; 87 84 switch (lock_catalog (&catalog, LCK_SOFT)) { 88 85 case 2:
Note:
See TracChangeset
for help on using the changeset viewer.
