Mapper
Classes | Functions | Variables
hydro_data.h File Reference
#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"
Include dependency graph for hydro_data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rainfall
 
struct  stn_values
 
struct  stn_information
 
struct  sens_info
 

Functions

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 *)
 

Variables

int debug
 

Function Documentation

◆ alert_rain()

int alert_rain ( struct stn_values stn_values,
int  inum,
time_t  tstart,
time_t  tstop,
struct rainfall r 
)

Definition at line 16 of file alert_rain.c.

◆ domsat_rain()

int domsat_rain ( struct stn_values stn_values,
int  inum,
time_t  tstart,
time_t  tstop,
struct rainfall r 
)

Definition at line 26 of file domsat_rain.c.

◆ get_rain()

float get_rain ( struct stn_values stn_values,
char *  pc,
int  inum,
time_t  etime,
time_t  btime,
struct rainfall r 
)

Definition at line 3 of file get_rain.c.

◆ get_stn_info()

int get_stn_info ( char *  ,
struct stn_information  
)

◆ get_stn_values()

int get_stn_values ( char *  stn_id,
char *  shef,
time_t  abeg,
time_t  aend,
struct stn_values stn_values 
)

Definition at line 6 of file get_stn_values.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hourly_rain()

int hourly_rain ( struct stn_values stn_values,
int  inum,
time_t  tstart,
time_t  tstop,
struct rainfall r 
)

Definition at line 15 of file hourly_rain.c.

◆ snotel_rain()

int snotel_rain ( struct stn_values stn_values,
int  inum,
time_t  tstart,
time_t  tstop,
struct rainfall r 
)

Definition at line 26 of file snotel_rain.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ weigh()

float weigh ( struct stn_values stn_values,
int  i,
int  inum,
double  fdif,
double  mindif,
int  maxhours,
int *  sindex,
double *  svalue 
)

Definition at line 5 of file weigh.c.

Here is the caller graph for this function:

Variable Documentation

◆ debug

int debug

Definition at line 53 of file hydro_data.h.