IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2313


Ignore:
Timestamp:
Nov 8, 2004, 4:03:28 PM (22 years ago)
Author:
harman
Message:

Changed table names in array initializers

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r2301 r2313  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-11-09 00:36:13 $
     12 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-11-09 02:03:28 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3636
    3737#ifndef TIME_CONFIG_FILE
    38 #define TIME_CONFIG_FILE "../../config/time.config"
     38#define TIME_CONFIG_FILE "../../config/psTime.config"
    3939#pragma warning TIME_CONFIG_FILE was not defined in the makefile.
    4040#endif
     41
     42#define MAX_STRING_LENGTH 256
    4143
    4244/** Sidereal angular conversion from seconds to radians for GMST in seconds (i.e. pi/(180*240)) */
     
    199201    psLookupTable *table = NULL;
    200202    psLookupStatusType status = PS_LOOKUP_SUCCESS;
    201     char *metadataTableNames[4] = {"ser7", "eopc",  "finals", "tai"};
     203    char metadataTableNames[4][MAX_STRING_LENGTH] = {"ser7", "eopc",  "finals", "tai"};
    202204
    203205
     
    487489    psMetadataItem *tableMetadataItem = NULL;
    488490    psLookupStatusType status = PS_LOOKUP_SUCCESS;
    489     char *metadataTableNames[3] = {"ser7", "eopc",  "finals"};
     491    char *metadataTableNames[3] = {"ser7Table", "eopcTable",  "finalsTable"};
    490492
    491493
     
    559561    psLookupStatusType yStatus = PS_LOOKUP_SUCCESS;
    560562    psMetadataItem *tableMetadataItem = NULL;
    561     char *metadataTableNames[3] = {"ser7", "eopc",  "finals"};
     563    char *metadataTableNames[3] = {"ser7Table", "eopcTable",  "finalsTable"};
    562564    psVector *xp = NULL;
    563565    psVector *yp = NULL;
  • trunk/psLib/src/astronomy/psTime.c

    r2301 r2313  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-11-09 00:36:13 $
     12 *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2004-11-09 02:03:28 $
    1414 *
    1515 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3636
    3737#ifndef TIME_CONFIG_FILE
    38 #define TIME_CONFIG_FILE "../../config/time.config"
     38#define TIME_CONFIG_FILE "../../config/psTime.config"
    3939#pragma warning TIME_CONFIG_FILE was not defined in the makefile.
    4040#endif
     41
     42#define MAX_STRING_LENGTH 256
    4143
    4244/** Sidereal angular conversion from seconds to radians for GMST in seconds (i.e. pi/(180*240)) */
     
    199201    psLookupTable *table = NULL;
    200202    psLookupStatusType status = PS_LOOKUP_SUCCESS;
    201     char *metadataTableNames[4] = {"ser7", "eopc",  "finals", "tai"};
     203    char metadataTableNames[4][MAX_STRING_LENGTH] = {"ser7", "eopc",  "finals", "tai"};
    202204
    203205
     
    487489    psMetadataItem *tableMetadataItem = NULL;
    488490    psLookupStatusType status = PS_LOOKUP_SUCCESS;
    489     char *metadataTableNames[3] = {"ser7", "eopc",  "finals"};
     491    char *metadataTableNames[3] = {"ser7Table", "eopcTable",  "finalsTable"};
    490492
    491493
     
    559561    psLookupStatusType yStatus = PS_LOOKUP_SUCCESS;
    560562    psMetadataItem *tableMetadataItem = NULL;
    561     char *metadataTableNames[3] = {"ser7", "eopc",  "finals"};
     563    char *metadataTableNames[3] = {"ser7Table", "eopcTable",  "finalsTable"};
    562564    psVector *xp = NULL;
    563565    psVector *yp = NULL;
Note: See TracChangeset for help on using the changeset viewer.