OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
lonlat2pixline.h
Go to the documentation of this file.
1 /*
2  * File: lonlat2pixline.h
3  * Author: dshea
4  *
5  * Created on March 8, 2010, 8:53 AM
6  */
7 
8 #ifndef _LONLAT2PIXLINE_H
9 #define _LONLAT2PIXLINE_H
10 
11 #include "l1.h"
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
22 typedef struct lonlat2pixline_struct {
23  /* --------- input variables --------- */
26  int pix_srch;
27  int32_t xbox;
28  int32_t ybox;
29  float SWlon;
30  float SWlat;
31  float NElon;
32  float NElat;
33  char input_filename[FILENAME_MAX];
34  char geo_filename[FILENAME_MAX];
35  int32_t resolution;
37  /* --------- output variables --------- */
38  int box_failed;
39  float pixLon;
40  float pixLat;
41  int32_t spixl;
42  int32_t epixl;
43  int32_t sline;
44  int32_t eline;
45 } lonlat2pixline_t;
46 
47 
48 
98 int lonlat2pixline(lonlat2pixline_t *params);
99 
100 int lonlat2pixline1(char *input_filename, char *geo_filename,
101  int32_t resolution, float SWlon, float SWlat, float NElon, float NElat,
102  int32_t *spixl, int32_t *epixl, int32_t *sline, int32_t *eline);
103 
104 int lonlat2pixline2(char *input_filename, char *geo_filename,
105  int32_t resolution, float lon, float lat, int32_t dx, int32_t dy,
106  int32_t *spixl, int32_t *epixl, int32_t *sline, int32_t * eline);
107 
108 int lonlat2pixline3(char *input_filename, char *geo_filename,
109  int32_t resolution, float lon, float lat,
110  int32_t *pixl, int32_t *line);
111 
112 
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 #endif /* _LONLAT2PIXLINE_H */
119 
char geo_filename[FILENAME_MAX]
char input_filename[FILENAME_MAX]
int lonlat2pixline1(char *input_filename, char *geo_filename, int32_t resolution, float SWlon, float SWlat, float NElon, float NElat, int32_t *spixl, int32_t *epixl, int32_t *sline, int32_t *eline)
this program makes no use of any feature of the SDP Toolkit that could generate such a then geolocation is calculated at that resolution
Definition: HISTORY.txt:188
int lonlat2pixline3(char *input_filename, char *geo_filename, int32_t resolution, float lon, float lat, int32_t *pixl, int32_t *line)
int lonlat2pixline(lonlat2pixline_t *params)
float * lat
int lonlat2pixline2(char *input_filename, char *geo_filename, int32_t resolution, float lon, float lat, int32_t dx, int32_t dy, int32_t *spixl, int32_t *epixl, int32_t *sline, int32_t *eline)
float * lon