Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_hdf4
libseawifs
ecv.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/osc/ecv.h,v 4.10 1995/01/17 19:58:40 seawifsd Exp seawifsd $
4
$Log: ecv.h,v $
5
Revision 4.10 1995/01/17 19:58:40 seawifsd
6
Jan. 17, 1994, V4.10
7
8
Revision 4.1 1995/01/17 14:14:53 seawifsd
9
Jan. 9, 1994, 4.0
10
11
Revision 3.3 1994/11/08 18:46:56 seawifsd
12
Nov. 8, 1994, 3.3a3
13
14
Revision 3.3 1994/11/08 15:04:54 seawifsd
15
Nov. 8, 1994, 3.3a2
16
17
Revision 1.2 1994/05/10 18:51:33 seawifst
18
May 6, 1994 version 1.2
19
20
Revision 1.1 1994/04/19 13:49:00 seawifst
21
Initial revision
22
23
24
*/
25
26
27
/* Engineering ConVersion */
28
#ifndef _ECV_FILE
29
#define _ECV_FILE
30
/*----------------------------------------------------------------------------*/
31
/* Engineering Conversion Type for all the values */
32
/* There should be no need for discrete field, but ... */
33
/* Use negative for discrete field and positive for analog field */
34
/* 0 indicate no conversion */
35
#define NECT0 0
36
37
/* Discrete Engineering Conversion Type 1 - for discrete field */
38
#define DECT1 -1
39
40
/* Analog Engineering Conversion Type 1 - (Y = mX+b) */
41
/* two floating point values (m and b) are following the conversion */
42
/* type field */
43
#define AECT1 1
44
/* Analog Engineering Conversion Type 2 - for 4 byte GPS */
45
#define AECT2 2
46
47
/* define a filled parameters for NECT0(no conversion) */
48
#define FILLAECT1 NECT0,0.0,0.0
49
50
#ifdef __ANSI_CPP__
51
#define ECVM(n) n##_ECV
52
#else
53
#define ECVM(n) n##_ECV
54
#endif
/* ANSI */
55
56
#endif
/* _ECV_FILE */