IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 16, 2020, 1:54:47 PM (6 years ago)
Author:
tdeboer
Message:

revert to working Ohana build

Location:
trunk/Ohana/src/dvomerge
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/dvomerge/include/dvomerge.h

    r41152 r41340  
    3131int    IMAGES_ONLY;
    3232int    ACCEPT_MOTION;
    33 
    34 int    ACCEPT_ASTROM;
    3533int    RETAIN_AVE_PHOTOMETRY;
    36 
    3734char   CATDIR[DVO_MAX_PATH];
    3835char   GSCFILE[DVO_MAX_PATH];
  • trunk/Ohana/src/dvomerge/src/args.c

    r41152 r41340  
    112112  }
    113113
    114   /* accept input database average astrometry motions */
     114  /* limit the impact of a dvomerge -parallel */
    115115  ACCEPT_MOTION = FALSE;
    116116  if ((N = get_argument (*argc, argv, "-accept-motion"))) {
    117117    remove_argument (N, argc, argv);
    118118    ACCEPT_MOTION = TRUE;
    119   }
    120   /* accept input database average astrometry information */
    121   ACCEPT_ASTROM = FALSE;
    122   if ((N = get_argument (*argc, argv, "-accept-astrom"))) {
    123     remove_argument (N, argc, argv);
    124     ACCEPT_ASTROM = TRUE;
    125119  }
    126120
     
    343337  }
    344338
    345   /* accept input database average astrometry motions */
     339  /* limit the impact of a dvomerge -parallel */
    346340  ACCEPT_MOTION = FALSE;
    347341  if ((N = get_argument (*argc, argv, "-accept-motion"))) {
    348342    remove_argument (N, argc, argv);
    349343    ACCEPT_MOTION = TRUE;
    350   }
    351   /* accept input database average astrometry information */
    352   ACCEPT_ASTROM = FALSE;
    353   if ((N = get_argument (*argc, argv, "-accept-astrom"))) {
    354     remove_argument (N, argc, argv);
    355     ACCEPT_ASTROM = TRUE;
    356344  }
    357345
  • trunk/Ohana/src/dvomerge/src/dvomergeUpdate_catalogs.c

    r41152 r41340  
    328328    if (FORCE_MERGE)           { strextend (&command, "-force-merge"); }
    329329    if (ACCEPT_MOTION)         { strextend (&command, "-accept-motion"); }
    330     if (ACCEPT_ASTROM)         { strextend (&command, "-accept-astrom"); }
    331330    if (RETAIN_AVE_PHOTOMETRY) { strextend (&command, "-retain-ave-photometry"); }
    332331    if (MATCHED_TABLES)        { strextend (&command, "-matched-tables"); }
  • trunk/Ohana/src/dvomerge/src/merge_catalogs_old.c

    r41152 r41340  
    363363    }
    364364
    365     // XXX: add choice of secfilt
    366365    // update the average properties to reflect the incoming entries:
    367366    // if RETAIN_AVE_PHOTOMETRY is true and the original value is NAN, but the input value is not, accept the input:
     
    390389
    391390    // we can choose to accept the proper-motion and parallax from the reference tgtcat
    392     if (ACCEPT_MOTION || ACCEPT_ASTROM) {
     391    if (ACCEPT_MOTION) {
    393392      output[0].average[n].dR         = input[0].average[N].dR;
    394393      output[0].average[n].dD         = input[0].average[N].dD;
     
    401400      output[0].average[n].Tmean      = input[0].average[N].Tmean;
    402401    }
    403     if (ACCEPT_ASTROM) {
    404       output[0].average[n].R          = input[0].average[N].R;
    405       output[0].average[n].D          = input[0].average[N].D;
    406     }
    407402
    408403    /* Nm is updated, but not written out in -update mode (for existing entries)
     
    466461
    467462    // we can choose to accept the proper-motion and parallax from the reference tgtcat
    468     if (ACCEPT_MOTION || ACCEPT_ASTROM) {
     463    if (ACCEPT_MOTION) {
    469464      output[0].average[Nave].dR         = input[0].average[N].dR;
    470465      output[0].average[Nave].dD         = input[0].average[N].dD;
     
    476471      output[0].average[Nave].dP         = input[0].average[N].dP;
    477472      output[0].average[Nave].Tmean      = input[0].average[N].Tmean;
    478     }
    479     if (ACCEPT_ASTROM) {
    480       output[0].average[Nave].R          = input[0].average[N].R;
    481       output[0].average[Nave].D          = input[0].average[N].D;
    482473    }
    483474
Note: See TracChangeset for help on using the changeset viewer.