IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39171 for trunk


Ignore:
Timestamp:
Nov 20, 2015, 3:12:23 PM (11 years ago)
Author:
eugene
Message:

write relastro history to cpt header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/relastro/src/UpdateObjectOffsets.c

    r38986 r39171  
    7474    }
    7575   
     76    struct timeval now;
     77    gettimeofday (&now, (void *) NULL);
     78    char *moddate = ohana_sec_to_date (now.tv_sec);
     79    gfits_modify (&catalog.header, "RELASTRO", "%s", 1, moddate);     
     80    free (moddate);
     81
    7682    // write the updated detections to disk
    7783    save_catalogs (&catalog, 1);
Note: See TracChangeset for help on using the changeset viewer.