ocssw  1.0
/disk01/web/ocssw/build/inc/swfinc/datatype.h (r8202/r3)
Go to the documentation of this file.
00001 /*
00002 
00003 $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 $
00004 $Log: datatype.h,v $
00005 Revision 4.10  1995/01/17 19:57:54  seawifsd
00006 Jan. 17, 1994, V4.10
00007 
00008 Revision 4.1  1995/01/17 14:14:12  seawifsd
00009 Jan. 9, 1994, 4.0
00010 
00011 Revision 3.3  1994/11/08 18:46:19  seawifsd
00012 Nov. 8, 1994, 3.3a3
00013 
00014 Revision 3.3  1994/11/08 15:04:17  seawifsd
00015 Nov. 8, 1994, 3.3a2
00016 
00017 Revision 1.1.1.1  1994/05/23 16:15:45  frank
00018 included 'datatype_proto.h' for prototyping.
00019 
00020 Revision 1.2  1994/05/10 18:47:18  seawifst
00021 May 6, 1994 version 1.2
00022 
00023 Revision 1.1  1994/04/19 13:29:50  seawifst
00024 Initial revision
00025 
00026 
00027  */
00028 
00029 
00030 /*
00031  * define data type -2(unknown), 0(normal LAC), 1(lunar cal), 2(solar cal),
00032  * 3(intergain cal), 4(detector check), 15(gac)
00033  */
00034 #define UNKNOWN_TYPE    -2
00035 #define HRPTTYPE    0
00036 #define LACTYPE     0
00037 #define LUNTYPE     1
00038 #define SOLTYPE     2
00039 #define IGCTYPE     3
00040 #define TDITYPE     4
00041 #define GACTYPE     15
00042 #define UNKNOWNTYPESTR  "XXX"
00043 #define LACSTR  "LAC"
00044 #define LUNSTR  "LUN"
00045 #define SOLSTR  "SOL"
00046 #define IGCSTR  "IGC"
00047 #define TDISTR  "TDI"
00048 #define GACSTR  "GAC"
00049 #define HRPTSTR "HRPT"
00050 /* this is actually not a real data type but is used to identify    */
00051 /* converted instrument telemetry file for CAL/VAL          */
00052 #define TLMSTR  "TLM"
00053 
00054 #define DATATYPE_SET(x) ((x == GACTYPE) || (x == HRPTTYPE) || (x == LACTYPE) || (x == LUNTYPE) || (x == SOLTYPE) || (x == IGCTYPE) || (x == TDITYPE))
00055 #define NEW_DATATYPE(prev,next) (DATATYPE_SET(prev) && DATATYPE_SET(next) && (prev != next))
00056 
00057 #include    "usrhdr.h"
00058 #include    "usrmac.h"
00059 #include    "datatype_proto.h"