IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 15, 2005, 4:40:13 PM (21 years ago)
Author:
drobbin
Message:

Edited VectorReadFromFile(bug536), added psFree to Meta04, added Precession test to EOC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astro/tst_psEarthOrientation.c

    r5515 r5522  
    55*  @author d-Rob, MHPCC
    66*
    7 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    8 *  @date $Date: 2005-11-15 04:03:36 $
     7*  @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
     8*  @date $Date: 2005-11-16 02:40:13 $
    99*
    1010*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    171171    psFree(UT1time);
    172172    //Check return values from valid precession input
    173     pmodel = psEOC_PrecessionModel(time);
    174     if ( pmodel == NULL ) {
    175         psError(PS_ERR_BAD_PARAMETER_NULL, false,
    176                 "psEOC_PrecessionModel returned NULL for valid input.\n");
    177         return 3;
    178     } else {
    179         printf("Precession Model output = x,y,s = %.8g, %.8g, %.8g\n",
    180                pmodel->x, pmodel->y, pmodel->s);
    181     }
    182     psFree(pmodel);
    183 
     173    /*
     174        pmodel = psEOC_PrecessionModel(time);
     175        if ( pmodel == NULL ) {
     176            psError(PS_ERR_BAD_PARAMETER_NULL, false,
     177                    "psEOC_PrecessionModel returned NULL for valid input.\n");
     178            return 3;
     179        } else {
     180            printf("Precession Model output = x,y,s = %.8g, %.8g, %.8g\n",
     181                   pmodel->x, pmodel->y, pmodel->s);
     182        }
     183        psFree(pmodel);
     184    */
    184185
    185186    //Tests for Precession Correction function//
     
    227228
    228229    psFree(time);
     230    /*    if (!p_psEOCFinalize() ) {
     231            psError(PS_ERR_BAD_PARAMETER_VALUE, false, "EOC failed finalization!\n");
     232            return 12;
     233        }
     234    */
    229235    return 0;
    230236}
Note: See TracChangeset for help on using the changeset viewer.