Due to the lapse in federal government funding, NASA is not updating this website. We sincerely regret this inconvenience.
NASA Logo
Ocean Color Science Software

ocssw V2022
navigation.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/mops/navigation.h,v 4.11 1995/04/03 14:44:36 seawifsd Exp seawifsd $
4 $Log: navigation.h,v $
5 Revision 4.11 1995/04/03 14:44:36 seawifsd
6 changed references of 'long' to 'int' to support OSF/1.
7 
8 Revision 4.10 1995/01/17 19:58:30 seawifsd
9 Jan. 17, 1994, V4.10
10 
11 Revision 4.2 1995/01/17 14:51:28 seawifsd
12 added prototyping for FORTRAN cdata_().
13 
14 Revision 4.1 1995/01/17 14:14:43 seawifsd
15 Jan. 9, 1994, 4.0
16 
17 Revision 3.3 1994/11/08 18:46:47 seawifsd
18 Nov. 8, 1994, 3.3a3
19 
20 Revision 3.3 1994/11/08 15:04:45 seawifsd
21 Nov. 8, 1994, 3.3a2
22 
23 Revision 1.1.1.1 1994/10/04 16:41:26 frank
24 added prototyping for geonav_().
25 
26 Revision 1.2 1994/05/10 18:50:18 seawifst
27 May 6, 1994 version 1.2
28 
29 Revision 1.1 1994/04/19 13:36:12 seawifst
30 Initial revision
31 
32 
33  */
34 
35 
36 #ifndef NAVIGATION_H
37 #define NAVIGATION_H
38 
39 //#ifndef LAC_PIXEL_NUM
40 //#define LAC_PIXEL_NUM 1285
41 //#endif /* !LAC_PIXEL_NUM */
42 
43 #ifdef __cplusplus
44 extern "C" {
45 #endif
46 void cdata_(void);
47 
48 //extern void geonav_(float *orb_vec,float *sen_mat, float *scan_ell,
49 // float *sun_ref, int *nsta, int *ninc, int *npix,
50 // float ylat[LAC_PIXEL_NUM], float xlon[LAC_PIXEL_NUM],
51 // float solz[LAC_PIXEL_NUM], float sola[LAC_PIXEL_NUM],
52 // float senz[LAC_PIXEL_NUM], float sena[LAC_PIXEL_NUM]);
53 
54 void geonav_(float *orb_vec, float *sen_mat, float *scan_ell,
55  float *sun_ref, int32_t *nsta, int32_t *ninc, int32_t *npix,
56  float ylat[], float xlon[],
57  float solz[], float sola[],
58  float senz[], float sena[]);
59 
60 void geonav_lonlat_(float *orb_vec, float *sen_mat, float *scan_ell,
61  float *sun_ref, int32_t *nsta, int32_t *ninc, int32_t *npix,
62  float ylat[], float xlon[]);
63 
64 
65 #ifdef __cplusplus
66 }
67 #endif
68 
69 
70 #ifndef NAVBLOCK_STRUCT
71 #define NAVBLOCK_STRUCT
72 
73 typedef struct navblockStruct {
74  float *orb_vec;
75  float *l_vert;
76  float *sun_ref;
77  float *att_ang;
78  float *sen_mat;
79  float *scan_ell;
80  int *nflag;
81 } navblockType;
82 #endif /* NAVBLOCK_STRUCT */
83 
84 #ifndef GEOLOC_STRUCT
85 #define GEOLOC_STRUCT
86 
87 typedef struct geolocStruct {
88  float *ylat; /* pixel geodetic latitudes */
89  float *xlon; /* pixel geodetic longitude */
90  float *solz; /* pixel solar zenith angle */
91  float *sola; /* pixel solar azimuth angle */
92  float *senz; /* pixel sensor zenith angle */
93  float *sena; /* pixel sensor azimuth angle */
94 } geolocType;
95 #endif /* GEOLOC_STRUCT */
96 
97 #endif /* NAVIGATION_H */
float * xlon
Definition: nav_l1io.h:24
void geonav_lonlat_(float *orb_vec, float *sen_mat, float *scan_ell, float *sun_ref, int32_t *nsta, int32_t *ninc, int32_t *npix, float ylat[], float xlon[])
float * l_vert
Definition: navigation.h:75
float * scan_ell
Definition: navigation.h:79
float * sola
Definition: nav_l1io.h:26
float * sena
Definition: nav_l1io.h:28
void cdata_(void)
float ylat[LAC_PIXEL_NUM]
Definition: l1a_seawifs.c:92
float * sun_ref
Definition: navigation.h:76
float * sen_mat
Definition: navigation.h:78
float * att_ang
Definition: navigation.h:77
float xlon[LAC_PIXEL_NUM]
Definition: l1a_seawifs.c:93
float * ylat
Definition: nav_l1io.h:23
float * senz
Definition: nav_l1io.h:27
int scan_ell(float p[3], double sm[3][3], double coef[10])
float * orb_vec
Definition: navigation.h:74
void geonav_(float *orb_vec, float *sen_mat, float *scan_ell, float *sun_ref, int32_t *nsta, int32_t *ninc, int32_t *npix, float ylat[], float xlon[], float solz[], float sola[], float senz[], float sena[])
float * solz
Definition: nav_l1io.h:25
int npix
Definition: get_cmp.c:28