A sphere with three ocean waves in differing shades of blue. Next to the sphere, there is the bolded text "Ocean Color". Under that, there are two acronyms, separated by a vertical pipe: OB.DAAC (Ocean Biology Distributed Active Archive Center) and OBPG (Ocean Biology Processing Group).
Lorem
ipsum
dolor
sit
amet
Toggle navigation
Ocean Color Science Software
Jump to content
ocssw
V2022
web
ocssw
ocssw_src
oel_hdf4
libseawifs
SeaWiFS.h
Go to the documentation of this file.
1
/*
2
3
$Header: /app/shared/RCS/irix-5.2/seawifsd/src/hdfio/Shared.V4.4/L012_Util/SeaWiFS.h,v 4.12 1995/12/07 18:50:40 seawifsd Exp seawifsd $
4
$Log: SeaWiFS.h,v $
5
Revision 4.12 1995/12/07 18:50:40 seawifsd
6
increased max number of objects in HDF file from 120 to 130
7
due to the added objects in PROD_SPEC_V2.8. Added macro definition
8
NAME_DELIMETER.
9
10
Revision 4.11 1995/02/24 14:55:54 seawifsd
11
added support of new object DFANObj.
12
13
Revision 4.10 1995/01/17 20:59:37 seawifsd
14
Jan. 17, 1994, V4.10
15
16
Revision 4.1 1995/01/17 14:13:21 seawifsd
17
Jan. 9, 1994, 4.0
18
19
Revision 3.3 1994/11/08 18:49:18 seawifsd
20
Nov. 8, 1994, 3.3a3
21
22
Revision 3.3 1994/11/08 15:03:15 seawifsd
23
Nov. 8, 1994, 3.3a2
24
25
Revision 1.1.1.1 1994/10/03 18:36:26 frank
26
increased the MaxObjtotal from 100 to 120 because the changes in spec.
27
28
Revision 1.2 1994/05/10 18:33:47 seawifst
29
May 6, 1994 version 1.2
30
31
Revision 1.1 1994/04/19 13:19:48 seawifst
32
Initial revision
33
34
Included objmax.h to get Max*total definitions.
35
Norman Kuring 7-Nov-1996
36
37
*/
38
39
40
#ifndef SEAWIFS_H_
41
#define SEAWIFS_H_
42
43
#include "
objmax.h
"
44
45
typedef
struct
SeaWiFS_HDFStruct
{
46
int
n
;
/* total records */
47
int
fid
;
/* HDF file id for SD routines */
48
int
fid2
;
/* HDF file id for all others */
49
char
*
fname
;
/* HDF data file name */
50
int
ngattr
;
/* number of global attributes */
51
int
nvgrp
;
/* number of VGRP object */
52
int
nmfsd
;
/* number of MFSD object */
53
int
nsfsd
;
/* number of SFSD object */
54
int
nvset
;
/* number of VSET object */
55
int
ndfan
;
/* number of DFAN object */
56
ATTRObj
attr
[
MaxATTRtotal
];
/* buffer for all ATTR objects */
57
VGRPObj
vgrp
[
MaxVGRPtotal
];
/* buffer for all VGRP objects */
58
MFSDObj
mfsd
[
MaxMFSDtotal
];
/* buffer for all MFSD objects */
59
SFSDObj
sfsd
[
MaxSFSDtotal
];
/* buffer for all SFSD objects */
60
VSETObj
vset
[
MaxVSETtotal
];
/* buffer for all VSET objects */
61
DFANObj
dfan
[
MaxDFANtotal
];
/* buffer for all DFAN objects */
62
Objidx
oidx
[
MaxObjtotal
];
/* index reference for all objects*/
63
} SeaWiFS_HDFType;
64
65
66
/* this is used to indicate the next record will be read */
67
#define GET_NEXT_RECORD -1
68
69
/* define the delimeter character for name list */
70
#define NAME_DELIMETER ","
71
72
#endif
/* SEAWIFS_H_ */
SFSDObj
SFSDObjType SFSDObj
Definition:
cdl_object.h:187
ATTRObj
ATTRObjType ATTRObj
Definition:
cdl_object.h:185
SeaWiFS_HDFStruct::oidx
Objidx oidx[MaxObjtotal]
Definition:
SeaWiFS.h:62
Objidx
ObjIndexType Objidx
Definition:
cdl_object.h:196
objmax.h
MaxMFSDtotal
#define MaxMFSDtotal
Definition:
objmax.h:2
SeaWiFS_HDFStruct::nmfsd
int nmfsd
Definition:
SeaWiFS.h:52
SeaWiFS_HDFStruct::ngattr
int ngattr
Definition:
SeaWiFS.h:50
SeaWiFS_HDFStruct
Definition:
SeaWiFS.h:45
SeaWiFS_HDFStruct::nsfsd
int nsfsd
Definition:
SeaWiFS.h:53
SeaWiFS_HDFStruct::fid
int fid
Definition:
SeaWiFS.h:47
SeaWiFS_HDFStruct::nvset
int nvset
Definition:
SeaWiFS.h:54
MaxDFANtotal
#define MaxDFANtotal
Definition:
objmax.h:7
SeaWiFS_HDFStruct::fid2
int fid2
Definition:
SeaWiFS.h:48
SeaWiFS_HDFStruct::n
int n
Definition:
SeaWiFS.h:46
VGRPObj
VGRPObjType VGRPObj
Definition:
cdl_object.h:186
SeaWiFS_HDFStruct::vgrp
VGRPObj vgrp[MaxVGRPtotal]
Definition:
SeaWiFS.h:57
SeaWiFS_HDFStruct::fname
char * fname
Definition:
SeaWiFS.h:49
SeaWiFS_HDFStruct::dfan
DFANObj dfan[MaxDFANtotal]
Definition:
SeaWiFS.h:61
MaxVSETtotal
#define MaxVSETtotal
Definition:
objmax.h:6
SeaWiFS_HDFStruct::attr
ATTRObj attr[MaxATTRtotal]
Definition:
SeaWiFS.h:56
MaxSFSDtotal
#define MaxSFSDtotal
Definition:
objmax.h:4
MFSDObj
MFSDObjType MFSDObj
Definition:
cdl_object.h:184
SeaWiFS_HDFStruct::ndfan
int ndfan
Definition:
SeaWiFS.h:55
MaxATTRtotal
#define MaxATTRtotal
Definition:
objmax.h:3
SeaWiFS_HDFStruct::sfsd
SFSDObj sfsd[MaxSFSDtotal]
Definition:
SeaWiFS.h:59
SeaWiFS_HDFStruct::vset
VSETObj vset[MaxVSETtotal]
Definition:
SeaWiFS.h:60
VSETObj
VSETObjType VSETObj
Definition:
cdl_object.h:188
MaxVGRPtotal
#define MaxVGRPtotal
Definition:
objmax.h:5
DFANObj
DFANObjType DFANObj
Definition:
cdl_object.h:189
SeaWiFS_HDFStruct::nvgrp
int nvgrp
Definition:
SeaWiFS.h:51
MaxObjtotal
#define MaxObjtotal
Definition:
objmax.h:1
SeaWiFS_HDFStruct::mfsd
MFSDObj mfsd[MaxMFSDtotal]
Definition:
SeaWiFS.h:58