IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33472


Ignore:
Timestamp:
Mar 10, 2012, 12:48:12 PM (14 years ago)
Author:
eugene
Message:

fix -averages mode for -parallel

Location:
branches/eam_branches/ipp-20111122/Ohana/src/relphot/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/args.c

    r33452 r33472  
    498498  }
    499499
     500  if ((MODE == MODE_UPDATE_OBJECTS)  && (argc == 1)) return TRUE;
    500501  if (argc != 2) relphot_client_usage ();
    501502
  • branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/initialize.c

    r33297 r33472  
    6565  args_client (argc, argv);
    6666
     67  if (MODE == MODE_UPDATE_OBJECTS) return;
     68
    6769  // load the list of photcodes into the globals (photcodes, Nphotcodes)
    6870  PhotcodeList = strcreate (argv[1]);
  • branches/eam_branches/ipp-20111122/Ohana/src/relphot/src/relphot_objects.c

    r33452 r33472  
    143143
    144144    char command[1024];
    145     snprintf (command, 1024, "relphot_client -update-objects -hostID %d -D CATDIR %s -hostdir %s -region %f %f %f %f",
    146               table->hosts[i].hostID, CATDIR, table->hosts[i].pathname, UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax);
     145    snprintf (command, 1024, "relphot_client -update-objects -hostID %d -D CATDIR %s -hostdir %s -region %f %f %f %f -statmode %s -D CAMERA %s -D STAR_TOOFEW %d -minerror %f",
     146              table->hosts[i].hostID, CATDIR, table->hosts[i].pathname, UserPatch.Rmin, UserPatch.Rmax, UserPatch.Dmin, UserPatch.Dmax, STATMODE, CAMERA, STAR_TOOFEW, MIN_ERROR);
    147147
    148148    char tmpline[1024];
Note: See TracChangeset for help on using the changeset viewer.