Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
datatype.h
Go to the documentation of this file.
1 /*
2 
3 $Header: /app/shared/RCS/irix-5.2/seawifsd/src/hdfio/Shared.V4.2/L012_Util/util/data/datatype.h,v 4.10 1995/01/17 19:57:54 seawifsd Exp seawifsd $
4 $Log: datatype.h,v $
5 Revision 4.10 1995/01/17 19:57:54 seawifsd
6 Jan. 17, 1994, V4.10
7 
8 Revision 4.1 1995/01/17 14:14:12 seawifsd
9 Jan. 9, 1994, 4.0
10 
11 Revision 3.3 1994/11/08 18:46:19 seawifsd
12 Nov. 8, 1994, 3.3a3
13 
14 Revision 3.3 1994/11/08 15:04:17 seawifsd
15 Nov. 8, 1994, 3.3a2
16 
17 Revision 1.1.1.1 1994/05/23 16:15:45 frank
18 included 'datatype_proto.h' for prototyping.
19 
20 Revision 1.2 1994/05/10 18:47:18 seawifst
21 May 6, 1994 version 1.2
22 
23 Revision 1.1 1994/04/19 13:29:50 seawifst
24 Initial revision
25 
26 
27  */
28 
29 
30 /*
31  * define data type -2(unknown), 0(normal LAC), 1(lunar cal), 2(solar cal),
32  * 3(intergain cal), 4(detector check), 15(gac)
33  */
34 #define UNKNOWN_TYPE -2
35 #define HRPTTYPE 0
36 #define LACTYPE 0
37 #define LUNTYPE 1
38 #define SOLTYPE 2
39 #define IGCTYPE 3
40 #define TDITYPE 4
41 #define GACTYPE 15
42 #define UNKNOWNTYPESTR "XXX"
43 #define LACSTR "LAC"
44 #define LUNSTR "LUN"
45 #define SOLSTR "SOL"
46 #define IGCSTR "IGC"
47 #define TDISTR "TDI"
48 #define GACSTR "GAC"
49 #define HRPTSTR "HRPT"
50 /* this is actually not a real data type but is used to identify */
51 /* converted instrument telemetry file for CAL/VAL */
52 #define TLMSTR "TLM"
53 
54 #define DATATYPE_SET(x) ((x == GACTYPE) || (x == HRPTTYPE) || (x == LACTYPE) || (x == LUNTYPE) || (x == SOLTYPE) || (x == IGCTYPE) || (x == TDITYPE))
55 #define NEW_DATATYPE(prev,next) (DATATYPE_SET(prev) && DATATYPE_SET(next) && (prev != next))
56 
57 //#include "usrhdr.h"
58 #include "usrmac.h"
59 #include "datatype_proto.h"