ocssw  1.0
/disk01/web/ocssw/build/inc/swfinc/SeaWiFS.h (r8218/r3)
Go to the documentation of this file.
00001 /*
00002 
00003 $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 $
00004 $Log: SeaWiFS.h,v $
00005 Revision 4.12  1995/12/07 18:50:40  seawifsd
00006 increased max number of objects in HDF file from 120 to 130
00007 due to the added objects in PROD_SPEC_V2.8. Added macro definition
00008 NAME_DELIMETER.
00009 
00010 Revision 4.11  1995/02/24 14:55:54  seawifsd
00011 added support of new object DFANObj.
00012 
00013 Revision 4.10  1995/01/17 20:59:37  seawifsd
00014 Jan. 17, 1994, V4.10
00015 
00016 Revision 4.1  1995/01/17 14:13:21  seawifsd
00017 Jan. 9, 1994, 4.0
00018 
00019 Revision 3.3  1994/11/08 18:49:18  seawifsd
00020 Nov. 8, 1994, 3.3a3
00021 
00022 Revision 3.3  1994/11/08 15:03:15  seawifsd
00023 Nov. 8, 1994, 3.3a2
00024 
00025 Revision 1.1.1.1  1994/10/03 18:36:26  frank
00026 increased the MaxObjtotal from 100 to 120 because the changes in spec.
00027 
00028 Revision 1.2  1994/05/10 18:33:47  seawifst
00029 May 6, 1994 version 1.2
00030 
00031 Revision 1.1  1994/04/19 13:19:48  seawifst
00032 Initial revision
00033 
00034 Included objmax.h to get Max*total definitions.
00035 Norman Kuring       7-Nov-1996
00036 
00037  */
00038 
00039 
00040 #ifndef SEAWIFS_H_
00041 #define SEAWIFS_H_
00042 
00043 #include "objmax.h"
00044 
00045 typedef struct SeaWiFS_HDFStruct {
00046     int n;          /* total records        */
00047     int fid;            /* HDF file id for SD routines  */
00048     int fid2;           /* HDF file id for all others   */
00049     char    *fname;         /* HDF data file name       */
00050     int ngattr;         /* number of global attributes  */
00051     int nvgrp;          /* number of VGRP object    */
00052     int nmfsd;          /* number of MFSD object    */
00053     int nsfsd;          /* number of SFSD object    */
00054     int nvset;          /* number of VSET object    */
00055     int ndfan;          /* number of DFAN object    */
00056     ATTRObj attr[MaxATTRtotal]; /* buffer for all ATTR objects  */
00057     VGRPObj vgrp[MaxVGRPtotal]; /* buffer for all VGRP objects  */
00058     MFSDObj mfsd[MaxMFSDtotal]; /* buffer for all MFSD objects  */
00059     SFSDObj sfsd[MaxSFSDtotal]; /* buffer for all SFSD objects  */
00060     VSETObj vset[MaxVSETtotal]; /* buffer for all VSET objects  */
00061     DFANObj dfan[MaxDFANtotal]; /* buffer for all DFAN objects  */
00062     Objidx  oidx[MaxObjtotal];  /* index reference for all objects*/
00063 } SeaWiFS_HDFType;
00064 
00065 
00066 /* this is used to indicate the next record will be read        */
00067 #define GET_NEXT_RECORD -1
00068 
00069 /* define the delimeter character for name list             */
00070 #define NAME_DELIMETER  ","
00071 
00072 #endif /* SEAWIFS_H_ */