Index: /trunk/psLib/src/astronomy/psMetadata.h
===================================================================
--- /trunk/psLib/src/astronomy/psMetadata.h	(revision 2971)
+++ /trunk/psLib/src/astronomy/psMetadata.h	(revision 2972)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-13 19:50:44 $
+*  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-01-13 19:51:27 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -220,5 +220,5 @@
  * @return psF32 : Value of metadata item.
  */
-psF64 psMetadataLookupF32(
+psF32 psMetadataLookupF32(
     psMetadata *md,            ///< Metadata collection to lookup metadata item.
     const char *key,           ///< Name of metadata key.
Index: /trunk/psLib/src/collections/psMetadata.h
===================================================================
--- /trunk/psLib/src/collections/psMetadata.h	(revision 2971)
+++ /trunk/psLib/src/collections/psMetadata.h	(revision 2972)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-13 19:50:44 $
+*  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-01-13 19:51:27 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -220,5 +220,5 @@
  * @return psF32 : Value of metadata item.
  */
-psF64 psMetadataLookupF32(
+psF32 psMetadataLookupF32(
     psMetadata *md,            ///< Metadata collection to lookup metadata item.
     const char *key,           ///< Name of metadata key.
Index: /trunk/psLib/src/sys/psError.h
===================================================================
--- /trunk/psLib/src/sys/psError.h	(revision 2971)
+++ /trunk/psLib/src/sys/psError.h	(revision 2972)
@@ -12,6 +12,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 01:05:00 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-13 19:50:45 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -42,8 +42,8 @@
 /** Get a error from the error stack
  *
- *  Previous errors on the stack are returned by psErrorGet (a value of 0 
+ *  Previous errors on the stack are returned by psErrorGet (a value of 0
  *  passed to psErrorGet is equivalent to a call to psErrorLast).
  *
- *  if no error is at the which position, a non-NULL psErr is returned with 
+ *  if no error is at the which position, a non-NULL psErr is returned with
  *  code PS_ERR_NONE.
  *
@@ -56,5 +56,5 @@
 /** Get last error put on the error stack
  *
- *  The last error reported is available from psErrorLast; if no errors are 
+ *  The last error reported is available from psErrorLast; if no errors are
  *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
  *
@@ -70,9 +70,15 @@
 void psErrorClear(void);
 
+/** Get the error stack depth
+ *
+ *  @return psS32   The number of items on the error stack
+ */
+psS32 psErrorGetStackSize();
+
 /** Prints error stack to specified open file descriptor
  *
- *  The entire error stack may be printed to an open file descriptor by 
- *  calling psErrorStackPrint; if and only if there are current errors, the 
- *  printf-style string fmt is first printed to the file descriptor fd. In 
+ *  The entire error stack may be printed to an open file descriptor by
+ *  calling psErrorStackPrint; if and only if there are current errors, the
+ *  printf-style string fmt is first printed to the file descriptor fd. In
  *  this printout, error codes are replaced by their string equivalents.
  *
@@ -86,7 +92,7 @@
 /** Prints error stack to specified open file descriptor
  *
- *  The entire error stack may be printed to an open file descriptor by 
- *  calling psErrorStackPrintV; if and only if there are current errors, the 
- *  vprintf-style string fmt is first printed to the file descriptor fd. In 
+ *  The entire error stack may be printed to an open file descriptor by
+ *  calling psErrorStackPrintV; if and only if there are current errors, the
+ *  vprintf-style string fmt is first printed to the file descriptor fd. In
  *  this printout, error codes are replaced by their string equivalents.
  *
Index: /trunk/psLib/src/sysUtils/psError.c
===================================================================
--- /trunk/psLib/src/sysUtils/psError.c	(revision 2971)
+++ /trunk/psLib/src/sysUtils/psError.c	(revision 2972)
@@ -9,7 +9,7 @@
  *
  *  @author Eric Van Alst, MHPCC
- *   
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 01:05:00 $
+ *
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-13 19:50:45 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -129,4 +129,9 @@
 }
 
+psS32 psErrorGetStackSize()
+{
+    return errorStackSize;
+}
+
 psErr* psErrorLast(void)
 {
Index: /trunk/psLib/src/sysUtils/psError.h
===================================================================
--- /trunk/psLib/src/sysUtils/psError.h	(revision 2971)
+++ /trunk/psLib/src/sysUtils/psError.h	(revision 2972)
@@ -12,6 +12,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-04 01:05:00 $
+ *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-01-13 19:50:45 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -42,8 +42,8 @@
 /** Get a error from the error stack
  *
- *  Previous errors on the stack are returned by psErrorGet (a value of 0 
+ *  Previous errors on the stack are returned by psErrorGet (a value of 0
  *  passed to psErrorGet is equivalent to a call to psErrorLast).
  *
- *  if no error is at the which position, a non-NULL psErr is returned with 
+ *  if no error is at the which position, a non-NULL psErr is returned with
  *  code PS_ERR_NONE.
  *
@@ -56,5 +56,5 @@
 /** Get last error put on the error stack
  *
- *  The last error reported is available from psErrorLast; if no errors are 
+ *  The last error reported is available from psErrorLast; if no errors are
  *  current, a non-NULL psErr is returned with code PS_ERR_NONE.
  *
@@ -70,9 +70,15 @@
 void psErrorClear(void);
 
+/** Get the error stack depth
+ *
+ *  @return psS32   The number of items on the error stack
+ */
+psS32 psErrorGetStackSize();
+
 /** Prints error stack to specified open file descriptor
  *
- *  The entire error stack may be printed to an open file descriptor by 
- *  calling psErrorStackPrint; if and only if there are current errors, the 
- *  printf-style string fmt is first printed to the file descriptor fd. In 
+ *  The entire error stack may be printed to an open file descriptor by
+ *  calling psErrorStackPrint; if and only if there are current errors, the
+ *  printf-style string fmt is first printed to the file descriptor fd. In
  *  this printout, error codes are replaced by their string equivalents.
  *
@@ -86,7 +92,7 @@
 /** Prints error stack to specified open file descriptor
  *
- *  The entire error stack may be printed to an open file descriptor by 
- *  calling psErrorStackPrintV; if and only if there are current errors, the 
- *  vprintf-style string fmt is first printed to the file descriptor fd. In 
+ *  The entire error stack may be printed to an open file descriptor by
+ *  calling psErrorStackPrintV; if and only if there are current errors, the
+ *  vprintf-style string fmt is first printed to the file descriptor fd. In
  *  this printout, error codes are replaced by their string equivalents.
  *
Index: /trunk/psLib/src/types/psMetadata.h
===================================================================
--- /trunk/psLib/src/types/psMetadata.h	(revision 2971)
+++ /trunk/psLib/src/types/psMetadata.h	(revision 2972)
@@ -11,6 +11,6 @@
 *  @author Ross Harman, MHPCC
 *
-*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-01-13 19:50:44 $
+*  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-01-13 19:51:27 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -220,5 +220,5 @@
  * @return psF32 : Value of metadata item.
  */
-psF64 psMetadataLookupF32(
+psF32 psMetadataLookupF32(
     psMetadata *md,            ///< Metadata collection to lookup metadata item.
     const char *key,           ///< Name of metadata key.
