Changeset 3689 for trunk/Ohana/src/opihi/dvo/ddmags.c
- Timestamp:
- Apr 8, 2005, 10:08:50 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/dvo/ddmags.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/dvo/ddmags.c
r3462 r3689 22 22 catalog.measure = NULL; 23 23 24 /* find CATDIR in config system */ 25 VarConfig ("CATDIR", "%s", catdir); 26 24 27 /* load photcode information */ 25 28 if (!InitPhotcodes ()) goto escape; … … 30 33 if (!GetGraphData (&graphsky, NULL, &Ngraph)) return (FALSE); 31 34 32 /* find CATDIR in config system */ 33 VarConfig ("CATDIR", "%s", catdir); 35 /* find catalog files which overlap this region */ 36 Radius = MAX (fabs(graphsky.xmax), fabs(graphsky.ymax)); 37 regions = find_regions (graphsky.coords.crval1, graphsky.coords.crval2, Radius, &Nregions); 34 38 35 39 /* interpret command-line options */ … … 46 50 if (!GetPhotcodeInfo (argv[7], &code[3], &mode[3])) return (FALSE); 47 51 if ((mode[2] == MAG_AVE) || (mode[2] == MAG_REF)) UseAverages = TRUE; 48 49 /* find catalog files which overlap this region */50 Radius = MAX (fabs(graphsky.xmax), fabs(graphsky.ymax));51 regions = find_regions (graphsky.coords.crval1, graphsky.coords.crval2, Radius, &Nregions);52 52 53 53 /* init vectors to save data */ … … 114 114 usage: 115 115 fprintf (stderr, "USAGE: ddmags F - F : measure.param\n"); 116 return (FALSE);117 116 118 117 escape:
Note:
See TracChangeset
for help on using the changeset viewer.
