Changeset 3114
- Timestamp:
- Feb 2, 2005, 2:45:06 PM (21 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 20 added
- 15 edited
-
astro/psCoord.c (modified) (3 diffs)
-
astro/psCoord.h (modified) (3 diffs)
-
astro/psTime.c (modified) (4 diffs)
-
astronomy/Makefile.am (added)
-
astronomy/airmas.f (added)
-
astronomy/aoppa.f (added)
-
astronomy/aoppat.f (added)
-
astronomy/aopqk.f (added)
-
astronomy/astronomy.i (added)
-
astronomy/atms.f (added)
-
astronomy/atmt.f (added)
-
astronomy/dcc2s.f (added)
-
astronomy/dcs2c.f (added)
-
astronomy/drange.f (added)
-
astronomy/dranrm.f (added)
-
astronomy/eqeqx.f (added)
-
astronomy/geoc.f (added)
-
astronomy/gmst.f (added)
-
astronomy/nutc.f (added)
-
astronomy/oapqk.f (added)
-
astronomy/psAstronomyErrors.h (modified) (2 diffs)
-
astronomy/psCoord.c (modified) (3 diffs)
-
astronomy/psCoord.h (modified) (3 diffs)
-
astronomy/psMetadata.h (modified) (3 diffs)
-
astronomy/psMetadataIO.c (modified) (3 diffs)
-
astronomy/psPhotometry.h (modified) (3 diffs)
-
astronomy/psTime.c (modified) (4 diffs)
-
astronomy/refco.f (added)
-
astronomy/refro.f (added)
-
astronomy/refz.f (added)
-
collections/psMetadata.h (modified) (3 diffs)
-
collections/psMetadataIO.c (modified) (3 diffs)
-
types/psMetadata.h (modified) (3 diffs)
-
types/psMetadataConfig.c (modified) (3 diffs)
-
xml/psXML.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r3109 r3114 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.4 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-02-0 2 21:10:37$12 * @version $Revision: 1.49 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 599 599 XXX: How to compound errors? 600 600 *****************************************************************************/ 601 psSphere* psSphereGetOffset(const psSphere* restrictposition1,602 const psSphere* restrictposition2,601 psSphere* psSphereGetOffset(const psSphere* position1, 602 const psSphere* position2, 603 603 psSphereOffsetMode mode, 604 604 psSphereOffsetUnit unit) … … 683 683 *****************************************************************************/ 684 684 685 psSphere* psSphereSetOffset(const psSphere* restrictposition,686 const psSphere* restrictoffset,685 psSphere* psSphereSetOffset(const psSphere* position, 686 const psSphere* offset, 687 687 psSphereOffsetMode mode, 688 688 psSphereOffsetUnit unit) -
trunk/psLib/src/astro/psCoord.h
r3095 r3114 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 1-26 20:24:16 $12 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 346 346 */ 347 347 psSphere* psSphereGetOffset( 348 const psSphere* restrictposition1,349 const psSphere* restrictposition2,348 const psSphere* position1, 349 const psSphere* position2, 350 350 psSphereOffsetMode mode, 351 351 psSphereOffsetUnit unit … … 364 364 */ 365 365 psSphere* psSphereSetOffset( 366 const psSphere* restrictposition,367 const psSphere* restrictoffset,366 const psSphere* position, 367 const psSphere* offset, 368 368 psSphereOffsetMode mode, 369 369 psSphereOffsetUnit unit -
trunk/psLib/src/astro/psTime.c
r2749 r3114 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $13 * @date $Date: 200 4-12-17 20:47:08$12 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 35 35 #include "psAstronomyErrors.h" 36 36 37 #ifndef TIME_CONFIG_FILE 38 #define TIME_CONFIG_FILE "../../config/psTime.config" 39 #pragma warning TIME_CONFIG_FILE was not defined in the makefile. 40 #endif 37 #include "config.h" 41 38 42 39 #define MAX_STRING_LENGTH 256 … … 151 148 // Check time metadata. Function call reports errors. 152 149 if(timeMetadata == NULL) { 153 if(!p_psTimeInit( TIME_CONFIG_FILE))150 if(!p_psTimeInit(CONFIG_FILE)) 154 151 return 0.0; 155 152 } … … 708 705 // Check time metadata 709 706 if(timeMetadata == NULL) { 710 if(!p_psTimeInit( TIME_CONFIG_FILE)) {707 if(!p_psTimeInit(CONFIG_FILE)) { 711 708 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psTime_FILE_NOT_FOUND, "psTime.config"); 712 709 return 0.0; -
trunk/psLib/src/astronomy/psAstronomyErrors.h
r2648 r3114 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $10 * @date $Date: 200 4-12-07 19:09:18$9 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-02-03 00:45:06 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 26 26 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End! ANY CHANGES WILL BE OVERWRITTEN. 27 27 */ 28 29 #define PS_ERRORNAME_DOMAIN "psLib.astronomy."30 28 31 29 //~Start #define PS_ERRORTEXT_$1 "$2" -
trunk/psLib/src/astronomy/psCoord.c
r3109 r3114 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.4 8$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-02-0 2 21:10:37$12 * @version $Revision: 1.49 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 599 599 XXX: How to compound errors? 600 600 *****************************************************************************/ 601 psSphere* psSphereGetOffset(const psSphere* restrictposition1,602 const psSphere* restrictposition2,601 psSphere* psSphereGetOffset(const psSphere* position1, 602 const psSphere* position2, 603 603 psSphereOffsetMode mode, 604 604 psSphereOffsetUnit unit) … … 683 683 *****************************************************************************/ 684 684 685 psSphere* psSphereSetOffset(const psSphere* restrictposition,686 const psSphere* restrictoffset,685 psSphere* psSphereSetOffset(const psSphere* position, 686 const psSphere* offset, 687 687 psSphereOffsetMode mode, 688 688 psSphereOffsetUnit unit) -
trunk/psLib/src/astronomy/psCoord.h
r3095 r3114 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 1-26 20:24:16 $12 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 346 346 */ 347 347 psSphere* psSphereGetOffset( 348 const psSphere* restrictposition1,349 const psSphere* restrictposition2,348 const psSphere* position1, 349 const psSphere* position2, 350 350 psSphereOffsetMode mode, 351 351 psSphereOffsetUnit unit … … 364 364 */ 365 365 psSphere* psSphereSetOffset( 366 const psSphere* restrictposition,367 const psSphere* restrictoffset,366 const psSphere* position, 367 const psSphere* offset, 368 368 psSphereOffsetMode mode, 369 369 psSphereOffsetUnit unit -
trunk/psLib/src/astronomy/psMetadata.h
r3025 r3114 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 1-17 20:58:20$13 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-02-03 00:45:06 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 108 108 ); 109 109 110 #ifndef SWIG 110 111 /** Create a metadata item with va_list. 111 112 * … … 130 131 va_list list ///< Arguments for name formatting and metadata item data. 131 132 ); 133 #endif 132 134 133 135 /** Create a metadata collection. -
trunk/psLib/src/astronomy/psMetadataIO.c
r2973 r3114 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 1-13 20:48:59$11 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-02-03 00:45:06 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 760 760 psF64 tempDbl = 0.0; 761 761 psS32 tempInt = 0.0; 762 psElemType pType ;763 psMetadataType mdType ;762 psElemType pType = PS_TYPE_PTR; 763 psMetadataType mdType = PS_META_PRIMITIVE; 764 764 char *fileName = NULL; 765 765 char *strName = NULL; … … 909 909 psS32 status = 0; 910 910 psU32 lineNumber = 0; 911 psElemType pType ;912 psMetadataType mdType ;911 psElemType pType = PS_TYPE_PTR; 912 psMetadataType mdType = PS_META_PRIMITIVE; 913 913 char *strName = NULL; 914 914 char *strType = NULL; -
trunk/psLib/src/astronomy/psPhotometry.h
r2204 r3114 10 10 * @author George Gusciora, MHPCC 11 11 * 12 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $13 * @date $Date: 200 4-10-27 00:57:30$12 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 43 43 typedef struct 44 44 { 45 const psS32 ID; ///< ID number for this photometric system46 const char *name; ///< Name of photometric system47 const char *camera; ///< Camera for photometric system48 const char *filter; ///< Filter used for photometric system49 const char *detector; ///< Detector used for photometric system45 const psS32 ID; ///< ID number for this photometric system 46 const char *name; ///< Name of photometric system 47 const char *camera; ///< Camera for photometric system 48 const char *filter; ///< Filter used for photometric system 49 const char *detector; ///< Detector used for photometric system 50 50 } 51 51 psPhotSystem; … … 59 59 typedef struct 60 60 { 61 psPhotSystem src;///< Source photometric system62 psPhotSystem dst;///< Destination photometric system63 psPhotSystem pP;///< Primary color reference64 psPhotSystem pM;///< Primary color reference65 psPhotSystem sP;///< Secondary color reference66 psPhotSystem sM;///< Secondary color reference67 float pA; ///< Color offset for references68 float sA; ///< Color offset for references69 psPolynomial3D transform; ///< Transformation from source to destination61 const psPhotSystem src; ///< Source photometric system 62 const psPhotSystem dst; ///< Destination photometric system 63 const psPhotSystem pP; ///< Primary color reference 64 const psPhotSystem pM; ///< Primary color reference 65 const psPhotSystem sP; ///< Secondary color reference 66 const psPhotSystem sM; ///< Secondary color reference 67 float pA; ///< Color offset for references 68 float sA; ///< Color offset for references 69 psPolynomial3D transform; ///< Transformation from source to destination 70 70 } 71 71 psPhotTransform; -
trunk/psLib/src/astronomy/psTime.c
r2749 r3114 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1. 49$ $Name: not supported by cvs2svn $13 * @date $Date: 200 4-12-17 20:47:08$12 * @version $Revision: 1.50 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-02-03 00:45:06 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 35 35 #include "psAstronomyErrors.h" 36 36 37 #ifndef TIME_CONFIG_FILE 38 #define TIME_CONFIG_FILE "../../config/psTime.config" 39 #pragma warning TIME_CONFIG_FILE was not defined in the makefile. 40 #endif 37 #include "config.h" 41 38 42 39 #define MAX_STRING_LENGTH 256 … … 151 148 // Check time metadata. Function call reports errors. 152 149 if(timeMetadata == NULL) { 153 if(!p_psTimeInit( TIME_CONFIG_FILE))150 if(!p_psTimeInit(CONFIG_FILE)) 154 151 return 0.0; 155 152 } … … 708 705 // Check time metadata 709 706 if(timeMetadata == NULL) { 710 if(!p_psTimeInit( TIME_CONFIG_FILE)) {707 if(!p_psTimeInit(CONFIG_FILE)) { 711 708 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psTime_FILE_NOT_FOUND, "psTime.config"); 712 709 return 0.0; -
trunk/psLib/src/collections/psMetadata.h
r3025 r3114 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 1-17 20:58:20$13 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-02-03 00:45:06 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 108 108 ); 109 109 110 #ifndef SWIG 110 111 /** Create a metadata item with va_list. 111 112 * … … 130 131 va_list list ///< Arguments for name formatting and metadata item data. 131 132 ); 133 #endif 132 134 133 135 /** Create a metadata collection. -
trunk/psLib/src/collections/psMetadataIO.c
r2973 r3114 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 1-13 20:48:59$11 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-02-03 00:45:06 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 760 760 psF64 tempDbl = 0.0; 761 761 psS32 tempInt = 0.0; 762 psElemType pType ;763 psMetadataType mdType ;762 psElemType pType = PS_TYPE_PTR; 763 psMetadataType mdType = PS_META_PRIMITIVE; 764 764 char *fileName = NULL; 765 765 char *strName = NULL; … … 909 909 psS32 status = 0; 910 910 psU32 lineNumber = 0; 911 psElemType pType ;912 psMetadataType mdType ;911 psElemType pType = PS_TYPE_PTR; 912 psMetadataType mdType = PS_META_PRIMITIVE; 913 913 char *strName = NULL; 914 914 char *strType = NULL; -
trunk/psLib/src/types/psMetadata.h
r3025 r3114 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.3 4$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-0 1-17 20:58:20$13 * @version $Revision: 1.35 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-02-03 00:45:06 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 108 108 ); 109 109 110 #ifndef SWIG 110 111 /** Create a metadata item with va_list. 111 112 * … … 130 131 va_list list ///< Arguments for name formatting and metadata item data. 131 132 ); 133 #endif 132 134 133 135 /** Create a metadata collection. -
trunk/psLib/src/types/psMetadataConfig.c
r2973 r3114 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 1-13 20:48:59$11 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-02-03 00:45:06 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 760 760 psF64 tempDbl = 0.0; 761 761 psS32 tempInt = 0.0; 762 psElemType pType ;763 psMetadataType mdType ;762 psElemType pType = PS_TYPE_PTR; 763 psMetadataType mdType = PS_META_PRIMITIVE; 764 764 char *fileName = NULL; 765 765 char *strName = NULL; … … 909 909 psS32 status = 0; 910 910 psU32 lineNumber = 0; 911 psElemType pType ;912 psMetadataType mdType ;911 psElemType pType = PS_TYPE_PTR; 912 psMetadataType mdType = PS_META_PRIMITIVE; 913 913 char *strName = NULL; 914 914 char *strType = NULL; -
trunk/psLib/src/xml/psXML.c
r2973 r3114 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.1 8$ $Name: not supported by cvs2svn $12 * @date $Date: 2005-0 1-13 20:48:59$11 * @version $Revision: 1.19 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-02-03 00:45:06 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 760 760 psF64 tempDbl = 0.0; 761 761 psS32 tempInt = 0.0; 762 psElemType pType ;763 psMetadataType mdType ;762 psElemType pType = PS_TYPE_PTR; 763 psMetadataType mdType = PS_META_PRIMITIVE; 764 764 char *fileName = NULL; 765 765 char *strName = NULL; … … 909 909 psS32 status = 0; 910 910 psU32 lineNumber = 0; 911 psElemType pType ;912 psMetadataType mdType ;911 psElemType pType = PS_TYPE_PTR; 912 psMetadataType mdType = PS_META_PRIMITIVE; 913 913 char *strName = NULL; 914 914 char *strType = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.
