-
Notifications
You must be signed in to change notification settings - Fork 6
/
hydroinout.h
114 lines (109 loc) · 5.25 KB
/
hydroinout.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/*-------------------------------------------------------------------------------------------
* hydroinout.h
*
* Author: Albert Kettner, March 2006
*
* Contains fid's, filenames and the header string.
*
* Variable Def.Location Type Units Usage
* -------- ------------ ---- ----- -----
* ffnameq[] hydroinout.h char - char. array to set filename + filepath
* ffnameqs[] hydroinout.h char - char. array to set filename + filepath
* ffnametrend1[] hydroinout.h char - char. array to set filename + filepath
* ffnametrend2[] hydroinout.h char - char. array to set filename + filepath
* ffnametrend3[] hydroinout.h char - char. array to set filename + filepath
* ffnamedis[] hydroinout.h char - char. array to set filename + filepath
* ffnamelog[] hydroinout.h char - char. array to set filename + filepath
* ffidasc[] hydroinout.h char - char. array to set filename + filepath
* ffidasc1[] hydroinout.h char - char. array to set filename + filepath
* ffidasc2[] hydroinout.h char - char. array to set filename + filepath
* ffidasc3[] hydroinout.h char - char. array to set filename + filepath
* ffidasc4[] hydroinout.h char - char. array to set filename + filepath
* fiddis hydroinout.h FILE - binary discharge and sedload file id
* fidhyps hydroinout.h FILE - input hypsometric integral file id
* fidinput hydroinout.h FILE - input data file id
* fidlog hydroinout.h FILE - log file id
* fidtrend1 hydroinout.h FILE - annual trend file #1 id
* fidtrend2 hydroinout.h FILE - annual trend file #2 id
* fidtrend3 hydroinout.h FILE - annual trend file #3 id
* out_file hydroinout.h FILE - output daily vel, wid en dep file id
* outp1 hydroinout.h FILE - output daily Q file id
* outp2 hydroinout.h FILE - output daily Qs average file id
* outp3 hydroinout.h FILE - output daily Qb average file id
* outp4 hydroinout.h FILE - output daily Cs file id
* fnamedis hydroinout.h define - binary discharge and sedload file name
* fnamehyps hydroinout.h define - input hypsometric integral file name
* fnameinput hydroinout.h define - input data file name
* fnamelog hydroinout.h define - log file name
* fnametrend1 hydroinout.h define - annual trend file #1 name
* fnametrend2 hydroinout.h define - annual trend file #2 name
* fnametrend3 hydroinout.h define - annual trend file #3 name
* fidasc hydroinout.h define - ascii file name for daily vel, wid en dep
* fidasc1 hydroinout.h define - ascii file 1 name for daily Q
* fidasc2 hydroinout.h define - ascii file 5 name for daily Qs average
* fidasc3 hydroinout.h define - ascii file 3 name for daily Qb average
* fidasc4 hydroinout.h define - ascii file 4 name for daily Cs
* MAXCH hydroinout.h define - maximum # of char. to set file name + path
* moname[][] hydroinout.h char - month name
* title[] hydroinout.h char - user specified text identifier
*-------------------------------------------------------------------------------------------*/
#if !defined( HYDROINOUT_H )
#define HYDROINOUT_H
#define FNAMEINPUT "HYDRO_INPUT/HYDRO.IN"
#define fnametrend1 ".TRN1"
#define fnametrend2 ".TRN2"
#define fnametrend3 ".TRN3"
#define fnamestat ".STAT"
#define fnamedis ".DIS"
#define fnameconvdis ".CONVDIS"
#define fnamehyps "HYDRO_INPUT/HYDRO"
#define fnameclimateext ".CLIMATE"
#define fnamehypsext ".HYPS"
#define fnamequakeext ".QUAKE"
#define fnamelog ".LOG"
#define fnamelapserate "HYDRO_PROGRAM_FILES/HYDRO_LAPSERATE.LUT"
//#define fnameinputgw_r "HYDRO_INPUT/HYDRO.CLIMATE"
#define fidasc "ASCII.VWD"
#define fidasc1 "ASCII.Q"
#define fidasc2 "ASCII.QS"
#define fidasc3 "ASCII.QB"
#define fidasc4 "ASCII.CS"
#define fidasc5 "ASCII.TEMP_PREC"
#define MAXCH (300)
#include <stdio.h>
extern FILE *fidinput;
extern FILE *fidtrend1;
extern FILE *fidtrend2;
extern FILE *fidtrend3;
extern FILE *fidstat;
extern FILE *fiddistot;
extern FILE **fiddis;
extern FILE *fidconvdistot;
extern FILE **fidconvdis;
extern FILE *fidinputgw_r;
extern FILE **fidhyps;
extern FILE **fidquake;
extern FILE *fidlog;
extern FILE *fidlapserate;
extern FILE *out_file, *outp1, *outp2, *outp3, *outp4, *outp5;
extern char title[MAXCH];
extern char moname[12][4];
extern char ffnametrend1[MAXCH];
extern char ffnametrend2[MAXCH];
extern char ffnametrend3[MAXCH];
extern char ffnamestat[MAXCH];
extern char ffnamedis[MAXCH];
extern char ffnamedistot[MAXCH];
extern char ffnameconvdis[MAXCH];
extern char ffnameconvdistot[MAXCH];
extern char ffnamehyps[MAXCH];
extern char ffnamequake[MAXCH];
extern char ffnameinputgw_r[MAXCH];
extern char ffnamelog[MAXCH];
extern char ffidasc[MAXCH];
extern char ffidasc1[MAXCH];
extern char ffidasc2[MAXCH];
extern char ffidasc3[MAXCH];
extern char ffidasc4[MAXCH];
extern char ffidasc5[MAXCH];
#endif