Debian Codegraph @

imagery/i.landsat.toar/earth_sun.h

raw
1 /*
2 * Modified from LIBNOVA-0.12: see earth-sun.c
3 *
4 * Copyright (C) 2000 - 2005 Liam Girdwood
5 * Modified to GRASS (C) 2006 E. Jorge Tizado
6 */
7
8 #ifndef _EARTH_SUN_H
9 #define _EARTH_SUN_H
10
11 struct ln_vsop {
12 double A;
13 double B;
14 double C;
15 };
16
17 /* Local prototypes */
18
19 double ln_calc_series(const struct ln_vsop *data, int terms, double t);
20 double julian_int(int year, int month, int day);
21 double julian_char(char date[]);
22 double earth_sun(char date[]);
23
24 #endif