#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <unistd.h>
#include <ctype.h>
#include <signal.h>
#include "rat.h"
Go to the source code of this file.
|
float | get_rain (struct stn_values *, char *, int, time_t, time_t, struct rainfall *) |
|
int | domsat_rain (struct stn_values *, int, time_t, time_t, struct rainfall *) |
|
int | alert_rain (struct stn_values *, int, time_t, time_t, struct rainfall *) |
|
int | snotel_rain (struct stn_values *, int, time_t, time_t, struct rainfall *) |
|
int | hourly_rain (struct stn_values *, int, time_t, time_t, struct rainfall *) |
|
float | weigh (struct stn_values *, int, int, double, double, int, int *, double *) |
|
int | get_stn_info (char *, struct stn_information *) |
|
int | get_stn_values (char *, char *, time_t, time_t, struct stn_values *) |
|
◆ alert_rain()
int alert_rain |
( |
struct stn_values * |
stn_values, |
|
|
int |
inum, |
|
|
time_t |
tstart, |
|
|
time_t |
tstop, |
|
|
struct rainfall * |
r |
|
) |
| |
◆ domsat_rain()
int domsat_rain |
( |
struct stn_values * |
stn_values, |
|
|
int |
inum, |
|
|
time_t |
tstart, |
|
|
time_t |
tstop, |
|
|
struct rainfall * |
r |
|
) |
| |
◆ get_rain()
float get_rain |
( |
struct stn_values * |
stn_values, |
|
|
char * |
pc, |
|
|
int |
inum, |
|
|
time_t |
etime, |
|
|
time_t |
btime, |
|
|
struct rainfall * |
r |
|
) |
| |
◆ get_stn_info()
◆ get_stn_values()
int get_stn_values |
( |
char * |
stn_id, |
|
|
char * |
shef, |
|
|
time_t |
abeg, |
|
|
time_t |
aend, |
|
|
struct stn_values * |
stn_values |
|
) |
| |
◆ hourly_rain()
int hourly_rain |
( |
struct stn_values * |
stn_values, |
|
|
int |
inum, |
|
|
time_t |
tstart, |
|
|
time_t |
tstop, |
|
|
struct rainfall * |
r |
|
) |
| |
◆ snotel_rain()
int snotel_rain |
( |
struct stn_values * |
stn_values, |
|
|
int |
inum, |
|
|
time_t |
tstart, |
|
|
time_t |
tstop, |
|
|
struct rainfall * |
r |
|
) |
| |
◆ weigh()
float weigh |
( |
struct stn_values * |
stn_values, |
|
|
int |
i, |
|
|
int |
inum, |
|
|
double |
fdif, |
|
|
double |
mindif, |
|
|
int |
maxhours, |
|
|
int * |
sindex, |
|
|
double * |
svalue |
|
) |
| |
◆ debug