OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
wifs_conf.h
Go to the documentation of this file.
1 /*
2 $Header: /app/shared/RCS/irix-5.2/seawifsd/src/hdfio/Shared.V4.5/L012_Util/util/usr/wifs_conf.h,v 4.21 1996/05/07 14:28:03 seawifsd Exp seawifsd $
3 $Log: wifs_conf.h,v $
4 Revision 4.21 1996/05/07 14:28:03 seawifsd
5 defined REAL_TILT. (NAK)
6 
7 Revision 4.20 1996/01/16 22:26:12 seawifsd
8 fixed a bug that will make compiling to a wrong image when both
9 IO_SPEC_V44 and IO_SPEC_V43 are NOT defined.
10 
11 Revision 4.19 1995/12/07 19:48:06 seawifsd
12 updated NONPROD_SPEC version
13 
14 Revision 4.18 1995/12/07 17:32:13 seawifsd
15 updated to put IO_SPEC_V44 as the default.
16 
17 Revision 4.17 1995/08/03 20:18:13 seawifsd
18 defined DONT_BREAK_TILT.
19 
20 Revision 4.16 1995/05/31 17:43:00 seawifsd
21 added NO_BROWSE_REC_L2 and NO_GET_FLAG_NAMES to support IO_SPEC_V43
22 
23 Revision 4.15 1995/05/12 13:28:56 seawifsd
24 1. upgraded to IO_SPEC_V43, PROD_SPEC_V27, and NONPROD_SPEC_V12.
25 2. eliminated macros related to version before IO_SPEC_V42 which includes
26 NO_SMOOTH_SCAN_TEMP_SIDE, QC_LA865, NO_GET_SCALE_OFFSET, NO_ADD_CSOL_Z,
27 NO_ENTRY_YEAR_DAY, and DONT_OVERWRITE_SLOPE_INTERCEPT
28 
29 Revision 4.14 1995/05/08 17:33:38 seawifsd
30 made NO_CAL_OFFSET as default.
31 
32 Revision 4.13 1995/02/21 16:47:35 seawifsd
33 set NO_SMOOTH_SCAN_TEMP_SIDE and NO_CAL_OFFSET for version before IO_SPEC_V42.
34 
35 Revision 4.12 1995/02/15 20:37:34 seawifsd
36 elliminated IO_SPEC_V33 related code and rearrange to set IO_SPEC_V42
37 as the default.
38 
39 Revision 4.11 1995/01/18 22:05:01 seawifsd
40 added new features REAL_CTIME and REAL_TILT(for future).
41 
42 Revision 4.10 1995/01/17 19:59:11 seawifsd
43 Jan. 17, 1994, V4.10
44 
45 Revision 4.1 1995/01/17 14:15:23 seawifsd
46 Jan. 9, 1994, 4.0
47 
48 Revision 3.9 1994/12/23 19:02:40 seawifsd
49 added check to make sure this file be included only once.
50 
51 Revision 3.8 1994/12/15 20:12:52 seawifsd
52 made PROD_SPEC_V25 as the default.
53 
54 Revision 3.7 1994/12/15 16:27:47 seawifsd
55 made IO_SPEC_V41 as current default and replace all V40 occurrences by V41.
56 added macro definitions for NONPROD_SPEC.
57 
58 Revision 3.6 1994/12/06 19:26:41 seawifsd
59 made IO_SPEC_V40 is the current version and IO_SPEC_V33 is the last version.
60 made TRUE_ATTR_TYPE as default for IO_SPEC_V40.
61 made TRANSPOSE_IMAGE as default for IO_SPEC_V40 so that L1A image data are
62 pixel interlaced instead of band interlaced.
63 
64 Revision 3.5 1994/11/28 18:22:32 seawifsd
65 made 'TRUE_ATTR_TYPE' defined as default.
66 
67 Revision 3.4 1994/11/08 19:07:39 seawifsd
68 made ONCE_PER_PROCESS as default.
69 
70 Revision 3.3 1994/11/08 18:47:24 seawifsd
71 Nov. 8, 1994, 3.3a3
72 
73 Revision 3.3 1994/11/08 15:05:20 seawifsd
74 Nov. 8, 1994, 3.3a2
75 
76  */
77 
78 
79 #ifndef WIFS_CONF_H_
80 #define WIFS_CONF_H_
81 
82 /*
83  This include file is used to attempt to make sure multiple versions of
84  software can be selectablly compiled by specifying the right macros
85  in the wifs_make_pre.inc file.
86  */
87 
88 /*
89  versions for different I/O spec.
90  */
91 
92 #define LATEST_IO_SPEC IO_SPEC_V44
93 #define LAST_IO_SPEC IO_SPEC_V44
94 #define LATEST_PROD_SPEC PROD_SPEC_V28
95 #define LAST_PROD_SPEC PROD_SPEC_V28
96 #define LATEST_NONPROD_SPEC NONPROD_SPEC_V13
97 #define LAST_NONPROD_SPEC NONPROD_SPEC_V13
98 
99 /* if both undefined, use latest version */
100 #if (!defined(IO_SPEC_V44) && !defined(IO_SPEC_V43))
101 #define IO_SPEC_V44
102 #endif /* !IO_SPEC_V44 && !IO_SPEC_V43 */
103 /* if version is older than previous version, use previous version instead */
104 #if defined(IO_SPEC_V10) || defined(IO_SPEC_V33) || defined(IO_SPEC_V41) || defined(IO_SPEC_V42) || defined(IO_SPEC_V43)
105 #define IO_SPEC_V44
106 #ifdef IO_SPEC_V10
107 #define SHOULD_NOT_USE_IO_SPEC_V10_USE_IO_SPEC_V44_INSTEAD
108 #define SHOULD_NOT_USE_IO_SPEC_V10_USE_IO_SPEC_V44_INSTEAD
109 #undef IO_SPEC_V10
110 #endif /* IO_SPEC_V10 */
111 #ifdef IO_SPEC_V33
112 #define SHOULD_NOT_USE_IO_SPEC_V33_USE_IO_SPEC_V44_INSTEAD
113 #define SHOULD_NOT_USE_IO_SPEC_V33_USE_IO_SPEC_V44_INSTEAD
114 #undef IO_SPEC_V33
115 #endif /* IO_SPEC_V33 */
116 #ifdef IO_SPEC_V41
117 #define SHOULD_NOT_USE_IO_SPEC_V41_USE_IO_SPEC_V44_INSTEAD
118 #define SHOULD_NOT_USE_IO_SPEC_V41_USE_IO_SPEC_V44_INSTEAD
119 #undef IO_SPEC_V41
120 #endif /* IO_SPEC_V41 */
121 #ifdef IO_SPEC_V42
122 #define SHOULD_NOT_USE_IO_SPEC_V42_USE_IO_SPEC_V44_INSTEAD
123 #define SHOULD_NOT_USE_IO_SPEC_V42_USE_IO_SPEC_V44_INSTEAD
124 #undef IO_SPEC_V42
125 #endif /* IO_SPEC_V42 */
126 #ifdef IO_SPEC_V43
127 #define SHOULD_NOT_USE_IO_SPEC_V42_USE_IO_SPEC_V44_INSTEAD
128 #define SHOULD_NOT_USE_IO_SPEC_V42_USE_IO_SPEC_V44_INSTEAD
129 #undef IO_SPEC_V43
130 #endif /* IO_SPEC_V43 */
131 #endif /* IO_SPEC_V10 || IO_SPEC_V33 || IO_SPEC_V41 || IO_SPEC_V42 || IO_SPEC_V43 */
132 
133 
134 #if defined(IO_SPEC_V43) || defined(IO_SPEC_V44)
135 
136 /* define this only when a new set of simulation data are available */
137 /* Fred Patt tells me it is available today (7-May-1996) Norman Kuring */
138 #define REAL_TILT
139 
140 /* set dbopen once for every process as default */
141 #define ONCE_PER_PROCESS
142 
143 
144 #define LOCAL_PTIME
145 
146 /* add valid_min,valid_max,min,max in MFSDObj */
147 #define MFSD_MINMAX
148 /* 3-code letter for different HRPT stations. Example: NSG -> _HNSG */
149 #define MULTI_HRPTTYPE
150 /* set MFSD->rec_flag to TRUE if the variable is a record variable */
151 #define REC_FLAG
152 /* store information about which dimension contain 'nsamp' */
153 #define NSAMP_DIMS
154 /* check boundary of image values */
155 #define CHK_IMAGE
156 /* calculate pixel min/max values */
157 #define CAL_PIXEL_MINMAX
158 /* to access every object */
159 /* #define EVERYTHING */
160 
161 
162 #endif /* IO_SPEC_V43 || IO_SPEC_V44 */
163 
164 
165 
166 /* when not defined, additional attributes will be created to map the */
167 /* SeaWiFS slope/intercept values to NCSA HDF's convention. */
168 /* This will be defined indefinitely until there is a need. */
169 #define NO_CAL_OFFSET
170 
171 /* when not defined, L1A scene will be created when the tilt changed */
172 #define DONT_BREAK_TILT
173 
174 #endif /* WIFS_CONF_H_ */