IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34887


Ignore:
Timestamp:
Jan 7, 2013, 3:23:47 PM (14 years ago)
Author:
eugene
Message:

save result file names in shell-accessible variables; add ubercal dist to full outputs

Location:
branches/eam_branches/ipp-20121219/Ohana/src/opihi/dvo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/Ohana/src/opihi/dvo/dvo_host_utils.c

    r34877 r34887  
    330330  set_int_variable (name, table->Nhosts);
    331331
     332  char results[DVO_MAX_PATH];
     333
    332334  // load fields from file
    333335  for (i = 0; i < table->Nhosts; i++) {
    334336
     337    // need to save the results filename with the uniquer
     338    snprintf (results, DVO_MAX_PATH, "%s/dvo.results.%s.fits", table->hosts[i].pathname, uniquer);
     339
    335340    snprintf (name, 256, "RESULT_FILE:%d", i);
    336     set_str_variable (name, table->hosts[i].results);
     341    set_str_variable (name, results);
    337342
    338343    // DATA : 0 (unread), 1 (read)
  • branches/eam_branches/ipp-20121219/Ohana/src/opihi/dvo/gstar.c

    r34844 r34887  
    77  GSTAR_FILTER_NAMES,
    88  GSTAR_SECF_FLAGS,
     9  GSTAR_UCDIST,
    910  GSTAR_AVE_AP_MAG,
    1011  GSTAR_AVE_MAG_20,
     
    273274          /* M_80 */
    274275          for (j = 0; j < Nsecfilt; j++) printPhotcodeSequence (&catalog.average[k], &catalog.secfilt[Nsecfilt*k], j, GSTAR_AVE_MAG_80);;
     276          gprint (GP_LOG, "\n");
     277
     278          /* UCDIST */
     279          for (j = 0; j < Nsecfilt; j++) printPhotcodeSequence (&catalog.average[k], &catalog.secfilt[Nsecfilt*k], j, GSTAR_UCDIST);;
    275280          gprint (GP_LOG, "\n");
    276281
     
    495500      break;
    496501
     502    case GSTAR_UCDIST: /* ubercal distance */
     503      if (seq == -1) {
     504        gprint (GP_LOG, "%5d ", 0);
     505      } else {
     506        gprint (GP_LOG, "%5d ", secfilt[seq].ubercalDist);
     507      }
     508      break;
     509
    497510    case GSTAR_AVE_AP_MAG: /* average ap mags */
    498511      if (seq == -1) {
Note: See TracChangeset for help on using the changeset viewer.