IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19313


Ignore:
Timestamp:
Sep 2, 2008, 9:11:22 AM (18 years ago)
Author:
eugene
Message:

add chipName to output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDemoDump.c

    r16073 r19313  
    128128        if (!chip->process || !chip->file_exists) continue;
    129129       
     130        char *chipName = psMetadataLookupStr(NULL, chip->concepts, "CHIP.NAME");
     131
    130132        while ((cell = pmFPAviewNextCell (view, fpa, 1)) != NULL) {
    131133            psTrace ("psastro", 4, "Cell %d: %x %x\n", view->cell, cell->file_exists, cell->process);
     
    153155
    154156                    pmAstromObj *raw = rawstars->data[match->raw];
    155                     fprintf (f, "%f %f  %f %f  %f %f  %f %f  %f   |   ", 
    156                              DEG_RAD*raw->sky->r, DEG_RAD*raw->sky->d,
     157                    fprintf (f, "%s  %f %f  %f %f  %f %f  %f %f  %f   |   ", 
     158                             chipName, DEG_RAD*raw->sky->r, DEG_RAD*raw->sky->d,
    157159                             raw->TP->x, raw->TP->y,
    158160                             raw->FP->x, raw->FP->y,
Note: See TracChangeset for help on using the changeset viewer.