MISR Toolkit  1.5.1
misrproj.h
Go to the documentation of this file.
1 #ifndef MISRPROJ_H
2 #define MISRPROJ_H
3 
4 /* Defines */
5 
6 #define STRLEN 200
7 #define NBLOCK 180
8 #define NOFFSET NBLOCK - 1
9 #define R2D 57.2957795131
10 #define D2R 1.745329251994328e-2
11 #define NPROJ 15
12 
13 /* Prototypes */
14 
15 int misr_init(
16 const int nblock, /* Number of blocks */
17 const int nline, /* Number of lines in a block */
18 const int nsample, /* Number of samples in a block */
19 const float relOff[NOFFSET],/* Block offsets */
20 const double ulc_coord[], /* Upper left corner coord. in meters */
21 const double lrc_coord[] /* Lower right corner coord. in meters */
22 );
23 
24 int misrfor(
25 const double x, /* Output SOM X coordinate */
26 const double y, /* Output SOM Y coordinate */
27 int* block, /* Input block */
28 float* line, /* Input line */
29 float* sample /* Input sample */
30 );
31 
32 int misrinv(
33 const int block, /* Input block */
34 const float line, /* Input line */
35 const float sample, /* Input sample */
36 double* x, /* Output SOM X coordinate */
37 double* y /* Output SOM Y coordinate */
38 );
39 
40 #endif /* MISRPROJ_H */
#define NOFFSET
Definition: misrproj.h:8
int misrinv(const int block, const float line, const float sample, double *x, double *y)
Definition: misrinv.c:17
int misr_init(const int nblock, const int nline, const int nsample, const float relOff[NOFFSET], const double ulc_coord[], const double lrc_coord[])
Definition: misr_init.c:18
int misrfor(const double x, const double y, int *block, float *line, float *sample)
Definition: misrfor.c:18

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:51