IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2010, 6:42:01 PM (16 years ago)
Author:
Paul Price
Message:

Reworked ppStack to be better about error codes and their translation to exit codes.

Location:
trunk/ppStack/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src

    • Property svn:ignore
      •  

        old new  
        1010stamp-h1
        1111ppStackVersionDefinitions.h
         12ppStackErrorCodes.c
         13ppStackErrorCodes.h
  • trunk/ppStack/src/ppStackPSF.c

    r26898 r27004  
    2828    psString maskValStr = psMetadataLookupStr(&mdok, recipe, "MASK.VAL"); // Name of bits to mask going in
    2929    if (!mdok || !maskValStr) {
    30         psError(PS_ERR_UNKNOWN, false, "Unable to find MASK.VAL in recipe");
     30        psError(PPSTACK_ERR_CONFIG, false, "Unable to find MASK.VAL in recipe");
    3131        return false;
    3232    }
     
    4343    pmPSF *psf = pmPSFEnvelope(numCols, numRows, psfs, psfInstances, psfRadius, psfModel, psfOrder, psfOrder, maskVal);
    4444    if (!psf) {
    45         psError(PS_ERR_UNKNOWN, false, "Unable to determine output PSF.");
     45        psError(PPSTACK_ERR_PSF, false, "Unable to determine output PSF.");
    4646        return NULL;
    4747    }
     
    5050    pmPSF *psf = pmPSFBuildSimple("PS_MODEL_PS1_V1", 4.0, 4.0, 0.0, 1.0);
    5151    if (!psf) {
    52         psError(PS_ERR_UNKNOWN, false, "Unable to build dummy PSF.");
     52        psError(PPSTACK_ERR_PSF, false, "Unable to build dummy PSF.");
    5353        return NULL;
    5454    }
Note: See TracChangeset for help on using the changeset viewer.