Changeset 2313
- Timestamp:
- Nov 8, 2004, 4:03:28 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
astro/psTime.c (modified) (5 diffs)
-
astronomy/psTime.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r2301 r2313 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-11-09 0 0:36:13$12 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-11-09 02:03:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 37 37 #ifndef TIME_CONFIG_FILE 38 #define TIME_CONFIG_FILE "../../config/ time.config"38 #define TIME_CONFIG_FILE "../../config/psTime.config" 39 39 #pragma warning TIME_CONFIG_FILE was not defined in the makefile. 40 40 #endif 41 42 #define MAX_STRING_LENGTH 256 41 43 42 44 /** Sidereal angular conversion from seconds to radians for GMST in seconds (i.e. pi/(180*240)) */ … … 199 201 psLookupTable *table = NULL; 200 202 psLookupStatusType status = PS_LOOKUP_SUCCESS; 201 char *metadataTableNames[4] = {"ser7", "eopc", "finals", "tai"};203 char metadataTableNames[4][MAX_STRING_LENGTH] = {"ser7", "eopc", "finals", "tai"}; 202 204 203 205 … … 487 489 psMetadataItem *tableMetadataItem = NULL; 488 490 psLookupStatusType status = PS_LOOKUP_SUCCESS; 489 char *metadataTableNames[3] = {"ser7 ", "eopc", "finals"};491 char *metadataTableNames[3] = {"ser7Table", "eopcTable", "finalsTable"}; 490 492 491 493 … … 559 561 psLookupStatusType yStatus = PS_LOOKUP_SUCCESS; 560 562 psMetadataItem *tableMetadataItem = NULL; 561 char *metadataTableNames[3] = {"ser7 ", "eopc", "finals"};563 char *metadataTableNames[3] = {"ser7Table", "eopcTable", "finalsTable"}; 562 564 psVector *xp = NULL; 563 565 psVector *yp = NULL; -
trunk/psLib/src/astronomy/psTime.c
r2301 r2313 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.4 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2004-11-09 0 0:36:13$12 * @version $Revision: 1.41 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-11-09 02:03:28 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 36 36 37 37 #ifndef TIME_CONFIG_FILE 38 #define TIME_CONFIG_FILE "../../config/ time.config"38 #define TIME_CONFIG_FILE "../../config/psTime.config" 39 39 #pragma warning TIME_CONFIG_FILE was not defined in the makefile. 40 40 #endif 41 42 #define MAX_STRING_LENGTH 256 41 43 42 44 /** Sidereal angular conversion from seconds to radians for GMST in seconds (i.e. pi/(180*240)) */ … … 199 201 psLookupTable *table = NULL; 200 202 psLookupStatusType status = PS_LOOKUP_SUCCESS; 201 char *metadataTableNames[4] = {"ser7", "eopc", "finals", "tai"};203 char metadataTableNames[4][MAX_STRING_LENGTH] = {"ser7", "eopc", "finals", "tai"}; 202 204 203 205 … … 487 489 psMetadataItem *tableMetadataItem = NULL; 488 490 psLookupStatusType status = PS_LOOKUP_SUCCESS; 489 char *metadataTableNames[3] = {"ser7 ", "eopc", "finals"};491 char *metadataTableNames[3] = {"ser7Table", "eopcTable", "finalsTable"}; 490 492 491 493 … … 559 561 psLookupStatusType yStatus = PS_LOOKUP_SUCCESS; 560 562 psMetadataItem *tableMetadataItem = NULL; 561 char *metadataTableNames[3] = {"ser7 ", "eopc", "finals"};563 char *metadataTableNames[3] = {"ser7Table", "eopcTable", "finalsTable"}; 562 564 psVector *xp = NULL; 563 565 psVector *yp = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
