#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "dataday.h"
Go to the source code of this file.
|
#define | PI 3.1415926535897932384626433832795029L |
|
|
void | get_datadays (time_t starttime, float eqxhour, int isnight, int dateline, float west, float east, int32_t *dataday0, int32_t *dataday1) |
|
void | get_coord_extrema (int isnight, int n, float *olat, float *olon, float *north, float *south, float *west, float *east, int *dateline) |
|
int | findGeoLimits (int32_t npix, float *lat, int32_t *spix, int32_t *cpix, int32_t *epix) |
|
int | daynight_outlines (int32_t *year, int32_t *dayOfYear, int32_t *msecondOfDay, int32_t wid, int32_t hgt, float **lat, float **lon, int32_t n[2], float *olat[2], float *olon[2], int8_t **dorn) |
|
void | push (struct coord **vrtx, enum hort hort, float lat, float lon) |
|
◆ PI
#define PI 3.1415926535897932384626433832795029L |
◆ daynight_outlines()
int daynight_outlines |
( |
int32_t * |
year, |
|
|
int32_t * |
dayOfYear, |
|
|
int32_t * |
msecondOfDay, |
|
|
int32_t |
wid, |
|
|
int32_t |
hgt, |
|
|
float ** |
lat, |
|
|
float ** |
lon, |
|
|
int32_t |
n[2], |
|
|
float * |
olat[2], |
|
|
float * |
olon[2], |
|
|
int8_t ** |
dorn |
|
) |
| |
◆ findGeoLimits()
int findGeoLimits |
( |
int32_t |
npix, |
|
|
float * |
lat, |
|
|
int32_t * |
spix, |
|
|
int32_t * |
cpix, |
|
|
int32_t * |
epix |
|
) |
| |
◆ get_coord_extrema()
void get_coord_extrema |
( |
int |
isnight, |
|
|
int |
n, |
|
|
float * |
olat, |
|
|
float * |
olon, |
|
|
float * |
north, |
|
|
float * |
south, |
|
|
float * |
west, |
|
|
float * |
east, |
|
|
int * |
dateline |
|
) |
| |
◆ get_datadays()
void get_datadays |
( |
time_t |
starttime, |
|
|
float |
eqxhour, |
|
|
int |
isnight, |
|
|
int |
dateline, |
|
|
float |
west, |
|
|
float |
east, |
|
|
int32_t * |
dataday0, |
|
|
int32_t * |
dataday1 |
|
) |
| |
◆ push()
void push |
( |
struct coord ** |
vrtx, |
|
|
enum hort |
hort, |
|
|
float |
lat, |
|
|
float |
lon |
|
) |
| |