IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 8, 2005, 10:08:50 AM (21 years ago)
Author:
eugene
Message:

minor cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/dvo/ddmags.c

    r3462 r3689  
    2222  catalog.measure = NULL;
    2323
     24  /* find CATDIR in config system */
     25  VarConfig ("CATDIR", "%s", catdir);
     26
    2427  /* load photcode information */
    2528  if (!InitPhotcodes ()) goto escape;
     
    3033  if (!GetGraphData (&graphsky, NULL, &Ngraph)) return (FALSE);
    3134 
    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);
    3438
    3539  /* interpret command-line options */
     
    4650  if (!GetPhotcodeInfo (argv[7], &code[3], &mode[3])) return (FALSE);
    4751  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);
    5252
    5353  /* init vectors to save data */
     
    114114usage:
    115115  fprintf (stderr, "USAGE: ddmags F - F : measure.param\n");
    116   return (FALSE);
    117116
    118117escape:
Note: See TracChangeset for help on using the changeset viewer.