IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 22, 2009, 2:39:53 PM (16 years ago)
Author:
bills
Message:

Add version information to headers. In streaksremove write the astrometry
to the header in the same place regardless if we have to do a fit or not.
Print error message if fit to astrometry fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksVersion.c

    r26438 r26477  
    3838    psString source = streaksSource();    // Source
    3939
    40     psStringPrepend(&version, "streaks ");
     40    psStringPrepend(&version, "%s ", streaksProgram);
    4141    psStringAppend(&version, " from %s, built %s, %s", source, __DATE__, __TIME__);
    4242    psFree(source);
     
    5858    psString source = streaksSource();   // Software source
    5959
    60     psStringPrepend(&version, "streaks version: ");
    61     psStringPrepend(&source, "streaks source: ");
     60    psStringPrepend(&version, "%s version: ", streaksProgram);
     61    psStringPrepend(&source, "%s source: ", streaksProgram);
    6262
    6363    psMetadataAddStr(header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK, NULL, version);
     
    7878    psFree(time);
    7979    psString history = NULL;               // History string
    80     psStringAppend(&history, "streaks at %s", timeString);
     80    psStringAppend(&history, "%s at %s", streaksProgram, timeString);
    8181    psFree(timeString);
    8282    psMetadataAddStr(header, PS_LIST_TAIL, "HISTORY", PS_META_DUPLICATE_OK, NULL, history);
     
    9595    psString timeString = psTimeToISO(time); // The time in an ISO string
    9696    psFree(time);
    97     psLogMsg("streaks", PS_LOG_INFO, "streaks at %s", timeString);
     97    psLogMsg("streaks", PS_LOG_INFO, "%s at %s", streaksProgram, timeString);
    9898    psFree(timeString);
    9999
Note: See TracChangeset for help on using the changeset viewer.