Mapper
misc.h
Go to the documentation of this file.
1 
2 struct print {
3 
4  char name[100];
5  char command[100];
6 
7  };
8 
10 
11  char hb5[10];
12 
13  };
14 
15 
16  struct fstn {
17 
18  float rain[5];
19  float frz[5];
20 
21  };
22 
23 struct fdata {
24 
25  struct fstn fstn[1500];
26 
27  };
28 
29 
30 struct fstation {
31 
32  char hb5[10];
33  int index;
34  int qpf;
35  int frz;
36 
37  };
38 
39 
40 struct bad_values {
41 
42  int used;
43  char hb5[10];
44  char parm[10];
45  int month;
46  float fvalue;
47 
48  };
49 
51 
52  int used;
53  char hb5[10];
54  char parm[10];
55  int day;
56  int quart;
57  float fvalue;
58 
59  };
60 
61 struct max_min {
62 
63  float max;
64  float min;
65  struct tm tmx;
66  struct tm tmn;
67 
68  };
69 
70 struct rec{
71 
72  char hb5[10];
73  char parm[10];
75 
76  };
77 
78 
79 struct gp {
80 
85  int max_pages;
86  char title[500][100];
87  char name[100];
88  struct rec rec[500];
89 
90  };
91 
92 
93 struct stim {
94 
95  int year;
96  int month;
97  int day;
98  int hour;
99  int minute;
100 
101  };
102 
103 struct sens_ok {
104 
105  char tid[6];
106  char tpe1[2];
107  char tpe2[2];
108  char tdur[2];
109  char tt[2];
110  char ts[2];
111  char te[2];
112  char tp[2];
113  int cal_yr;
114  int mon;
115  int zday;
116  int ztime;
117  char tok[2];
118  char reason[81];
119  char init[4];
120  char agcode[7];
121  char agloc[4];
122  char comment[41];
123 
124 };
125 
126 struct stn_values {
127 
128  int zdate;
129  int ztime;
130  float value;
131  char qual;
132 
133  };
134 
135 struct stn_rec {
136 
137  char id[6];
138  char plat[9];
139  char des[51];
140  char det[41];
141  char init[9];
142  char lat[7];
143  char lng[8];
144  int elev;
145  char stat[3];
146  char huc[9];
147  char cou[4];
148  char zon[5];
149  char hsa[4];
150  char cwa[4];
151  int post;
152  char dbsource[4];
153 
154 };
155 struct sens_rec {
156 
157  char id[6];
158  char pe1[2];
159  char pe2[2];
160  char dur[2];
161  char t[2];
162  char s[2];
163  char e[2];
164  char p[2];
165  char type[2];
166  char des[51];
167  char det[41];
168  int post;
169  char new_report[2];
170  char active[2];
171  char rfs[2];
172  int obstime;
173  char prod[10];
174  char prod2ary[10];
175  char obsag[7];
176  char obsloc[4];
177  char prov_avail[2];
178  char final_avail[8];
179  char ownag[7];
180  char ownloc[4];
181  char maintag[7];
182  char maintloc[4];
183  char init[9];
184  char dbsource[4];
185 
186  };
187 
188 struct bavg {
189 
190  char id[6];
191  char pe1[2];
192  char pe2[2];
193  char dur[2];
194  char t[2];
195  char s[2];
196  char e[2];
197  char p[2];
198  double jan;
199  double feb;
200  double mar;
201  double apr;
202  double may;
203  double jun;
204  double jul;
205  double aug;
206  double sep;
207  double oct;
208  double nov;
209  double dec;
210 
211 };
212 
213 struct save_rec {
214 
215  struct stn_rec stn_rec;
216  char parm[10];
218  struct stn_values stn_values[10000];
219  struct stim btim;
220  struct stim etim;
221  int inum;
222  int volume;
225 
226  };
227 
228 struct hrap_data {
229 
230  int x;
231  int y;
232  int zone[4];
233 
234  };
235 
236 struct map {
237 
238  char hb5[10];
241  int zones[4];
242  char bchar[5];
243  XPoint *basin;
246  int maps_done[200];
247  float gz[200];
248  float uz[200];
249  float mz[200];
250  float lz[200];
251 
252  };
253 
254 
255 struct rain {
256 
257  float data;
258  short int qual;
259  float estimate;
260  float stddev;
261 
262  };
263 
264 struct stn {
265 
266  struct rain rain[5];
267  struct rain frain[5];
268  int frzlvl[5];
269 
270  };
271 
272 struct rtn {
273 
274  int status;
276  time_t timeout[5];
277 
278  };
279 
280 struct pdata {
281 
282  time_t data_time;
283  int used[5];
284  float stddev;
285  int level;
286  struct stn stn[1500];
287 
288  };
289 
290 struct rdata {
291 
292  struct rtn rtn[1500];
293 
294  };
295 
296 struct station{
297 
298  float isoh[24];
299  char hb5[10];
300  char name[50];
301  char parm[10];
302  short int index[30];
303  float lat;
304  float lon;
305  int elev;
306  int tip;
307  int x;
308  int y;
309  int xadd;
310  int yadd;
311 
312  };
313 
314 
315 struct Cur {
316 
317  int x;
318  int y;
319 
320  };
321 
322 struct save {
323 
324  short int inuse;
325  short int x[3];
326  short int y[3];
327 
328  };
329 
330 struct abogus {
331 
332  short int x;
333  short int y;
334  struct abogus *next;
335 
336  };
337 
338 struct bogus {
339 
340  short int max;
341  short int inuse[500];
342  short int x[500];
343  short int y[500];
344  float value[500];
345  float isoh[500];
346 
347  };
348 struct wfobogus {
349 
350  char wfo[10];
351  int owner;
352  int bogus_flag[10];
353  struct abogus *bbogus;
354  struct bogus bogus[20];
355 
356  };
357 
358 struct area {
359 
360  short int x;
361  short int y;
362  struct area *area;
363 
364  };
365 
366 struct stream {
367 
368  float stage;
369  long stdif;
370 
371  };
372 
373 struct graph {
374 
375  int charsize; /*0=regular 1=small */
376  int color; /*user specified 0-15*/
377  int notitle; /*0=print title 1=dont*/
378  int nobox; /*0=print box 1=dont*/
379  int numbers; /*0=numbers on right 1=left*/
380  int gap; /*maximum data gap*/
381  int contour; /*0=autoscale */
382  int tgap; /* time gap allowable in hours */
383  int bar; /*bar graph plot*/
384  int flow; /*linear flow*/
385  float max;
386  float min;
387  int lines; /*0=interval lines on 1=interval lines off*/
388  int num;
390  int maxmin;
391 
392  };
393 
394 struct flood {
395 
396  float max;
397  float min;
398  float ws;
399  float fs;
400  float hist;
401  float shift;
402  char hdate[15];
403  float rtable[500][2];
404  int rmax;
405  int type;
406 
407  };
408 
409 
410 struct wx {
411 
412  int temp[24];
413  int dew[24];
414  int wind[24];
415  int peak[24];
416  int rn[24];
417  int st[24];
418  int flow[24];
419  int pcnt[24];
420 
421  };
422 
423 
424 
425 struct fparms {
426 
427  int st;
428  int dt;
429  char qual[10];
430  int jtver;
431  int itver;
432  float okdif[10];
433  struct fparms *gparms;
434 
435  };
436 struct mappoints {
437 
438  int x;
439  int y;
440 
441  };
442 
443  struct maplayer {
444 
445  short int color;
446  short int zoom;
447  short int number;
448  short int xmax;
449  short int ymax;
450  short int xmin;
451  short int ymin;
452  int type;
453  char *name;
454  struct mappoints *points;
455  struct maplayer *nextseg;
456 
457  };
458 
459  struct MenuItem {
460 
461 char *label;
462 char mnemonic;
463 void (*callback)();
464 XtPointer callback_data;
465 
466 };
467 
468 
469 
470  struct dval {
471 
472  double a;
473  double xo;
474  double yo;
475  double lo;
476 
477  };
478 
479 
480  struct HRAP {
481 
482  float x;
483  float y;
484 
485  };
486 
487  struct nexrad {
488 
489  unsigned char value[131][131];
490  char date[100];
491  int flag;
492 
493  };
494 
495  struct coord {
496 
497  short int x;
498  short int y;
499 
500  };
501 
502  struct nexcoord{
503 
504  char name[10];
505  struct coord boxes[131][131];
506 
507  };
508 
509  struct top {
510 
511  short int **value;
512  int maxi;
513  int maxj;
514  float max_lat;
515  float max_lon;
516  float total_lat;
517  float total_lon;
518  float delta_lat;
519  float delta_lon;
520 
521  };
522 
523  struct topo {
524 
525  struct coord **coord;
526  short int **value;
527  int maxi;
528  int maxj;
529  float max_lat;
530  float max_lon;
531  float total_lat;
532  float total_lon;
533  float delta_lat;
534  float delta_lon;
535 
536  };
537 
538  struct isoh {
539 
540  struct coord **coord;
541  short int ***value;
542  int maxi;
543  int maxj;
544  float max_lat;
545  float max_lon;
546  float total_lat;
547  float total_lon;
548  float delta_lat;
549  float delta_lon;
550 
551  };
552 
553 
554  struct h_grid {
555 
556  short int maxi;
557  short int maxj;
558  struct coord **box;
559  struct HRAP **latlon;
560  short int **elev;
561 
562  };
563 
564  struct gdata {
565 
566  float pcpn[500][500];
567 
568  };
569 
570  struct hdata {
571 
572  short int x;
573  short int y;
574  short int flag;
575 
576  };
577 
578  struct hrap_grid {
579 
580  short int maxi;
581  short int maxj;
582  short int hrap_minx;
583  short int hrap_miny;
584  struct coord **coord;
585  struct gage **gage;
586  short int ***isoh;
587 
588  };
589 
590  struct gage {
591 
592  short int index[20];
593 
594  };
595 
596  struct pcp {
597 
599  short int **value;
600 
601  };
602 
603  struct display_set {
604 
605  long xoff[4];
606  long yoff[4];
607  long xmin[4];
608  long ymin[4];
609  long xmax[4];
610  long ymax[4];
611  long xcen[4];
612  long ycen[4];
613  float dmult[4];
614 
615  };
616 
617 char *pars_argv(char **, char *);
618 char *pars_line(char *, char *, char *);
619 char *strno(char *, char);
620 int strdec(char *,int);
621 int draw_back(Pixmap,int,int );
622 int strfind(char *, char *);
623 struct HRAP HrapToLatLong(struct HRAP);
624 struct HRAP LatLongToHrap(float,float);
625 void get_NEXRAD_pixels(int,int,float,float,int);
626 void plot_NEXRAD(Pixmap,struct nexrad *,int,int);
627 void redraw_topo_legend(Drawable);
628 void redraw_edit_legend(Drawable,int,int,int);
629 
630 void clear_pix_map(Pixmap);
631 void get_area_menu(FILE *);
632 void read_maps(char *,int,int);
633 Widget AttachToCascade(Widget,char *,Widget);
634 void get_topo_coord(char *);
635 void get_topo_pixels(int,int,float,float);
636 void calculate_NEXRAD(int,int);
637 float get_isohyet(int, int, int);
638 float get_lisohyet(float, float,int);
639 void berror(Widget ,char *);
640 void plot_rain(Drawable,int,int,int);
641 void change_display_mode(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
642 void map_select(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
643 void change_scale(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
644 void area_select(Widget,XtPointer);
645 
646 void change_method(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
647 
648 
649 void point_define(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
650 void area_define(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
651 void kill_widget(Widget,XtPointer,XtPointer);
652 void check_date(Widget,XtPointer,XtPointer);
653 void move_field(Widget,XtPointer,XtPointer);
654 void input_time(Widget,XtPointer,XtPointer);
655 
656 void input_time_step(Widget,XtPointer,XtPointer);
657 
658 void get_isohyet_coord(char *,int,int);
659 void redraw_map(int,int,unsigned int);
660 void draw_map(Drawable,int,int);
661 void get_NEXRAD_coord(void);
662 void read_NEXRAD(char *,struct nexrad *);
663 void plot_NEXRAD(Pixmap,struct nexrad *,int h, int);
664 
665 Widget BuildPulldownToggleMenu(Widget,char *,char,struct MenuItem *);
666 Widget BuildPulldownPushMenu(Widget,char *,char,struct MenuItem *);
667 
668 void plot_qpf_points(Pixmap,int,int,int);
669 void plot_qpf_area(Pixmap pixm,int, int,int);
670 
671 void move_area(int,int,int);
672 void plot_isoh(Pixmap,int, int);
673 void contour_isoh(Pixmap,int, int);
674 int macmartintest( double[500][2], int, double *);
675 void change_pcpn_legend(int,int);
676 void plot_topo(Pixmap,int, int);
677 void contour_topo(Pixmap,int, int);
678 void plot_pcpn(Pixmap pixm,int, int, char *,int);
679 
680 void contour_pcpn(Pixmap pixm,int, int,char *,int);
681 
682 void change_topo_legend(int,int);
683 void topo_select(void);
684 void change_topo(void);
685 void change_isohyet(void);
686 void change_NEXRAD(void);
687 void change_qpf(void);
688 void send_expose(void);
689 void redraw_isohyet_legend(Drawable);
690 void change_isohyet_legend(int,int);
691 void isohyet_select(void);
692 void Flush_Xbuffer(void);
693 void raster_select(void);
694 void foreground_select(void);
695 void write_screen(void);
696 void clear_drawable(Drawable);
697 void bogus_points(int,int,unsigned int,int);
698 void bogus_area(int,int,unsigned int,int);
699 
700 
701 void get_hrap_coord(double,double,double,int,int);
702 
703 void change_edit_legend(Widget, XtPointer, XtPointer);
704 void render_qpf(int,char *);
705 void change_qpf_edit_legend(Widget,XtPointer,XtPointer);
706 void redraw_pcpn_legend(Drawable);
707 
708 
709 void get_lat_lon(int,int,float *,float *);
710 
711 
712 void get_isoh_pixels(int,int,float,float);
713 
714 void Create_Colors(Display *);
715 
716 void Create_Drawing_Colors(Display *);
717 
718 void get_coord(double,double,double,double);
719 void get_topo(char *);
720 int read_qpf(time_t,int,int);
721 void create_area_menu(void);
722 void edit_stations(int,int,unsigned int);
723 void plot_stations(Pixmap,int,int, int);
724 void get_station_list(char *,int,int);
725 void change_legend_display(int,int);
726 void redraw_legend_display(Drawable);
727 void get_NEXRAD_data(time_t,int,char *);
728 void get_precipitation_data(time_t,int);
729 int read_precip_a(char *,time_t,int);
730 int read_precip_b(char *,time_t,int);
731 int read_monthly_precip_a(char *,int);
732 int read_monthly_precip_b(char *,int);
733 
734 void make_map(int);
735 void area_callback(Widget,XtPointer,XtPointer);
737 void make_qpf_widget(void);
738 void change_rain(Widget,XtPointer,XmDrawingAreaCallbackStruct *);
742 void get_frzlvl_data(int);
743 void sum_qpf(void);
744 void render_pcp(int,int,int);
745 void make_pmap(void);
746 void plot_map(Pixmap,int,int,int);
747 void read_file(char *,int,struct pcp *);
748 void write_file(char *,int,struct pcp *);
749 void get_basin_data(char *,char *,char*);
750 void make_fmap_file(void);
751 int hb5_search(int,char *,struct stn_rec *);
752 void make_sensor_list(struct stn_rec,struct sens_rec *,int);
753 struct stim get_new_date(struct stim );
754 void get_units(char *,char *);
755 void get_acronym(char *,char *);
757 void draw_area(int,int,int,int,int,int);
758 struct max_min get_max_min(struct stn_values *,int);
759 float get_delta_valu(int);
760 int get_delta_time(time_t,time_t);
762 int values_search(char *,char *,struct stim,struct stim,struct stn_values *);
763 int fvalues_search(char *,char *,struct stim,struct stim,struct stn_values *);
764 int name_search(int,char *,struct stn_rec *);
765 int get_sensor_list(char *,struct sens_rec *);
766 void print_draw(int);
767 double get_best_stage(struct stn_values *,int);
768 double rh_to_dew(double,double);
769 double dew_to_rh(double,double);
770 double cel_to_far(double);
771 double far_to_cel(double);
772 void to_stage(char *, char,char,struct stn_values *,int);
773 long ouptime(int,int,int,int,int,int);
774 void time_series(int,int,unsigned int,char *);
775 void XmtWaitUntilMapped(Widget);
776 int sum_qpf_grids(int,int,int);
777 int read_map(char *,int);
778 int write_map(char *,int,time_t);
779 int get_bad_recs(char *, char *,struct sens_ok *);
780 char get_quality(struct sens_ok *,int,int,int);
781 void write_archived_data(char *,char *);
782 void read_archived_data(char *,char *,char *,time_t,char *);
783 void write_archived_obs_data(char *,char *,char *,time_t,char *);
784 void render_points_qpf(int,int,int,char *);
void area_select(Widget, XtPointer)
Definition: mapper.c:1267
float get_isohyet(int, int, int)
Definition: get_isohyet.c:3
void time_series(int, int, unsigned int, char *)
Definition: time_series.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 *)
double far_to_cel(double)
void make_pmap(void)
void redraw_pcpn_legend(Drawable)
double get_best_stage(struct stn_values *, int)
void topo_select(void)
Definition: mapper.c:4005
int read_monthly_precip_a(char *, int)
void check_date(Widget, XtPointer, XtPointer)
void draw_map(Drawable, int, int)
Definition: draw_map.c:5
void get_units(char *, char *)
int read_precip_a(char *, time_t, int)
char get_quality(struct sens_ok *, int, int, int)
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)
long ouptime(int, int, int, int, int, int)
Definition: ouptime.c:10
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 to_stage(char *, char, char, struct stn_values *, int)
void send_expose(void)
Definition: mapper.c:4026
void read_NEXRAD(char *, struct nexrad *)
Definition: read_NEXRAD.c:3
int values_search(char *, char *, struct stim, struct stim, struct stn_values *)
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 fvalues_search(char *, char *, struct stim, struct stim, struct stn_values *)
Definition: fvalues.c:118
int draw_back(Pixmap, int, int)
void change_legend_display(int, int)
int write_map(char *, int, time_t)
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
int read_monthly_precip_b(char *, int)
void read_maps(char *, int, int)
Definition: new_read_maps.c:4
void read_archived_data(char *, char *, char *, time_t, char *)
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
int get_sensor_list(char *, struct sens_rec *)
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
int read_map(char *, int)
void make_fmap_file(void)
Definition: make_fmap_file.c:4
void berror(Widget, char *)
Definition: display_rec.c:392
void change_pcpn_legend(int, int)
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 XmtWaitUntilMapped(Widget)
Definition: Wait.c:39
void write_archived_data(char *, char *)
void display_group_widgets(int)
void get_NEXRAD_data(time_t, int, char *)
void render_points_qpf(int, int, 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
int get_bad_recs(char *, char *, struct sens_ok *)
Definition: get_bad_recs.c:119
void calculate_NEXRAD(int, int)
int sum_qpf_grids(int, int, int)
double rh_to_dew(double, double)
int read_qpf(time_t, int, int)
int strdec(char *, int)
void area_callback(Widget, XtPointer, XtPointer)
Definition: mapper.c:665
void get_frzlvl_data(int)
void change_topo_legend(int, int)
void change_isohyet_legend(int, int)
void Create_Drawing_Colors(Display *)
void contour_pcpn(Pixmap pixm, int, int, char *, int)
Definition: contour_pcpn.c:4
void map_select(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
Definition: mapper.c:4020
double dew_to_rh(double, double)
int name_search(int, char *, struct stn_rec *)
Definition: name_search.c:118
void point_define(Widget, XtPointer, XmDrawingAreaCallbackStruct *)
Widget BuildPulldownPushMenu(Widget, char *, char, struct MenuItem *)
Definition: mapper.c:747
void get_coord(double, double, double, double)
double cel_to_far(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 write_archived_obs_data(char *, char *, char *, time_t, char *)
void bogus_area(int, int, unsigned int, int)
void print_draw(int)
int hb5_search(int, char *, struct stn_rec *)
Definition: hb5_search.c:125
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 *)
int read_precip_b(char *, time_t, int)
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)
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
char mnemonic
Definition: misc.h:462
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
char parm[10]
Definition: misc.h:54
char hb5[10]
Definition: misc.h:53
float fvalue
Definition: misc.h:57
float fvalue
Definition: misc.h:46
char parm[10]
Definition: misc.h:44
int used
Definition: misc.h:42
int month
Definition: misc.h:45
char hb5[10]
Definition: misc.h:43
Definition: misc.h:188
double oct
Definition: misc.h:207
double sep
Definition: misc.h:206
double may
Definition: misc.h:202
double aug
Definition: misc.h:205
double apr
Definition: misc.h:201
char t[2]
Definition: misc.h:194
char dur[2]
Definition: misc.h:193
char pe1[2]
Definition: misc.h:191
double jul
Definition: misc.h:204
double mar
Definition: misc.h:200
char e[2]
Definition: misc.h:196
double feb
Definition: misc.h:199
double dec
Definition: misc.h:209
char s[2]
Definition: misc.h:195
char pe2[2]
Definition: misc.h:192
double jun
Definition: misc.h:203
char p[2]
Definition: misc.h:197
double jan
Definition: misc.h:198
double nov
Definition: misc.h:208
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
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:23
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
char hb5[10]
Definition: misc.h:11
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:30
int index
Definition: misc.h:33
int frz
Definition: misc.h:35
char hb5[10]
Definition: misc.h:32
int qpf
Definition: misc.h:34
Definition: misc.h:16
float frz[5]
Definition: misc.h:19
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: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
struct gage ** gage
Definition: misc.h:585
short int *** isoh
Definition: misc.h:586
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
int maxi
Definition: misc.h:542
float total_lon
Definition: misc.h:547
float total_lat
Definition: misc.h:546
short int *** value
Definition: misc.h:541
float delta_lat
Definition: misc.h:548
int maxj
Definition: misc.h:543
Definition: misc.h:236
char bchar[5]
Definition: misc.h:242
char hb5[10]
Definition: misc.h:238
float lz[200]
Definition: misc.h:250
int fmap_flag
Definition: misc.h:239
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 tmx
Definition: misc.h:65
float min
Definition: misc.h:64
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
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
float stddev
Definition: misc.h:284
int used[5]
Definition: misc.h:283
int level
Definition: misc.h:285
Definition: misc.h:2
char name[100]
Definition: misc.h:4
char command[100]
Definition: misc.h:5
Definition: misc.h:255
float data
Definition: misc.h:257
short int qual
Definition: misc.h:258
float estimate
Definition: misc.h:259
float stddev
Definition: misc.h:260
Definition: misc.h:290
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:272
int status
Definition: misc.h:274
time_t timeout[5]
Definition: misc.h:276
int oldstatus
Definition: misc.h:275
Definition: misc.h:213
struct stim btim
Definition: misc.h:219
RatingTable rate_table
Definition: misc.h:217
struct stim etim
Definition: misc.h:220
char parm[10]
Definition: misc.h:216
int converted
Definition: misc.h:224
int volume
Definition: misc.h:222
int is_realized
Definition: misc.h:223
int inum
Definition: misc.h:221
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:103
char tid[6]
Definition: misc.h:105
int mon
Definition: misc.h:114
int ztime
Definition: misc.h:116
int cal_yr
Definition: misc.h:113
char tpe2[2]
Definition: misc.h:107
char agcode[7]
Definition: misc.h:120
char tt[2]
Definition: misc.h:109
char agloc[4]
Definition: misc.h:121
char tok[2]
Definition: misc.h:117
char init[4]
Definition: misc.h:119
char tpe1[2]
Definition: misc.h:106
char te[2]
Definition: misc.h:111
int zday
Definition: misc.h:115
char comment[41]
Definition: misc.h:122
char tp[2]
Definition: misc.h:112
char reason[81]
Definition: misc.h:118
char tdur[2]
Definition: misc.h:108
Definition: misc.h:155
char type[2]
Definition: misc.h:165
char pe2[2]
Definition: misc.h:159
char active[2]
Definition: misc.h:170
char det[41]
Definition: misc.h:167
char final_avail[8]
Definition: misc.h:178
char ownag[7]
Definition: misc.h:179
char new_report[2]
Definition: misc.h:169
int obstime
Definition: misc.h:172
char obsag[7]
Definition: misc.h:175
char dbsource[4]
Definition: misc.h:184
char p[2]
Definition: misc.h:164
char maintloc[4]
Definition: misc.h:182
char maintag[7]
Definition: misc.h:181
char prod2ary[10]
Definition: misc.h:174
char prod[10]
Definition: misc.h:173
char s[2]
Definition: misc.h:162
char des[51]
Definition: misc.h:166
char init[9]
Definition: misc.h:183
char rfs[2]
Definition: misc.h:171
char t[2]
Definition: misc.h:161
char ownloc[4]
Definition: misc.h:180
char e[2]
Definition: misc.h:163
char pe1[2]
Definition: misc.h:158
char prov_avail[2]
Definition: misc.h:177
char dur[2]
Definition: misc.h:160
int post
Definition: misc.h:168
char obsloc[4]
Definition: misc.h:176
Definition: misc.h:296
float lat
Definition: misc.h:303
int x
Definition: misc.h:307
char hb5[10]
Definition: misc.h:299
int tip
Definition: misc.h:306
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
short int index[30]
Definition: misc.h:302
int elev
Definition: misc.h:305
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 dbsource[4]
Definition: misc.h:152
char init[9]
Definition: misc.h:141
char lng[8]
Definition: misc.h:143
char stat[3]
Definition: misc.h:145
char cou[4]
Definition: misc.h:147
char huc[9]
Definition: misc.h:146
char hsa[4]
Definition: misc.h:149
char zon[5]
Definition: misc.h:148
char cwa[4]
Definition: misc.h:150
char lat[7]
Definition: misc.h:142
int elev
Definition: misc.h:144
int post
Definition: misc.h:151
char det[41]
Definition: misc.h:140
char des[51]
Definition: misc.h:139
char qual
Definition: hydro_data.h:36
float value
Definition: hydro_data.h:35
Definition: misc.h:264
struct rain frain[5]
Definition: misc.h:267
int frzlvl[5]
Definition: misc.h:268
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_new.h:35
Definition: misc.h:348
char wfo[10]
Definition: misc.h:350
struct abogus * bbogus
Definition: misc.h:353
int bogus_flag[10]
Definition: misc.h:352
int owner
Definition: misc.h:351
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