IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2010, 5:35:25 PM (16 years ago)
Author:
eugene
Message:

update ohana formatting functions to check format and associated types; fixes derived from format checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/largefiles.20100314/Ohana/src/relphot/src/GridOps.c

    r27312 r27368  
    703703  gfits_create_header (&header);
    704704  gfits_create_matrix (&header, &matrix);
    705   gfits_modify (&header, "NEXTEND", "%d", 1, Nimage + 3);
     705  gfits_modify (&header, "NEXTEND", "%lld", 1, (long long) Nimage + 3);
    706706  gfits_modify (&header, "FILTER", "%s", 1, photcode[0].name);
    707   gfits_modify (&header, "COMMENT", "%S", 1, "Mosaic Photometry Grid Analysis");
     707  gfits_modify_alt (&header, "COMMENT", "%S", 1, "Mosaic Photometry Grid Analysis");
    708708
    709709  // we need to add lines to the PHU to identify the camera and format; these are used by the ipp config system
     
    782782    theader.Naxis[0] = RELPHOT_GRID_X;
    783783    theader.Naxis[1] = RELPHOT_GRID_Y;
    784     gfits_modify (&theader, "NAXIS1", "%lld", 1, RELPHOT_GRID_X);
    785     gfits_modify (&theader, "NAXIS2", "%lld", 1, RELPHOT_GRID_Y);
     784    gfits_modify (&theader, "NAXIS1", "%d", 1, RELPHOT_GRID_X);
     785    gfits_modify (&theader, "NAXIS2", "%d", 1, RELPHOT_GRID_Y);
    786786    gfits_create_matrix  (&theader, &matrix);
    787787
Note: See TracChangeset for help on using the changeset viewer.