forked from gmcgarragh/seviri_util
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnav_util.h
35 lines (27 loc) · 1.16 KB
/
nav_util.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
*
* Copyright (C) 2014-2018 Greg McGarragh <[email protected]>
*
* This source code is licensed under the GNU General Public License (GPL),
* Version 3. See the file COPYING for more details.
*
******************************************************************************/
#ifndef NAV_UTIL_H
#define NAV_UTIL_H
#include "external.h"
#ifdef __cplusplus
extern "C" {
#endif
int su_line_column_to_lat_lon(uint l, uint c, float *lat, float *lon,
double lon0, const struct nav_scaling_factors *nav,
uchar earthmod);
int su_lat_lon_to_line_column(float lat, float lon, uint *line, uint *column,
double lon0, const struct nav_scaling_factors *nav);
void su_solar_params2(double jtime, double lat, double lon, double *mu0,
double *theta0, double *phi0, double *solar_dist_fac);
int su_vza_and_vaa(double lat, double lon, double height,
double X, double Y, double Z, float *vza, float *vaa);
#ifdef __cplusplus
}
#endif
#endif /* NAV_UTIL_H */