Mapper
misc.h
Go to the documentation of this file.
1 
2 struct rainfall{
3 
4  float rn;
5  int rel;
6  int obs;
7  int tskips;
8  int tdif;
9  int cycle;
10  int maxtdif;
11  int firstdif;
12  float maxgap;
13  int ier;
14  };
15 
16 struct number_rec {
17 
18  unsigned long index;
19  unsigned long sid;
20 
21  };
22 
23 struct sensor_rec {
24 
25  char pc[8];
26  unsigned long index;
27 
28  };
29 
30 struct custom {
31 
32  char hb5[10];
33  char pc[10];
34  int xadd;
35  int yadd;
36  };
37 
38 struct max_min {
39 
40  float max;
41  float min;
42  struct tm tmx;
43  struct tm tmn;
44  float omax;
45  float omin;
46  struct tm otmx;
47  struct tm otmn;
48 
49 
50  };
51 
52 struct rec{
53 
54  char hb5[10];
55  char parm[10];
57 
58  };
59 
60 
61 struct gp {
62 
63  int max_stations;
64  int is_realized;
65  int x_per_page;
66  int y_per_page;
67  int max_pages;
68  char title[25][100];
69  char name[100];
70  struct rec rec[100];
71 
72  };
73 
74 
75 struct stim {
76 
77  int year;
78  int month;
79  int day;
80  int hour;
81  int minute;
82 
83  };
84 
85 
86 struct stn_values {
87 
88  time_t clock;
89  int zdate;
90  int ztime;
91  float value;
92  char qual;
93 
94  };
95 
96 
97 struct stn_rec {
98 
99 char id[6];
100 char plat[9];
101 char aid[9];
102 char aid2[9];
103 char type[2];
104 char des[51];
105 char det[41];
106 char init[9];
107 char lat[7];
108 char lng[8];
109 int elev;
110 char stat[3];
111 char huc1[9];
112 char cou[4];
113 char zon[5];
114 char ownag[7];
115 char ownloc[4];
116 char maintag[7];
117 char maintloc[4];
118 int post;
119 
120 };
121 struct sens_rec {
122 
123  char id[6];
124  char pe1[2];
125  char pe2[2];
126  char dur[2];
127  char t[2];
128  char s[2];
129  char e[2];
130  char p[2];
131  int post;
132  char init[9];
133  char ok[2];
134 
135  };
136 
137 struct save_rec {
138 
139  struct sensor_file sfile;
140  char parm[10];
142  struct stn_values stn_values[10000];
143  struct stim btim;
144  struct stim etim;
146  int inum;
147  int volume;
148  int filter;
149  int rain;
150  int hnum;
151  int snum;
152  int dnum;
153  int scale;
154  int linear;
155  int is_realized;
156  Widget mbutton[10];
157  };
158 
159 struct hrap_data {
160 
161  int x;
162  int y;
163  int zone[4];
164 
165  };
166 
167 struct map {
168 
169  char hb5[10];
170  int basin_points;
171  int zones[4];
172  XPoint *basin;
173  int hrap_points;
174  struct hrap_data *hrap_data;
175  int maps_done[51];
176  float gz[51];
177  float uz[51];
178  float mz[51];
179  float lz[51];
180 
181  };
182 
183 
184 struct rain {
185 
186  float data;
187  short int qual;
188 
189  };
190 
191 struct stn {
192 
193  struct rain rain[5];
194  struct rain frain[5];
195 
196  };
197 
198 struct pdata {
199 
200  time_t data_time;
201  int used[5];
202  struct stn stn[1500];
203 
204  };
205 
206 struct station{
207 
208  float isoh;
209  char hb5[10];
210  char name[50];
211  char parm[10];
212  float lat;
213  float lon;
214  int x;
215  int y;
216  int xadd;
217  int yadd;
218 
219  };
220 
221 
222 struct Cur {
223 
224  int x;
225  int y;
226 
227  };
228 
229 struct save {
230 
231  short int inuse;
232  short int x[3];
233  short int y[3];
234 
235  };
236 
237 struct abogus {
238 
239  short int x;
240  short int y;
241  struct abogus *next;
242 
243  };
244 
245 struct bogus {
246 
247  short int max;
248  short int inuse[500];
249  short int x[500];
250  short int y[500];
251  float value[500];
252  float isoh[500];
253 
254  };
255 
256 struct area {
257 
258  short int x;
259  short int y;
260  struct area *area;
261 
262  };
263 
264 struct stream {
265 
266  float stage;
267  long stdif;
268 
269  };
270 
271 struct graph {
272 
273  int charsize; /*0=regular 1=small */
274  int color; /*user specified 0-15*/
275  int notitle; /*0=print title 1=dont*/
276  int nobox; /*0=print box 1=dont*/
277  int numbers; /*0=numbers on right 1=left*/
278  int gap; /*maximum data gap*/
279  int contour; /*0=autoscale */
280  int tgap; /* time gap allowable in hours */
281  int bar; /*bar graph plot*/
282  int flow; /*linear flow*/
283  float max;
284  float min;
285  int lines; /*0=interval lines on 1=interval lines off*/
286  int num;
287  int linterval;
288  int maxmin;
289 
290  };
291 
292 struct flood {
293 
294  float max;
295  float min;
296  float ws;
297  float fs;
298  float hist;
299  float shift;
300  char hdate[15];
301  float rtable[500][2];
302  int rmax;
303  int type;
304 
305  };
306 
307 
308 struct wx {
309 
310  int temp[24];
311  int dew[24];
312  int wind[24];
313  int peak[24];
314  int rn[24];
315  int st[24];
316  int flow[24];
317  int pcnt[24];
318 
319  };
320 
321 
322 
323 struct fparms {
324 
325  int st;
326  int dt;
327  char qual[10];
328  int jtver;
329  int itver;
330  float okdif[10];
331  struct fparms *gparms;
332 
333  };
334 struct mappoints {
335 
336  int x;
337  int y;
338 
339  };
340 
341 struct datalayer {
342 
343  char hb5[10];
344  char pc[10];
345  char snum[10];
346  char name[40];
347  float lvl1;
348  float lvl2;
349  float lvl3;
350  float lvl4;
351  float elev;
352  int type;
353  float lat;
354  float lon;
355  int num;
356  double *data;
357  struct datalayer *next;
358 
359  } ;
360 
361 struct saved {
362 
363  char hb5[10];
364  char pc[10];
365  char snum[10];
366  char name[40];
367  int elev;
368  int rfs;
369  int r;
370  int s;
371  int xadd;
372  int yadd;
373  int parm;
374  int fparm;
375  int pparm;
376  float lat;
377  float lon;
378  double data;
379  struct saved *next;
380 
381  };
382 
383  struct maplayer {
384 
385  short int color;
386  short int zoom;
387  short int number;
388  short int xmax;
389  short int ymax;
390  short int xmin;
391  short int ymin;
392  int type;
393  char *name;
394  struct mappoints *points;
395  struct maplayer *nextseg;
396 
397  };
398 
399  struct MenuItem {
400 
401 char *label;
402 char mnemonic;
403 XmString accel_text;
404 char *accel;
405 int def;
406 void (*callback)();
407 XtPointer callback_data;
408 
409 };
410 
411 
412 
413  struct dval {
414 
415  double a;
416  double xo;
417  double yo;
418  double lo;
419 
420  };
421 
422 
423  struct HRAP {
424 
425  float x;
426  float y;
427 
428  };
429 
430  struct nexrad {
431 
432  unsigned char value[131][131];
433  char date[100];
434  int flag;
435 
436  };
437 
438  struct coord {
439 
440  short int x;
441  short int y;
442 
443  };
444 
445  struct nexcoord{
446 
447  char name[10];
448  struct coord boxes[131][131];
449 
450  };
451 
452  struct top {
453 
454  short int **value;
455  int maxi;
456  int maxj;
457  float max_lat;
458  float max_lon;
459  float total_lat;
460  float total_lon;
461  float delta_lat;
462  float delta_lon;
463 
464  };
465 
466  struct topo {
467 
468  struct coord **coord;
469  short int **value;
470  int maxi;
471  int maxj;
472  float max_lat;
473  float max_lon;
474  float total_lat;
475  float total_lon;
476  float delta_lat;
477  float delta_lon;
478 
479  };
480 
481  struct isoh {
482 
483  struct coord **coord;
484  short int **value;
485  int maxi;
486  int maxj;
487  float max_lat;
488  float max_lon;
489  float total_lat;
490  float total_lon;
491  float delta_lat;
492  float delta_lon;
493 
494  };
495 
496 
497  struct h_grid {
498 
499  short int maxi;
500  short int maxj;
501  struct coord **box;
502  struct HRAP **latlon;
503  short int **elev;
504 
505  };
506 
507  struct gdata {
508 
509  float pcpn[500][500];
510 
511  };
512 
513  struct hdata {
514 
515  short int x;
516  short int y;
517  short int flag;
518 
519  };
520 
521  struct hrap_grid {
522 
523  short int maxi;
524  short int maxj;
525  short int hrap_minx;
526  short int hrap_miny;
527  struct coord **coord;
528  short int **isoh;
529 
530  };
531 
532  struct gage {
533 
534  short int index[20];
535 
536  };
537 
538  struct grid {
539 
540  float **value;
541 
542  };
543 
544  struct pcp {
545 
546  int pcp_layers;
547  short int **value;
548 
549  };
550 
551  struct display_set {
552 
553  long xoff[4];
554  long yoff[4];
555  long xmin[4];
556  long ymin[4];
557  long xmax[4];
558  long ymax[4];
559  long xcen[4];
560  long ycen[4];
561  float dmult[4];
562 
563  };
564 
565 char *pars_argv(char **, char *);
566 char *pars_line(char *, char *, char *);
567 char *strno(char *, char);
568 int strdec(char *,int);
569 int draw_back(Pixmap,int,int );
570 int strfind(char *, char *);
571 struct HRAP HrapToLatLong(struct HRAP);
572 struct HRAP LatLongToHrap(float,float);
573 void get_NEXRAD_pixels(int,int,float,float,int);
574 void plot_NEXRAD(Pixmap,int,int);
575 void redraw_topo_legend(Drawable);
576 void redraw_edit_legend(Drawable,int,int,int);
577 
578 void clear_pix_map(Pixmap);
579 void get_area_menu(FILE *);
580 void read_maps(char *,int,int);
581 Widget AttachToCascade(Widget,char *,Widget);
582 void get_topo_coord(char *);
583 void get_topo_pixels(int,int,float,float);
584 void calculate_NEXRAD(int,int);
585 float get_isohyet(int, int);
586 float get_lisohyet(float, float);
587 void berror(Widget ,char *);
588 void plot_rain(Drawable,int,int,int);
589 void change_display_mode(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
590 void map_select(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
591 void change_scale(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
592 void area_select(Widget,XtPointer);
593 
594 void change_method(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
595 
596 
597 void point_define(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
598 void area_define(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
599 void kill_widget(Widget,XtPointer,XtPointer);
600 void check_date(Widget,XtPointer,XtPointer);
601 void move_field(Widget,XtPointer,XtPointer);
602 void input_time(Widget,XtPointer,XtPointer);
603 
604 void input_time_step(Widget,XtPointer,XtPointer);
605 
606 void get_isohyet_coord(char *,int,int);
607 void redraw_map(int,int,unsigned int);
608 void draw_map(Drawable,int,int);
609 void get_NEXRAD_coord(void);
610 void read_NEXRAD(char *,struct nexrad *);
611 
612 
613 Widget BuildPulldownToggleMenu(Widget,char *,char,struct MenuItem *);
614 Widget BuildPulldownPushMenu(Widget,char *,char,struct MenuItem *);
615 
616 void plot_qpf_points(Pixmap,int,int,int);
617 void plot_qpf_area(Pixmap pixm,int, int,int);
618 
619 void move_area(int,int,int);
620 void plot_isoh(Pixmap,int, int);
621 void contour_isoh(Pixmap,int, int);
622 int macmartintest( double[500][2], int, double *);
623 void change_legend(int,int);
624 void plot_topo(Pixmap,int, int);
625 void contour_topo(Pixmap,int, int);
626 void plot_pcpn(Pixmap pixm,int, int, char *,int);
627 
628 void contour_data(Pixmap pixm,int, int);
629 
630 void change_topo_legend(int,int);
631 void topo_select(void);
632 void change_topo(void);
633 void change_isohyet(void);
634 void change_NEXRAD(void);
635 void change_qpf(void);
636 void send_expose(void);
637 void redraw_isohyet_legend(Drawable);
638 void change_isohyet_legend(int,int);
639 void isohyet_select(void);
640 void Flush_Xbuffer(void);
641 void raster_select(void);
642 void foreground_select(void);
643 void write_screen(void);
644 void clear_drawable(Drawable);
645 void bogus_points(int,int,unsigned int,int);
646 void bogus_area(int,int,unsigned int,int);
647 
648 
649 void get_hrap_coord(double,double,double);
650 
651 void change_edit_legend(Widget, XtPointer, XtPointer);
652 void render_qpf(int);
653 void change_qpf_edit_legend(Widget,XtPointer,XtPointer);
654 void redraw_legend(Drawable);
655 
656 
657 void get_lat_lon(int,int,float *,float *);
658 
659 
660 void get_isoh_pixels(int,int,float,float);
661 
662 void Create_Colors(Display *);
663 
664 void Create_Drawing_Colors(Display *);
665 
666 void get_coord(double,double,double);
667 void get_topo(char *);
668 void read_qpf(time_t,int,int);
669 void create_area_menu(void);
670 void create_drt_menu(void);
671 void edit_stations(int,int,unsigned int);
672 void plot_stations(Pixmap,int,int, int);
673 void get_station_list(char *);
674 void change_legend_display(int,int);
675 void redraw_legend_display(Drawable);
676 void get_NEXRAD_data(time_t,int,char *);
677 void get_precipitation_data(time_t,int);
678 int read_precipitation(char *,int,int,time_t,int);
679 void make_map(int);
680 void area_callback(Widget,XtPointer,XtPointer);
681 void drt_callback(Widget,XtPointer,XtPointer);
683 void make_qpf_widget(void);
684 void change_rain(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
688 void sum_qpf(void);
689 void render_pcp(int,int,int);
690 void make_pmap(void);
691 void plot_map(Pixmap,int,int,int);
692 void read_file(char *,int,struct pcp *);
693 void write_file(char *,int,struct pcp *);
694 void get_basin_data(char *,char*);
695 void make_fmap_file(void);
696 
697 void make_sensor_list(struct stn_rec,struct sens_rec *,int);
698 struct stim get_new_date(struct stim );
699 void get_units(char *,char *);
700 void get_acronym(char *,char *);
702 void draw_area(int,int,int,int,int,int);
703 struct max_min get_max_min(struct stn_values *,int);
704 float get_delta_valu(int);
705 int get_delta_time(time_t,time_t);
707 /* int hb5_search(char *,struct database *,struct hb5_rec *); */
708 /* int number_search(char *,struct database *,struct number_rec *); */
709 /* int name_search(char *,struct database *,struct name_rec *); */
710 /* int station_search(unsigned long,struct sensor_file *); */
711 /* int sensor_search(char *,struct database *,struct sensor_rec *); */
712 /* int values_search(unsigned long,struct database *,int,
713  struct stim,struct stim,char *,struct stn_values *); */
714 void print_draw(void);
715 double get_best_stage(struct stn_values *,int);
716 void plot_data(Drawable,int,int,int,int);
717 void render_data(int,int);
718 void draw_wind(Drawable,int,int,double);
719 void grid_data(int);
720 void get_legend(int,int,float *);
721 void raster_data(Drawable,int,int);
722 void get_offset(char *, char *, int *, int *);
723 float get_rain(struct stn_values *, char *,int,time_t,time_t,struct rainfall *);
724 int domsat_rain(struct stn_values *,int, time_t ,time_t,struct rainfall *);
725 int alert_rain(struct stn_values *,int, time_t ,time_t,struct rainfall *);
726 int snotel_rain(struct stn_values *,int, time_t ,time_t,struct rainfall *);
727 int hourly_rain(struct stn_values *,int, time_t ,time_t,struct rainfall *);
728 float weigh(struct stn_values *,int,int,double,double,int,int *,double *);
729 /*int get_sensor_info( char *, char *, struct sensor_info *);*/
void area_select(Widget, XtPointer)
Definition: mapper.c:1267
float get_isohyet(int, int, int)
Definition: get_isohyet.c:3
float get_lisohyet(float, float, int)
Definition: get_lisohyet.c:3
void change_isohyet(void)
void edit_stations(int, int, unsigned int)
Definition: edit_stations.c:11
void get_lat_lon(int, int, float *, float *)
Definition: get_lat_lon.c:3
void make_map(int)
Definition: make_map.c:3
void Flush_Xbuffer(void)
void change_display_mode(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
void isohyet_select(void)
void render_qpf(int, char *)
void make_pmap(void)
double get_best_stage(struct stn_values *, int)
void topo_select(void)
Definition: mapper.c:4005
void check_date(Widget, XtPointer, XtPointer)
void draw_map(Drawable, int, int)
Definition: draw_map.c:5
void get_units(char *, char *)
void quality_control_stations(int)
struct stim get_new_date(struct stim)
void write_screen(void)
Definition: mapper.c:1082
void make_qpf_widget(void)
void clear_pix_map(Pixmap)
void plot_topo(Pixmap, int, int)
Definition: plot_topo.c:5
void raster_select(void)
void get_station_list(char *, int, int)
void change_edit_stations(void)
void estimate_daily_stations(int)
void render_pcp(int, int, int)
Definition: render_pcp.c:12
void redraw_isohyet_legend(Drawable)
void plot_rain(Drawable, int, int, int)
void write_file(char *, int, struct pcp *)
Definition: write_file.c:5
void get_acronym(char *, char *)
void clear_drawable(Drawable)
Definition: mapper.c:1067
void change_edit_legend(Widget, XtPointer, XtPointer)
void change_qpf_edit_legend(Widget, XtPointer, XtPointer)
void foreground_select(void)
Definition: mapper.c:3972
void get_NEXRAD_coord(void)
void contour_isoh(Pixmap, int, int)
Definition: contour_isoh.c:4
void change_rain(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
Definition: mapper.c:1689
void send_expose(void)
Definition: mapper.c:4026
void read_NEXRAD(char *, struct nexrad *)
Definition: read_NEXRAD.c:3
void Create_Colors(Display *)
Definition: mapper.c:787
struct max_min get_max_min(struct stn_values *, int)
void get_NEXRAD_pixels(int, int, float, float, int)
void change_NEXRAD(void)
void get_isoh_pixels(int, int, float, float)
void get_basin_data(char *, char *, char *)
void contour_topo(Pixmap, int, int)
Definition: contour_topo.c:4
float get_delta_valu(int)
void plot_qpf_area(Pixmap pixm, int, int, int)
Widget AttachToCascade(Widget, char *, Widget)
Definition: mapper.c:771
char * pars_line(char *, char *, char *)
Definition: pars_line.c:3
int draw_back(Pixmap, int, int)
void change_legend_display(int, int)
void change_scale(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
void plot_stations(Pixmap, int, int, int)
void change_topo(void)
char * pars_argv(char **, char *)
void get_isohyet_coord(char *, int, int)
struct HRAP LatLongToHrap(float, float)
Definition: hrap.c:105
void read_maps(char *, int, int)
Definition: new_read_maps.c:4
void input_time(Widget, XtPointer, XtPointer)
void get_topo_pixels(int, int, float, float)
struct HRAP HrapToLatLong(struct HRAP)
Definition: hrap.c:40
void get_area_menu(FILE *)
Definition: get_area_menu.c:7
void create_area_menu(void)
Definition: mapper.c:602
void read_file(char *, int, struct pcp *)
Definition: read_file.c:5
void get_topo_coord(char *)
Definition: get_topo_coord.c:3
void make_fmap_file(void)
Definition: make_fmap_file.c:4
void berror(Widget, char *)
Definition: display_rec.c:392
void plot_map(Pixmap, int, int, int)
Definition: plot_map.c:5
char * strno(char *, char)
Definition: strno.c:4
void estimate_missing_stations(int)
void plot_qpf_points(Pixmap, int, int, int)
void redraw_legend_display(Drawable)
int macmartintest(double[500][2], int, double *)
void display_group_widgets(int)
void get_NEXRAD_data(time_t, int, char *)
void get_topo(char *)
Definition: get_topo.c:3
void redraw_map(int, int, unsigned int)
Definition: redraw_map.c:4
void move_field(Widget, XtPointer, XtPointer)
void move_area(int, int, int)
Definition: move_area.c:5
void redraw_topo_legend(Drawable)
void draw_area(int, int, int, int, int, int)
Definition: display_data.c:535
void calculate_NEXRAD(int, int)
int read_qpf(time_t, int, int)
int strdec(char *, int)
void area_callback(Widget, XtPointer, XtPointer)
Definition: mapper.c:665
void change_topo_legend(int, int)
void change_isohyet_legend(int, int)
void Create_Drawing_Colors(Display *)
void map_select(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
Definition: mapper.c:4020
void point_define(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
Widget BuildPulldownPushMenu(Widget, char *, char, struct MenuItem *)
Definition: mapper.c:747
void get_coord(double, double, double, double)
void make_sensor_list(struct stn_rec, struct sens_rec *, int)
void plot_pcpn(Pixmap pixm, int, int, char *, int)
Definition: plot_pcpn.c:4
void plot_NEXRAD(Pixmap, struct nexrad *, int, int)
void bogus_points(int, int, unsigned int, int)
int get_delta_time(time_t, time_t)
int strfind(char *, char *)
void change_qpf(void)
void get_precipitation_data(time_t, int)
void bogus_area(int, int, unsigned int, int)
void print_draw(int)
void get_hrap_coord(double, double, double, int, int)
void plot_isoh(Pixmap, int, int)
Definition: plot_isoh.c:5
void change_method(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
void area_define(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
void input_time_step(Widget, XtPointer, XtPointer)
Definition: mapper.c:4383
void redraw_edit_legend(Drawable, int, int, int)
Widget BuildPulldownToggleMenu(Widget, char *, char, struct MenuItem *)
Definition: mapper.c:693
void sum_qpf(void)
void kill_widget(Widget, XtPointer, XtPointer)
Definition: mapper.c:4806
void display_group_graphs(int)
int domsat_rain(struct stn_values *, int, time_t, time_t, struct rainfall *)
Definition: domsat_rain.c:26
int snotel_rain(struct stn_values *, int, time_t, time_t, struct rainfall *)
Definition: snotel_rain.c:26
float weigh(struct stn_values *, int, int, double, double, int, int *, double *)
Definition: weigh.c:5
void plot_data(Drawable, int, int, int, int)
Definition: plot_data.c:2
void contour_data(Pixmap pixm, int, int)
Definition: contour_data.c:4
void change_legend(int, int)
Definition: change_legend.c:4
void create_drt_menu(void)
Definition: mapper.c:5036
int alert_rain(struct stn_values *, int, time_t, time_t, struct rainfall *)
Definition: alert_rain.c:16
void grid_data(int)
Definition: grid_data.c:3
int hourly_rain(struct stn_values *, int, time_t, time_t, struct rainfall *)
Definition: hourly_rain.c:15
void draw_wind(Drawable, int, int, double)
void raster_data(Drawable, int, int)
void redraw_legend(Drawable)
Definition: redraw_legend.c:3
void render_data(int, int)
Definition: render_data.c:3
void get_legend(int, int, float *)
Definition: get_legend.c:3
float get_rain(struct stn_values *, char *, int, time_t, time_t, struct rainfall *)
Definition: get_rain.c:3
int read_precipitation(char *, int, int, time_t, int)
void get_offset(char *, char *, int *, int *)
Definition: render_data.c:226
void drt_callback(Widget, XtPointer, XtPointer)
Definition: mapper.c:5106
Definition: misc.h:315
int x
Definition: misc.h:317
int y
Definition: misc.h:318
Definition: mapp2h.h:25
float y
Definition: mapp2h.h:26
float x
Definition: mapp2h.h:26
Definition: misc.h:459
char * label
Definition: misc.h:461
void(* callback)()
Definition: misc.h:463
XtPointer callback_data
Definition: misc.h:464
int def
Definition: misc_new.h:638
char mnemonic
Definition: misc.h:462
XmString accel_text
Definition: misc_new.h:636
char * accel
Definition: misc_new.h:637
Definition: misc.h:330
short int x
Definition: misc.h:332
short int y
Definition: misc.h:333
struct abogus * next
Definition: misc.h:334
Definition: misc.h:358
struct area * area
Definition: misc.h:362
short int x
Definition: misc.h:360
short int y
Definition: misc.h:361
Definition: misc.h:338
float value[500]
Definition: misc.h:344
short int y[500]
Definition: misc.h:343
short int inuse[500]
Definition: misc.h:341
short int max
Definition: misc.h:340
short int x[500]
Definition: misc.h:342
Definition: misc.h:495
short int y
Definition: misc.h:498
short int x
Definition: misc.h:497
Definition: misc.h:30
int xadd
Definition: misc.h:34
char hb5[10]
Definition: misc.h:32
int yadd
Definition: misc.h:35
char pc[10]
Definition: misc.h:33
float lvl3
Definition: misc.h:349
float lat
Definition: misc.h:353
char snum[10]
Definition: misc.h:345
float lvl2
Definition: misc.h:348
char name[40]
Definition: misc.h:346
double * data
Definition: misc.h:356
struct datalayer * next
Definition: misc.h:357
float lon
Definition: misc.h:354
int num
Definition: misc.h:355
int type
Definition: misc.h:352
float lvl1
Definition: misc.h:347
float lvl4
Definition: misc.h:350
char hb5[10]
Definition: misc.h:343
float elev
Definition: misc.h:351
char pc[10]
Definition: misc.h:344
float dmult[4]
Definition: misc.h:613
long xmin[4]
Definition: misc.h:607
long xmax[4]
Definition: misc.h:609
long ymax[4]
Definition: misc.h:610
long xoff[4]
Definition: misc.h:605
long ymin[4]
Definition: misc.h:608
long yoff[4]
Definition: misc.h:606
long ycen[4]
Definition: misc.h:612
long xcen[4]
Definition: misc.h:611
Definition: misc.h:470
double lo
Definition: misc.h:475
double a
Definition: misc.h:472
double yo
Definition: misc.h:474
double xo
Definition: misc.h:473
Definition: misc.h:394
float min
Definition: misc.h:397
float shift
Definition: misc.h:401
int rmax
Definition: misc.h:404
char hdate[15]
Definition: misc.h:402
float rtable[500][2]
Definition: misc.h:403
float max
Definition: misc.h:396
float ws
Definition: misc.h:398
float hist
Definition: misc.h:400
int type
Definition: misc.h:405
float fs
Definition: misc.h:399
Definition: misc.h:425
struct fparms * gparms
Definition: misc.h:433
int st
Definition: misc.h:427
char qual[10]
Definition: misc.h:429
int dt
Definition: misc.h:428
int jtver
Definition: misc.h:430
int itver
Definition: misc.h:431
float okdif[10]
Definition: misc.h:432
Definition: misc.h:590
short int index[20]
Definition: misc.h:592
Definition: misc.h:564
float pcpn[500][500]
Definition: misc.h:566
Definition: misc.h:79
int y_per_page
Definition: misc.h:84
char title[500][100]
Definition: misc.h:86
int is_realized
Definition: misc.h:82
int max_pages
Definition: misc.h:85
int max_stations
Definition: misc.h:81
int x_per_page
Definition: misc.h:83
char name[100]
Definition: misc.h:87
Definition: misc.h:373
int linterval
Definition: misc.h:389
int nobox
Definition: misc.h:378
int color
Definition: misc.h:376
int maxmin
Definition: misc.h:390
int bar
Definition: misc.h:383
int charsize
Definition: misc.h:375
int tgap
Definition: misc.h:382
int flow
Definition: misc.h:384
int gap
Definition: misc.h:380
int num
Definition: misc.h:388
float min
Definition: misc.h:386
int numbers
Definition: misc.h:379
int lines
Definition: misc.h:387
float max
Definition: misc.h:385
int notitle
Definition: misc.h:377
int contour
Definition: misc.h:381
Definition: misc.h:538
float ** value
Definition: misc.h:540
Definition: misc.h:554
short int maxj
Definition: misc.h:557
struct HRAP ** latlon
Definition: misc.h:559
struct coord ** box
Definition: misc.h:558
short int ** elev
Definition: misc.h:560
short int maxi
Definition: misc.h:556
Definition: misc.h:570
short int flag
Definition: misc.h:574
short int y
Definition: misc.h:573
short int x
Definition: misc.h:572
int zone[4]
Definition: misc.h:232
int x
Definition: misc.h:230
int y
Definition: misc.h:231
short int hrap_miny
Definition: misc.h:583
short int hrap_minx
Definition: misc.h:582
short int maxi
Definition: misc.h:580
short int maxj
Definition: misc.h:581
struct coord ** coord
Definition: misc.h:584
short int ** isoh
Definition: misc.h:528
Definition: misc.h:538
float delta_lon
Definition: misc.h:549
float max_lon
Definition: misc.h:545
struct coord ** coord
Definition: misc.h:540
float max_lat
Definition: misc.h:544
short int ** value
Definition: misc.h:484
int maxi
Definition: misc.h:542
float total_lon
Definition: misc.h:547
float total_lat
Definition: misc.h:546
float delta_lat
Definition: misc.h:548
int maxj
Definition: misc.h:543
Definition: misc.h:236
char hb5[10]
Definition: misc.h:238
float lz[200]
Definition: misc.h:250
float uz[200]
Definition: misc.h:248
struct hrap_data * hrap_data
Definition: misc.h:245
int basin_points
Definition: misc.h:240
int hrap_points
Definition: misc.h:244
int zones[4]
Definition: misc.h:241
float gz[200]
Definition: misc.h:247
float mz[200]
Definition: misc.h:249
int maps_done[200]
Definition: misc.h:246
XPoint * basin
Definition: misc.h:243
Definition: misc.h:443
short int xmax
Definition: misc.h:448
short int ymin
Definition: misc.h:451
short int number
Definition: misc.h:447
int type
Definition: misc.h:452
char * name
Definition: misc.h:453
struct maplayer * nextseg
Definition: misc.h:455
short int color
Definition: misc.h:445
short int zoom
Definition: misc.h:446
short int ymax
Definition: misc.h:449
struct mappoints * points
Definition: misc.h:454
short int xmin
Definition: misc.h:450
int x
Definition: misc.h:438
int y
Definition: misc.h:439
Definition: misc.h:61
struct tm otmn
Definition: misc.h:47
float omin
Definition: misc.h:45
struct tm tmx
Definition: misc.h:65
float min
Definition: misc.h:64
float omax
Definition: misc.h:44
struct tm otmx
Definition: misc.h:46
float max
Definition: misc.h:63
struct tm tmn
Definition: misc.h:66
Definition: misc.h:502
char name[10]
Definition: misc.h:504
struct coord boxes[131][131]
Definition: misc.h:505
Definition: misc.h:487
unsigned char value[131][131]
Definition: misc.h:489
char date[100]
Definition: misc.h:490
int flag
Definition: misc.h:491
unsigned long sid
Definition: misc.h:19
unsigned long index
Definition: misc.h:18
Definition: misc.h:596
short int ** value
Definition: misc.h:599
int pcp_layers
Definition: misc.h:598
Definition: misc.h:280
time_t data_time
Definition: misc.h:282
int used[5]
Definition: misc.h:283
Definition: misc.h:255
float data
Definition: misc.h:257
short int qual
Definition: misc.h:258
int maxtdif
Definition: hydro_data.h:24
float rn
Definition: hydro_data.h:18
float maxgap
Definition: hydro_data.h:26
int firstdif
Definition: hydro_data.h:25
int obs
Definition: hydro_data.h:20
int tskips
Definition: hydro_data.h:21
int tdif
Definition: hydro_data.h:22
int cycle
Definition: hydro_data.h:23
int ier
Definition: hydro_data.h:27
int rel
Definition: hydro_data.h:19
Definition: misc.h:70
int xsize
Definition: misc.h:74
int ypos
Definition: misc.h:74
int xpos
Definition: misc.h:74
char parm[10]
Definition: misc.h:73
int ysize
Definition: misc.h:74
char hb5[10]
Definition: misc.h:72
int end_page
Definition: misc.h:74
Definition: misc.h:213
struct stim btim
Definition: misc.h:219
int snum
Definition: misc.h:151
int sensortype
Definition: misc.h:145
int rain
Definition: misc.h:149
int dnum
Definition: misc.h:152
RatingTable rate_table
Definition: misc.h:217
Widget mbutton[10]
Definition: misc.h:156
struct stim etim
Definition: misc.h:220
int scale
Definition: misc.h:153
int hnum
Definition: misc.h:150
int linear
Definition: misc.h:154
char parm[10]
Definition: misc.h:216
int filter
Definition: misc.h:148
int volume
Definition: misc.h:222
int is_realized
Definition: misc.h:223
int inum
Definition: misc.h:221
struct sensor_file sfile
Definition: misc.h:139
Definition: misc.h:322
short int y[3]
Definition: misc.h:326
short int x[3]
Definition: misc.h:325
short int inuse
Definition: misc.h:324
Definition: misc.h:361
int parm
Definition: misc.h:373
int yadd
Definition: misc.h:372
int pparm
Definition: misc.h:375
char hb5[10]
Definition: misc.h:363
int elev
Definition: misc.h:367
char snum[10]
Definition: misc.h:365
int xadd
Definition: misc.h:371
char pc[10]
Definition: misc.h:364
double data
Definition: misc.h:378
float lat
Definition: misc.h:376
int r
Definition: misc.h:369
int s
Definition: misc.h:370
int fparm
Definition: misc.h:374
int rfs
Definition: misc.h:368
struct saved * next
Definition: misc.h:379
char name[40]
Definition: misc.h:366
float lon
Definition: misc.h:377
Definition: misc.h:155
char pe2[2]
Definition: misc.h:159
char ok[2]
Definition: misc_new.h:241
char p[2]
Definition: misc.h:164
char s[2]
Definition: misc.h:162
char init[9]
Definition: misc.h:183
char t[2]
Definition: misc.h:161
char e[2]
Definition: misc.h:163
char pe1[2]
Definition: misc.h:158
char dur[2]
Definition: misc.h:160
int post
Definition: misc.h:168
char pc[8]
Definition: misc.h:25
unsigned long index
Definition: misc.h:26
Definition: misc.h:296
float lat
Definition: misc.h:303
int x
Definition: misc.h:307
char hb5[10]
Definition: misc.h:299
float isoh[24]
Definition: misc.h:298
float lon
Definition: misc.h:304
char name[50]
Definition: misc.h:300
int y
Definition: misc.h:308
int yadd
Definition: misc.h:310
char parm[10]
Definition: misc.h:301
int xadd
Definition: misc.h:309
Definition: misc.h:93
int minute
Definition: misc.h:99
int day
Definition: misc.h:97
int year
Definition: misc.h:95
int hour
Definition: misc.h:98
int month
Definition: misc.h:96
Definition: misc.h:135
char plat[9]
Definition: misc.h:138
char init[9]
Definition: misc.h:141
char lng[8]
Definition: misc.h:143
char stat[3]
Definition: misc.h:145
char maintloc[4]
Definition: misc.h:117
char cou[4]
Definition: misc.h:147
char aid[9]
Definition: misc.h:101
char type[2]
Definition: misc.h:103
char zon[5]
Definition: misc.h:148
char ownloc[4]
Definition: misc.h:115
char lat[7]
Definition: misc.h:142
int elev
Definition: misc.h:144
char maintag[7]
Definition: misc.h:116
int post
Definition: misc.h:151
char aid2[9]
Definition: misc.h:102
char huc1[9]
Definition: misc.h:111
char det[41]
Definition: misc.h:140
char ownag[7]
Definition: misc.h:114
char des[51]
Definition: misc.h:139
char qual
Definition: hydro_data.h:36
time_t clock
Definition: hydro_data.h:32
float value
Definition: hydro_data.h:35
Definition: misc.h:264
struct rain frain[5]
Definition: misc.h:267
Definition: misc.h:366
long stdif
Definition: misc.h:369
float stage
Definition: misc.h:368
Definition: misc.h:509
float max_lon
Definition: misc.h:515
float total_lon
Definition: misc.h:517
float delta_lon
Definition: misc.h:519
int maxi
Definition: misc.h:512
float max_lat
Definition: misc.h:514
int maxj
Definition: misc.h:513
float delta_lat
Definition: misc.h:518
short int ** value
Definition: misc.h:511
float total_lat
Definition: misc.h:516
Definition: misc.h:523
struct coord ** coord
Definition: misc.h:525
float delta_lat
Definition: misc.h:533
float max_lat
Definition: misc.h:529
int maxi
Definition: misc.h:527
float total_lat
Definition: misc.h:531
float delta_lon
Definition: misc.h:534
short int ** value
Definition: misc.h:526
float max_lon
Definition: misc.h:530
float total_lon
Definition: misc.h:532
int maxj
Definition: misc.h:528
Definition: misc.h:410
int rn[24]
Definition: misc.h:416
int dew[24]
Definition: misc.h:413
int pcnt[24]
Definition: misc.h:419
int wind[24]
Definition: misc.h:414
int temp[24]
Definition: misc.h:412
int flow[24]
Definition: misc.h:418
int peak[24]
Definition: misc.h:415
int st[24]
Definition: misc.h:417