IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41496 for trunk/psModules


Ignore:
Timestamp:
Feb 16, 2021, 10:54:39 AM (5 years ago)
Author:
eugene
Message:

adding comments to explain exit status

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryDistortion.c

    r39926 r41496  
    234234    // fit the local gradients in each direction
    235235    if (!psVectorClipFitPolynomial2D (localX, stats, mask, 0xff, dPdL, NULL, L, M)) {
     236        // this failure has raised an error.  the return will also raise
     237        // errors, but these are finally cleared (and bad data quality is set) in
     238        // psastroAnalysis.c:143
    236239        psLogMsg ("psastro", 3, "failed to fit x-dir gradient\n");
    237240        psFree (localX);
     
    241244
    242245    if (!psVectorClipFitPolynomial2D (localY, stats, mask, 0xff, dPdM, NULL, L, M)) {
     246        // this failure has raised an error.  the return will also raise
     247        // errors, but these are finally cleared (and bad data quality is set) in
     248        // psastroAnalysis.c:143
    243249        psLogMsg ("psastro", 3, "failed to fit y-dir gradient\n");
    244250        psFree (localX);
Note: See TracChangeset for help on using the changeset viewer.