IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 20, 2010, 5:27:29 PM (16 years ago)
Author:
watersc1
Message:

Updates to fix the fact that the set of warpSkyfiles for a given warpRun contain more than a psS32 worth of pixels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptool.c

    r28055 r28056  
    13981398       
    13991399        psString software_ver = NULL;
    1400         psS32 maskfrac_npix = 0;
     1400        psS64 maskfrac_npix = 0;
    14011401        psF32 maskfrac_static = 0;
    14021402        psF32 maskfrac_dynamic = 0;
     
    14171417        }
    14181418        psMetadataAddStr(row, PS_LIST_TAIL, "software_ver",  0, "Software version", software_ver);
    1419         psMetadataAddS32(row, PS_LIST_TAIL, "maskfrac_npix",  0, "Number of pixels used for mask stats", maskfrac_npix);
     1419        psMetadataAddS32(row, PS_LIST_TAIL, "maskfrac_npix",  0, "Number of pixels used for mask stats", (psS32) maskfrac_npix);
    14201420        psMetadataAddF32(row, PS_LIST_TAIL, "maskfrac_static",  0, "Fraction of static masked pixels", maskfrac_static);
    14211421        psMetadataAddF32(row, PS_LIST_TAIL, "maskfrac_dynamic",  0, "Fraction of dynamic masked pixels", maskfrac_dynamic);
    14221422        psMetadataAddF32(row, PS_LIST_TAIL, "maskfrac_magic",  0, "Fraction of magic masked pixels", maskfrac_magic);
    14231423        psMetadataAddF32(row, PS_LIST_TAIL, "maskfrac_advisory",  0, "Fraction of advisory pixels", maskfrac_advisory);
    1424         psWarning("ADVANCE %ld %s %d %f %f %f %f\n",chip_id,software_ver,maskfrac_npix,maskfrac_static,maskfrac_dynamic,maskfrac_magic,maskfrac_advisory);
     1424/*      psWarning("ADVANCE %ld %s %d %f %f %f %f\n",chip_id,software_ver,maskfrac_npix,maskfrac_static,maskfrac_dynamic,maskfrac_magic,maskfrac_advisory); */
    14251425        chipRunRow *chipRun = chipRunObjectFromMetadata(row);
    14261426        if (!psDBTransaction(config->dbh)) {
Note: See TracChangeset for help on using the changeset viewer.