OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
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_ */
SFSDObjType SFSDObj
Definition: cdl_object.h:187
ATTRObjType ATTRObj
Definition: cdl_object.h:185
Objidx oidx[MaxObjtotal]
Definition: SeaWiFS.h:62
ObjIndexType Objidx
Definition: cdl_object.h:196
#define MaxMFSDtotal
Definition: objmax.h:2
#define MaxDFANtotal
Definition: objmax.h:7
VGRPObjType VGRPObj
Definition: cdl_object.h:186
VGRPObj vgrp[MaxVGRPtotal]
Definition: SeaWiFS.h:57
char * fname
Definition: SeaWiFS.h:49
DFANObj dfan[MaxDFANtotal]
Definition: SeaWiFS.h:61
#define MaxVSETtotal
Definition: objmax.h:6
ATTRObj attr[MaxATTRtotal]
Definition: SeaWiFS.h:56
#define MaxSFSDtotal
Definition: objmax.h:4
MFSDObjType MFSDObj
Definition: cdl_object.h:184
#define MaxATTRtotal
Definition: objmax.h:3
SFSDObj sfsd[MaxSFSDtotal]
Definition: SeaWiFS.h:59
VSETObj vset[MaxVSETtotal]
Definition: SeaWiFS.h:60
VSETObjType VSETObj
Definition: cdl_object.h:188
#define MaxVGRPtotal
Definition: objmax.h:5
DFANObjType DFANObj
Definition: cdl_object.h:189
#define MaxObjtotal
Definition: objmax.h:1
MFSDObj mfsd[MaxMFSDtotal]
Definition: SeaWiFS.h:58