IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25256 for trunk/ippTools/src


Ignore:
Timestamp:
Sep 2, 2009, 2:36:52 PM (17 years ago)
Author:
Paul Price
Message:

Merging branches/pap_mops into trunk. ppMops now merges multiple skycells, and these get published for MOPS as a single file per exposure. Tested and works.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ippTools/src/pubtool.c

    r25098 r25256  
    259259    // required
    260260    PXOPT_LOOKUP_S64(pub_id, config->args, "-pub_id", true, false);
    261     PXOPT_LOOKUP_STR(path_base, config->args, "-path_base",  true, false);
     261    PXOPT_LOOKUP_STR(path_base, config->args, "-path_base", true, false);
    262262
    263263    // optional
     264    PXOPT_LOOKUP_STR(hostname, config->args, "-hostname", false, false);
     265    PXOPT_LOOKUP_F32(dtime_script, config->args, "-dtime_script", false, false);
    264266    PXOPT_LOOKUP_S32(fault, config->args, "-fault", false, false);
    265267
     
    269271    }
    270272
    271     if (!publishDoneInsert(config->dbh, pub_id, path_base, fault)) {
     273    if (!publishDoneInsert(config->dbh, pub_id, path_base, hostname, dtime_script, fault)) {
    272274        psError(PS_ERR_UNKNOWN, false, "Unable to add file");
    273275        if (!psDBRollback(config->dbh)) {
  • trunk/ippTools/src/pubtoolConfig.c

    r24512 r25256  
    6868    psMetadataAddS64(addArgs, PS_LIST_TAIL, "-pub_id", 0, "define pub_id (required)", 0);
    6969    psMetadataAddStr(addArgs, PS_LIST_TAIL, "-path_base", 0, "define path_base (required)", NULL);
     70    psMetadataAddStr(addArgs, PS_LIST_TAIL, "-hostname", 0, "define hostname", NULL);
     71    psMetadataAddF32(addArgs, PS_LIST_TAIL, "-dtime_script", 0, "define time for script", NAN);
    7072    psMetadataAddS32(addArgs, PS_LIST_TAIL, "-fault", 0, "define fault code", 0);
    7173
Note: See TracChangeset for help on using the changeset viewer.