IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13144


Ignore:
Timestamp:
May 2, 2007, 2:22:05 PM (19 years ago)
Author:
eugene
Message:

using user-defined EXTNAME keyword

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/gstars.c

    r12775 r13144  
    169169
    170170          exttype[Nimage] = strcreate (tmpword);
    171           gfits_scan (headers[i], "EXTNAME", "%s", 1, tmpword);
     171          gfits_scan (headers[i], ExtnameKeyword, "%s", 1, tmpword);
    172172          extdata[Nimage] = strcreate (tmpword);
    173173          gfits_scan (headers[i], "EXTHEAD", "%s", 1, tmpword);
     
    177177          // find the matching exthead entry
    178178          for (j = 0; j < Nheader; j++) {
    179             if (gfits_scan (headers[j], "EXTNAME", "%s", 1, tmpword)) {
     179            if (gfits_scan (headers[j], ExtnameKeyword, "%s", 1, tmpword)) {
    180180              if (!strcmp (tmpword, exthead[Nimage])) {
    181181                extnum_head[Nimage] = j;
     
    196196      extsize[0] = headers[0][0].size + gfits_matrix_size (headers[0]);
    197197      extsize[1] = headers[1][0].size + gfits_matrix_size (headers[1]);
    198       gfits_scan (headers[1], "EXTNAME", "%s", 1, tmpword);
     198      gfits_scan (headers[1], ExtnameKeyword, "%s", 1, tmpword);
    199199      if (!strcmp (tmpword, "SMPFILE")) {
    200200          extdata[Nimage] = strcreate (tmpword);
Note: See TracChangeset for help on using the changeset viewer.