OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
PGS_Error_Codes.h
Go to the documentation of this file.
1 #ifndef PGS_ERROR_CODES_H
2 #define PGS_ERROR_CODES_H
3 
4 /*
5 !C-INC***********************************************************************
6 !Description: Header file PGS_Error_Codes.h - defines error codes.
7  (see design notes).
8 
9 !Revision History:
10  $Log: PGS_Error_Codes.h,v $
11  Revision 1.3 2006-10-30 10:07:47-05 ltan
12  Changed for ANSI-C compliance. Correction for the generation of code change log.
13 
14  Revision 02.11, Feb 2, 1999
15  Made this the standard include for all L1B .c files. Invoked the include
16  for PGS_MODIS_36100.h within this file. Defined fallbacks for all macros.
17  Jim Rogers (rogers@mcst.gsfc.nasa.gov)
18 
19  Revision 02.10 April, 13 1998
20  Added this standard prolog.
21  David Catozzi (cato@ltpmail.gsfc.nasa.gov)
22 
23  Revision 01.00 March 1997
24  Initial Development.
25  Zhidong Hao (hao@barebackride.gsfc.nasa.gov)
26 
27 !Team-unique Header:
28 
29 !References and Credits:
30  This software is developed by the MODIS Characterization Support
31  Team (MCST) for the National Aeronautics and Space Administration,
32  Goddard Space Flight Center, under contract NAS5-32373.
33 
34  HDF portions developed at the National Center for Supercomputing
35  Applications at the University of Illinois at Urbana-Champaign.
36 
37 !Design Notes:
38  All error codes should be defined in the PGS_MODIS_36100.h header file.
39  On acrobat, and possibly other machines, this file had incorrect names.
40  Thus, fallbacks were defined for all L1B error codes. The fallbacks
41  match the correct defines in PGS_MODIS_36100.h.
42 
43 !END********************************************************************
44 */
45 
46 #include "PGS_MODIS_36100.h"
47 
48 /*
49  * Fallbacks:
50  */
51 
52 #ifndef MODIS_F_OUT_OF_MEMORY
53 #define MODIS_F_OUT_OF_MEMORY 295735296 /* 0x11a09000L */
54 #endif
55 
56 #ifndef MODIS_F_MEM_FREE_FAIL
57 #define MODIS_F_MEM_FREE_FAIL 295735297 /* 0x11a09001L */
58 #endif
59 
60 #ifndef MODIS_F_FILE_NOT_FOUND
61 #define MODIS_F_FILE_NOT_FOUND 295735298 /* 0x11a09002L */
62 #endif
63 
64 #ifndef MODIS_F_READ_ERROR
65 #define MODIS_F_READ_ERROR 295735299 /* 0x11a09003L */
66 #endif
67 
68 #ifndef MODIS_F_WRITE_ERROR
69 #define MODIS_F_WRITE_ERROR 295735300 /* 0x11a09004L */
70 #endif
71 
72 #ifndef MODIS_F_OUT_OF_RANGE
73 #define MODIS_F_OUT_OF_RANGE 295735301 /* 0x11a09005L */
74 #endif
75 
76 #ifndef MODIS_W_OUT_OF_RANGE
77 #define MODIS_W_OUT_OF_RANGE 295734278 /* 0x11a08c06L */
78 #endif
79 
80 #ifndef MODIS_W_TIME_INCORRECT
81 #define MODIS_W_TIME_INCORRECT 295734279 /* 0x11a08c07L */
82 #endif
83 
84 #ifndef MODIS_F_NOK
85 #define MODIS_F_NOK 295735304 /* 0x11a09008L */
86 #endif
87 
88 #ifndef MODIS_F_HDF_ERROR
89 #define MODIS_F_HDF_ERROR 295735305 /* 0x11a09009L */
90 #endif
91 
92 #ifndef MODIS_F_NO_MORE
93 #define MODIS_F_NO_MORE 295735306 /* 0x11a0900aL */
94 #endif
95 
96 #ifndef MODIS_S_NO_MORE
97 #define MODIS_S_NO_MORE 295731723 /* 0x11a0820bL */
98 #endif
99 
100 #ifndef MODIS_F_FILE_NOT_OPENED
101 #define MODIS_F_FILE_NOT_OPENED 295735308 /* 0x11a0900cL */
102 #endif
103 
104 #ifndef MODIS_F_FILE_NOT_CREATED
105 #define MODIS_F_FILE_NOT_CREATED 295735309 /* 0x11a0900dL */
106 #endif
107 
108 #ifndef MODIS_F_INVALID_ARGUMENT
109 #define MODIS_F_INVALID_ARGUMENT 295735310 /* 0x11a0900eL */
110 #endif
111 
112 #ifndef MODIS_E_TESTING
113 #define MODIS_E_TESTING 295734799 /* 0x11a08e0fL */
114 #endif
115 
116 #ifndef MODIS_S_OK
117 #define MODIS_S_OK 295731728 /* 0x11a08210L */
118 #endif
119 
120 #endif /* _PGS_ERROR_CODES_H */ /* DO NOT ADD ANYTHING PAST THIS LINE */
121