IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 27, 2021, 3:55:13 PM (5 years ago)
Author:
eugene
Message:

consolidate reload_catalogs and relphot_objects; option to supply grid correction in relphot -averages and relphot -apply-offsets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/relphot.20210521/src/args.c

    r41620 r41623  
    387387  GRID_ZEROPT = FALSE;
    388388  GRID_MEANFILE = NULL; // this is set by GridCorrectionSave()
     389  GRID_ZPT_MODE = GRID_ZPT_MODE_NONE; // start with grid off
    389390  if ((N = get_argument (argc, argv, "-grid"))) {
    390391    remove_argument (N, &argc, argv);
    391392    GRID_ZEROPT = TRUE;
    392     GRID_ZPT_MODE  = GRID_ZPT_MODE_NONE; // start with grid off
     393  }
     394  if ((N = get_argument (argc, argv, "-grid-meanfile"))) {
     395    GRID_ZEROPT = TRUE;
     396    remove_argument (N, &argc, argv);
     397    GRID_MEANFILE = strcreate (argv[N]); // used by relphot -averages and relphot -apply-offsets
     398    remove_argument (N, &argc, argv);
    393399  }
    394400
     
    554560    case SYNTH_PHOT:
    555561    case UPDATE_AVERAGES:
     562      // note: initialize sets PhotcodeList to the full set of average photcodes
     563      // if the mode is UPDATE_AVERAGES
    556564      if (argc != 1) relphot_usage();
    557565      break;
Note: See TracChangeset for help on using the changeset viewer.