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