Mapper
Functions | Variables
mapper.c File Reference
#include <sqlhdr.h>
#include <sqliapi.h>
#include "prototypes.h"
Include dependency graph for mapper.c:

Go to the source code of this file.

Functions

void allocate_colors (int)
 
void save_selection2 ()
 
void find_name ()
 
void quit_callback ()
 
void quit_drt_callback ()
 
void quit_all ()
 
void other_pcpn_options ()
 
void display_options ()
 
void change_index_time ()
 
void quality_select ()
 
void change_plot ()
 
void change_pcpn_zoom_mode ()
 
void change_past_days ()
 
void source_select ()
 
void layer_select ()
 
void kill_main_widget ()
 
void clear_error_widget ()
 
void handle_release ()
 
void handle_expose ()
 
void handle_motion ()
 
void handle_resize ()
 
void handle_mouse ()
 
void screening_options ()
 
void change_pcp_scaling_mode ()
 
void view_temperature ()
 
void view_precipitation ()
 
void drt_change ()
 
void get_current_data ()
 
void itation ()
 
void view_humidity ()
 
void view_wind ()
 
void view_stage ()
 
void view_snow ()
 
void view_watertemp ()
 
void change_mode ()
 
void kill_dialog ()
 
void new_filter ()
 
void elevation_filter ()
 
void print_screen ()
 
void rfs_options ()
 
void hg_select ()
 
void get_data ()
 
int main (int argc, char *argv[])
 
void create_area_menu ()
 
void area_callback (Widget w, XtPointer client_data, XtPointer call_data)
 
Widget BuildPulldownToggleMenu (Widget parent, char *menu_title, char menu_mnemonic, struct MenuItem *items)
 
Widget BuildPulldownPushMenu (Widget parent, char *menu_title, char menu_mnemonic, struct MenuItem *items)
 
Widget AttachToCascade (Widget parent, char *label, Widget sub_menu)
 
void Create_Colors (Display *pdisplay)
 
void clear_drawable (Drawable pixw)
 
void write_screen ()
 
void area_select (Widget w, XtPointer data)
 
void print_screen (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void kill_dialog (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void change_rain (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void change_plot (Widget w, XtPointer data, XtPointer junk)
 
void other_pcpn_options (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void display_options (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void rfs_options (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void find_name (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void change_past_days (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void change_pcpn_zoom_mode (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void foreground_select ()
 
void clear_backgrounds ()
 
void topo_select ()
 
void map_select (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void send_expose ()
 
void source_select (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void handle_expose (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void print_draw ()
 
void handle_resize (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void handle_motion (Widget w, XtPointer data, XEvent *p_event)
 
void handle_release (Widget w, XtPointer data, XEvent *p_event)
 
void handle_mouse (Widget w, XtPointer data, XEvent *p_event)
 
void input_time_step (Widget widget, XtPointer data, XtPointer call_data)
 
void berror (Widget widget, char *string)
 
void cerror (Widget widget, char *string)
 
void kill_widget (Widget widget, XtPointer client_data, XtPointer call_data)
 
void change_mode (Widget widget, XtPointer data, XtPointer call_data)
 
void change_index_time (Widget widget, XtPointer data, XtPointer call_data)
 
void save_selection2 (Widget w, XtPointer data, XtPointer junk)
 
void new_filter (Widget w, XtPointer data, XtPointer junk)
 
void elevation_filter (Widget w, XtPointer data, XtPointer junk)
 
void hg_select (Widget w, XtPointer data, XtPointer junk)
 
void create_drt_menu ()
 
void quit_drt_callback (Widget w, XtPointer client_data, XtPointer call_data)
 
void drt_callback (Widget w, XtPointer client_data, XtPointer call_data)
 

Variables

char saved_hb5 [6]
 
char nexrad_file [100]
 
char savefile [100]
 
char rec_found [100]
 
char * ls []
 
char * legend [100]
 
char find_station_buf [10]
 
char grid_file [100]
 
char station_list_file [256]
 
char hrap_file [100]
 
char data_file [100]
 
char decode_file [100]
 
double max_lat
 
double min_lat
 
double cen_lon
 
float hr1_rainfall_max =3.0
 
float hr6_rainfall_max =7.5
 
float hr24_rainfall_max =15.0
 
float rainfall_level_1 [20]
 
float rainfall_level_2 [20]
 
float filter_value =-9999
 
float delim [16]
 
int debug =0
 
int drt =0
 
int fgbg_number
 
int saved_j
 
int rfs_flag
 
int topo_number =-1
 
int topo_buf [10]
 
int print_flag =0
 
int past_time_series_days =5
 
int future_time_series_days =5
 
int defrain =-1
 
int defscale =0
 
int deflinear =0
 
int hgflag =1
 
int hpflag =1
 
int nexrad_flag =-1
 
int elevation_filter_value =-9999
 
int init_subdisplay =0
 
int read_data_flag =0
 
int write_screen_flag =0
 
int ditime [] ={30,60,120,180,240,360,540,720,1080,1440,2880,4320,5760,7200,10080}
 
int maxitimes =15
 
int regrid_flag =-1
 
int legend_flag =-1
 
int max_legends =5
 
int maxdays =7
 
int maxhours =168
 
int maxmonths =60
 
int maxindex
 
int maxindex2
 
int maxindex3
 
int maxindex4
 
int maxindex5
 
int maxindex6
 
int maxindex7
 
int indexx
 
int dt =-1
 
int first_through =0
 
int rain_flag =-1
 
int data_type =-1
 
int max_stations
 
int plot_view =6
 
int map_edit_flag =-1
 
int end_year
 
int end_month
 
int end_day
 
int end_hour
 
int begin_year
 
int begin_month
 
int begin_day
 
int begin_hour
 
int begin_index
 
int end_index
 
int xh_logo [4]
 
int yh_logo [4]
 
int cursorflag [4]
 
int spoint [2]
 
int contour_flag =-1
 
int raster_flag =-1
 
int current_raster =-1
 
int current_date_pointer
 
int pcpn_time_step
 
int manage_flag =1
 
int error_widget_flag =0
 
int pcp_in_use [50]
 
int fgbgflag =-1
 
int pcp_map_flag =-1
 
int pcp_flag =0
 
int render_pcp_flag =-1
 
int pcpn_time =0
 
int pcpn_day =0
 
int first_area =-1
 
int time_step =6
 
int time_index =0
 
int change_map_flag =1
 
int exp_flag =-1
 
int contour_topo_flag =1
 
int contour_isoh_flag =0
 
int zoom_mode =1
 
int edit_mode =-1
 
int numverts
 
int xsave [10]
 
int posit
 
int ilegend_save =-1
 
int qlegend_save =-1
 
int add_topo_flag =-1
 
int legend_save =-1
 
int tlegend_save =-1
 
int change_pcpn_flag =-1
 
int max_width
 
int max_height
 
int display_flag =0
 
int kscale =0
 
int iscale =0
 
int maxkscale =5
 
int maxiscale =5
 
int legendxsize
 
int legendysize =30
 
int legendystart =10
 
int rs =20
 
int points_flag =-1
 
int gridded_flag =-1
 
int map_flag =-1
 
int opoint [2]
 
int npoint [2]
 
int off [100]
 
int zoom =1
 
int dflag [10]
 
int change_mode_in_flag =0
 
signed long xclip =25
 
signed long yclip =25
 
unsigned car [100]
 
unsigned int sensortype
 
unsigned int w_logo [4]
 
unsigned int h_logo [4]
 
unsigned long zmap [16]
 
unsigned long xmap [16]
 
unsigned long imap [16]
 
unsigned long nmap [20]
 
unsigned long qmap [16]
 
unsigned long tmap [50]
 
unsigned long vmap [50]
 
unsigned long mmap [16]
 
unsigned long cmap [16]
 
unsigned long amap [16]
 
struct sensor_recsensor_rec
 
struct sensor_typestype
 
struct database dbase
 
struct sindxsdx
 
struct number_recnumber_rec
 
struct stn_valuesstn_values
 
struct save_rec save_rec [10]
 
struct sensor_filesfile
 
struct gridgrid
 
struct savedfsaved
 
struct custom custom [9000]
 
struct map map [500]
 
struct Cur cursor [4]
 
struct display_set display_set [4]
 
struct MenuItem ktems [100]
 
struct MenuItem area_items [10]
 
struct MenuItem drt_items [100]
 
struct save save
 
struct pcppcp
 
struct pcpspf
 
struct hrap_gridhrap_grid
 
struct topotopo =NULL
 
struct isohisoh =NULL
 
struct maplayersmaplayer [100]
 
struct datalayerdatalayer
 
struct datalayersdatalayer
 
struct dval dval
 
time_t itime [500]
 
time_t dtime [500]
 
time_t xtime [500]
 
time_t htime [500]
 
time_t qtime
 
Cursor watch_cursor
 
Cursor crosshair_cursor
 
Cursor dotbox_cursor
 
Dimension owidth
 
Dimension oheight
 
Display * display
 
Font font [10]
 
GC gc
 
Pixmap pixf
 
Pixmap pixb
 
Pixmap logo [4]
 
Pixmap pixcursor [4]
 
Region region
 
String fallbacks [] ={"*fontList: -adobe-helvetica-bold-r-*-140-*",NULL}
 
Widget fgbg_toggle_button
 
Widget rowcolzoom
 
Widget widg
 
Widget mbutton [100]
 
Widget mpbutton [10]
 
Widget hgwidget [3]
 
Widget draw_dialog [10]
 
Widget bmain_window
 
Widget bdrawing_area [10]
 
Widget cerr
 
Widget mwidget [50]
 
Widget drawing_area
 
Widget menu_bar
 
Widget top_level
 
Widget main_window
 
Widget area_menu
 
Widget s_text
 
Widget start_dialog
 
Widget scrollbar
 
Widget twidget [5]
 
Widget zwidget [3]
 
Widget owidget [5]
 
Widget qwidget [10]
 
Widget bwidget [8]
 
Widget awidget [8]
 
Widget tswidget [10]
 
Widget cwidget [5]
 
Widget edwidget [5]
 
Widget bdwidget [5]
 
Widget scwidget [3]
 
Widget main_widget =NULL
 
Widget find_widget
 
Widget view_widget =0
 
Widget diswidget [3]
 
Widget drt_menu
 
Window bwindow [20]
 
Window window
 
Window root_win
 
Window menu_bar_window
 
XColor colors [256]
 
XFontStruct * info_font [10]
 
XImage * image
 
XtAppContext app
 
XtIntervalId timer
 
static int menu_flag =0
 
static Widget save_widget
 
static int first =0
 
static int owin_x
 
static int owin_y
 

Function Documentation

◆ allocate_colors()

void allocate_colors ( int  maxcolors)

Definition at line 1007 of file mapper.c.

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

◆ area_callback()

void area_callback ( Widget  w,
XtPointer  client_data,
XtPointer  call_data 
)

Definition at line 665 of file mapper.c.

Here is the caller graph for this function:

◆ area_select()

void area_select ( Widget  w,
XtPointer  data 
)

Definition at line 1267 of file mapper.c.

Here is the caller graph for this function:

◆ AttachToCascade()

Widget AttachToCascade ( Widget  parent,
char *  label,
Widget  sub_menu 
)

Definition at line 771 of file mapper.c.

Here is the caller graph for this function:

◆ berror()

void berror ( Widget  widget,
char *  string 
)

Definition at line 4753 of file mapper.c.

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

◆ BuildPulldownPushMenu()

Widget BuildPulldownPushMenu ( Widget  parent,
char *  menu_title,
char  menu_mnemonic,
struct MenuItem items 
)

Definition at line 747 of file mapper.c.

Here is the caller graph for this function:

◆ BuildPulldownToggleMenu()

Widget BuildPulldownToggleMenu ( Widget  parent,
char *  menu_title,
char  menu_mnemonic,
struct MenuItem items 
)

Definition at line 693 of file mapper.c.

Here is the caller graph for this function:

◆ cerror()

void cerror ( Widget  widget,
char *  string 
)

Definition at line 4780 of file mapper.c.

Here is the call graph for this function:

◆ change_index_time() [1/2]

void change_index_time ( )
Here is the caller graph for this function:

◆ change_index_time() [2/2]

void change_index_time ( Widget  widget,
XtPointer  data,
XtPointer  call_data 
)

Definition at line 4928 of file mapper.c.

Here is the call graph for this function:

◆ change_mode() [1/2]

void change_mode ( )
Here is the caller graph for this function:

◆ change_mode() [2/2]

void change_mode ( Widget  widget,
XtPointer  data,
XtPointer  call_data 
)

Definition at line 4817 of file mapper.c.

Here is the call graph for this function:

◆ change_past_days() [1/2]

void change_past_days ( )
Here is the caller graph for this function:

◆ change_past_days() [2/2]

void change_past_days ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 3897 of file mapper.c.

◆ change_pcp_scaling_mode()

void change_pcp_scaling_mode ( )

◆ change_pcpn_zoom_mode() [1/2]

void change_pcpn_zoom_mode ( )
Here is the caller graph for this function:

◆ change_pcpn_zoom_mode() [2/2]

void change_pcpn_zoom_mode ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 3911 of file mapper.c.

Here is the call graph for this function:

◆ change_plot() [1/2]

void change_plot ( )
Here is the caller graph for this function:

◆ change_plot() [2/2]

void change_plot ( Widget  w,
XtPointer  data,
XtPointer  junk 
)

Definition at line 1695 of file mapper.c.

Here is the call graph for this function:

◆ change_rain()

void change_rain ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 1689 of file mapper.c.

◆ clear_backgrounds()

void clear_backgrounds ( )

Definition at line 3978 of file mapper.c.

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

◆ clear_drawable()

void clear_drawable ( Drawable  pixw)

Definition at line 1067 of file mapper.c.

Here is the caller graph for this function:

◆ clear_error_widget()

void clear_error_widget ( )

Definition at line 4811 of file mapper.c.

Here is the caller graph for this function:

◆ create_area_menu()

void create_area_menu ( void  )

Definition at line 602 of file mapper.c.

Here is the caller graph for this function:

◆ Create_Colors()

void Create_Colors ( Display *  pdisplay)

Definition at line 787 of file mapper.c.

Here is the caller graph for this function:

◆ create_drt_menu()

void create_drt_menu ( void  )

Definition at line 5036 of file mapper.c.

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

◆ display_options() [1/2]

void display_options ( )

◆ display_options() [2/2]

void display_options ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 3758 of file mapper.c.

Here is the call graph for this function:

◆ drt_callback()

void drt_callback ( Widget  w,
XtPointer  client_data,
XtPointer  call_data 
)

Definition at line 5106 of file mapper.c.

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

◆ drt_change()

void drt_change ( )

Definition at line 5026 of file mapper.c.

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

◆ elevation_filter() [1/2]

void elevation_filter ( )
Here is the caller graph for this function:

◆ elevation_filter() [2/2]

void elevation_filter ( Widget  w,
XtPointer  data,
XtPointer  junk 
)

Definition at line 4996 of file mapper.c.

Here is the call graph for this function:

◆ find_name() [1/2]

void find_name ( )
Here is the caller graph for this function:

◆ find_name() [2/2]

void find_name ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 3803 of file mapper.c.

Here is the call graph for this function:

◆ foreground_select()

void foreground_select ( void  )

Definition at line 3972 of file mapper.c.

◆ get_current_data()

void get_current_data ( )

Definition at line 4390 of file mapper.c.

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

◆ get_data()

void get_data ( )

Definition at line 4396 of file mapper.c.

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

◆ handle_expose() [1/2]

void handle_expose ( )
Here is the caller graph for this function:

◆ handle_expose() [2/2]

void handle_expose ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 4082 of file mapper.c.

Here is the call graph for this function:

◆ handle_motion() [1/2]

void handle_motion ( )
Here is the caller graph for this function:

◆ handle_motion() [2/2]

void handle_motion ( Widget  w,
XtPointer  data,
XEvent *  p_event 
)

Definition at line 4180 of file mapper.c.

◆ handle_mouse() [1/2]

void handle_mouse ( )
Here is the caller graph for this function:

◆ handle_mouse() [2/2]

void handle_mouse ( Widget  w,
XtPointer  data,
XEvent *  p_event 
)

Definition at line 4297 of file mapper.c.

Here is the call graph for this function:

◆ handle_release() [1/2]

void handle_release ( )
Here is the caller graph for this function:

◆ handle_release() [2/2]

void handle_release ( Widget  w,
XtPointer  data,
XEvent *  p_event 
)

Definition at line 4285 of file mapper.c.

Here is the call graph for this function:

◆ handle_resize() [1/2]

void handle_resize ( )
Here is the caller graph for this function:

◆ handle_resize() [2/2]

void handle_resize ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 4142 of file mapper.c.

Here is the call graph for this function:

◆ hg_select() [1/2]

void hg_select ( )
Here is the caller graph for this function:

◆ hg_select() [2/2]

void hg_select ( Widget  w,
XtPointer  data,
XtPointer  junk 
)

Definition at line 5004 of file mapper.c.

Here is the call graph for this function:

◆ input_time_step()

void input_time_step ( Widget  widget,
XtPointer  data,
XtPointer  call_data 
)

Definition at line 4383 of file mapper.c.

◆ itation()

void itation ( )

◆ kill_dialog() [1/2]

void kill_dialog ( )
Here is the caller graph for this function:

◆ kill_dialog() [2/2]

void kill_dialog ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 1681 of file mapper.c.

Here is the call graph for this function:

◆ kill_main_widget()

void kill_main_widget ( )

Definition at line 3934 of file mapper.c.

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

◆ kill_widget()

void kill_widget ( Widget  widget,
XtPointer  client_data,
XtPointer  call_data 
)

Definition at line 4806 of file mapper.c.

◆ layer_select()

void layer_select ( )

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 247 of file mapper.c.

Here is the call graph for this function:

◆ map_select()

void map_select ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 4020 of file mapper.c.

◆ new_filter() [1/2]

void new_filter ( )
Here is the caller graph for this function:

◆ new_filter() [2/2]

void new_filter ( Widget  w,
XtPointer  data,
XtPointer  junk 
)

Definition at line 4988 of file mapper.c.

Here is the call graph for this function:

◆ other_pcpn_options() [1/2]

void other_pcpn_options ( )
Here is the caller graph for this function:

◆ other_pcpn_options() [2/2]

void other_pcpn_options ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 3730 of file mapper.c.

Here is the call graph for this function:

◆ print_draw()

void print_draw ( void  )

Definition at line 4113 of file mapper.c.

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

◆ print_screen() [1/2]

void print_screen ( )
Here is the caller graph for this function:

◆ print_screen() [2/2]

void print_screen ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 1674 of file mapper.c.

Here is the call graph for this function:

◆ quality_select()

void quality_select ( )

◆ quit_all()

void quit_all ( )

Definition at line 3947 of file mapper.c.

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

◆ quit_callback()

void quit_callback ( )

Definition at line 3967 of file mapper.c.

Here is the caller graph for this function:

◆ quit_drt_callback() [1/2]

void quit_drt_callback ( )
Here is the caller graph for this function:

◆ quit_drt_callback() [2/2]

void quit_drt_callback ( Widget  w,
XtPointer  client_data,
XtPointer  call_data 
)

Definition at line 5099 of file mapper.c.

◆ rfs_options() [1/2]

void rfs_options ( )
Here is the caller graph for this function:

◆ rfs_options() [2/2]

void rfs_options ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 3782 of file mapper.c.

Here is the call graph for this function:

◆ save_selection2() [1/2]

void save_selection2 ( )
Here is the caller graph for this function:

◆ save_selection2() [2/2]

void save_selection2 ( Widget  w,
XtPointer  data,
XtPointer  junk 
)

Definition at line 4978 of file mapper.c.

◆ screening_options()

void screening_options ( )

◆ send_expose()

void send_expose ( void  )

Definition at line 4026 of file mapper.c.

Here is the caller graph for this function:

◆ source_select() [1/2]

void source_select ( )
Here is the caller graph for this function:

◆ source_select() [2/2]

void source_select ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 4032 of file mapper.c.

Here is the call graph for this function:

◆ topo_select()

void topo_select ( void  )

Definition at line 4005 of file mapper.c.

◆ view_humidity()

void view_humidity ( )

Definition at line 2538 of file mapper.c.

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

◆ view_precipitation()

void view_precipitation ( )

Definition at line 1702 of file mapper.c.

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

◆ view_snow()

void view_snow ( )

Definition at line 3428 of file mapper.c.

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

◆ view_stage()

void view_stage ( )

Definition at line 2825 of file mapper.c.

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

◆ view_temperature()

void view_temperature ( )

Definition at line 2247 of file mapper.c.

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

◆ view_watertemp()

void view_watertemp ( )

Definition at line 2023 of file mapper.c.

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

◆ view_wind()

void view_wind ( )

Definition at line 3143 of file mapper.c.

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

◆ write_screen()

void write_screen ( void  )

Definition at line 1082 of file mapper.c.

Here is the caller graph for this function:

Variable Documentation

◆ add_topo_flag

int add_topo_flag =-1

Definition at line 96 of file mapper.c.

◆ amap

unsigned long amap[16]

Definition at line 117 of file mapper.c.

◆ app

XtAppContext app

Definition at line 199 of file mapper.c.

◆ area_items

struct MenuItem area_items[10]

Definition at line 128 of file mapper.c.

◆ area_menu

Widget area_menu

Definition at line 185 of file mapper.c.

◆ awidget

Widget awidget[8]

Definition at line 185 of file mapper.c.

◆ bdrawing_area

Widget bdrawing_area[10]

Definition at line 182 of file mapper.c.

◆ bdwidget

Widget bdwidget[5]

Definition at line 185 of file mapper.c.

◆ begin_day

int begin_day

Definition at line 67 of file mapper.c.

◆ begin_hour

int begin_hour

Definition at line 67 of file mapper.c.

◆ begin_index

int begin_index

Definition at line 67 of file mapper.c.

◆ begin_month

int begin_month

Definition at line 67 of file mapper.c.

◆ begin_year

int begin_year

Definition at line 67 of file mapper.c.

◆ bmain_window

Widget bmain_window

Definition at line 181 of file mapper.c.

◆ bwidget

Widget bwidget[8]

Definition at line 185 of file mapper.c.

◆ bwindow

Window bwindow[20]

Definition at line 189 of file mapper.c.

◆ car

unsigned car[100]

Definition at line 111 of file mapper.c.

◆ cen_lon

double cen_lon

Definition at line 22 of file mapper.c.

◆ cerr

Widget cerr

Definition at line 183 of file mapper.c.

◆ change_map_flag

int change_map_flag =1

Definition at line 86 of file mapper.c.

◆ change_mode_in_flag

int change_mode_in_flag =0

Definition at line 107 of file mapper.c.

◆ change_pcpn_flag

int change_pcpn_flag =-1

Definition at line 98 of file mapper.c.

◆ cmap

unsigned long cmap[16]

Definition at line 117 of file mapper.c.

◆ colors

XColor colors[256]

Definition at line 193 of file mapper.c.

◆ contour_flag

int contour_flag =-1

Definition at line 71 of file mapper.c.

◆ contour_isoh_flag

int contour_isoh_flag =0

Definition at line 89 of file mapper.c.

◆ contour_topo_flag

int contour_topo_flag =1

Definition at line 88 of file mapper.c.

◆ crosshair_cursor

Cursor crosshair_cursor

Definition at line 154 of file mapper.c.

◆ current_date_pointer

int current_date_pointer

Definition at line 74 of file mapper.c.

◆ current_raster

int current_raster =-1

Definition at line 73 of file mapper.c.

◆ cursor

struct Cur cursor[4]

Definition at line 128 of file mapper.c.

◆ cursorflag

int cursorflag[4]

Definition at line 69 of file mapper.c.

◆ custom

struct custom custom[9000]

Definition at line 128 of file mapper.c.

◆ cwidget

Widget cwidget[5]

Definition at line 185 of file mapper.c.

◆ data_file

char data_file[100]

Definition at line 20 of file mapper.c.

◆ data_type

int data_type =-1

Definition at line 63 of file mapper.c.

◆ datalayer

Definition at line 146 of file mapper.c.

◆ dbase

struct database dbase

Definition at line 120 of file mapper.c.

◆ debug

int debug =0

Definition at line 32 of file mapper.c.

◆ decode_file

char decode_file[100]

Definition at line 20 of file mapper.c.

◆ deflinear

int deflinear =0

Definition at line 44 of file mapper.c.

◆ defrain

int defrain =-1

Definition at line 42 of file mapper.c.

◆ defscale

int defscale =0

Definition at line 43 of file mapper.c.

◆ delim

float delim[16]

Definition at line 30 of file mapper.c.

◆ dflag

int dflag[10]

Definition at line 106 of file mapper.c.

◆ display

Display* display

Definition at line 159 of file mapper.c.

◆ display_flag

int display_flag =0

Definition at line 100 of file mapper.c.

◆ display_set

Definition at line 128 of file mapper.c.

◆ diswidget

Widget diswidget[3]

Definition at line 186 of file mapper.c.

◆ ditime

int ditime[] ={30,60,120,180,240,360,540,720,1080,1440,2880,4320,5760,7200,10080}

Definition at line 51 of file mapper.c.

◆ dotbox_cursor

Cursor dotbox_cursor

Definition at line 155 of file mapper.c.

◆ draw_dialog

Widget draw_dialog[10]

Definition at line 180 of file mapper.c.

◆ drawing_area

Widget drawing_area

Definition at line 185 of file mapper.c.

◆ drt

int drt =0

Definition at line 33 of file mapper.c.

◆ drt_items

struct MenuItem drt_items[100]

Definition at line 128 of file mapper.c.

◆ drt_menu

Widget drt_menu

Definition at line 187 of file mapper.c.

◆ dt

int dt =-1

Definition at line 60 of file mapper.c.

◆ dtime

time_t dtime[500]

Definition at line 150 of file mapper.c.

◆ dval

struct dval dval

Definition at line 147 of file mapper.c.

◆ edit_mode

int edit_mode =-1

Definition at line 90 of file mapper.c.

◆ edwidget

Widget edwidget[5]

Definition at line 185 of file mapper.c.

◆ elevation_filter_value

int elevation_filter_value =-9999

Definition at line 47 of file mapper.c.

◆ end_day

int end_day

Definition at line 67 of file mapper.c.

◆ end_hour

int end_hour

Definition at line 67 of file mapper.c.

◆ end_index

int end_index

Definition at line 67 of file mapper.c.

◆ end_month

int end_month

Definition at line 67 of file mapper.c.

◆ end_year

int end_year

Definition at line 67 of file mapper.c.

◆ error_widget_flag

int error_widget_flag =0

Definition at line 77 of file mapper.c.

◆ exp_flag

int exp_flag =-1

Definition at line 87 of file mapper.c.

◆ fallbacks

String fallbacks[] ={"*fontList: -adobe-helvetica-bold-r-*-140-*",NULL}

Definition at line 172 of file mapper.c.

◆ fgbg_number

int fgbg_number

Definition at line 34 of file mapper.c.

◆ fgbg_toggle_button

Widget fgbg_toggle_button

Definition at line 174 of file mapper.c.

◆ fgbgflag

int fgbgflag =-1

Definition at line 79 of file mapper.c.

◆ filter_value

float filter_value =-9999

Definition at line 29 of file mapper.c.

◆ find_station_buf

char find_station_buf[10]

Definition at line 16 of file mapper.c.

◆ find_widget

Widget find_widget

Definition at line 186 of file mapper.c.

◆ first

int first =0
static

Definition at line 4141 of file mapper.c.

◆ first_area

int first_area =-1

Definition at line 84 of file mapper.c.

◆ first_through

int first_through =0

Definition at line 61 of file mapper.c.

◆ font

Font font[10]

Definition at line 161 of file mapper.c.

◆ fsaved

struct saved* fsaved

Definition at line 128 of file mapper.c.

◆ future_time_series_days

int future_time_series_days =5

Definition at line 41 of file mapper.c.

◆ gc

GC gc

Definition at line 163 of file mapper.c.

◆ grid

struct grid* grid

Definition at line 127 of file mapper.c.

◆ grid_file

char grid_file[100]

Definition at line 17 of file mapper.c.

◆ gridded_flag

int gridded_flag =-1

Definition at line 104 of file mapper.c.

◆ h_logo

unsigned int h_logo[4]

Definition at line 114 of file mapper.c.

◆ hgflag

int hgflag =1

Definition at line 45 of file mapper.c.

◆ hgwidget

Widget hgwidget[3]

Definition at line 179 of file mapper.c.

◆ hpflag

int hpflag =1

Definition at line 45 of file mapper.c.

◆ hr1_rainfall_max

float hr1_rainfall_max =3.0

Definition at line 24 of file mapper.c.

◆ hr24_rainfall_max

float hr24_rainfall_max =15.0

Definition at line 26 of file mapper.c.

◆ hr6_rainfall_max

float hr6_rainfall_max =7.5

Definition at line 25 of file mapper.c.

◆ hrap_file

char hrap_file[100]

Definition at line 19 of file mapper.c.

◆ hrap_grid

Definition at line 142 of file mapper.c.

◆ htime

time_t htime[500]

Definition at line 150 of file mapper.c.

◆ ilegend_save

int ilegend_save =-1

Definition at line 94 of file mapper.c.

◆ image

XImage* image

Definition at line 197 of file mapper.c.

◆ imap

unsigned long imap[16]

Definition at line 116 of file mapper.c.

◆ indexx

int indexx

Definition at line 60 of file mapper.c.

◆ info_font

XFontStruct* info_font[10]

Definition at line 195 of file mapper.c.

◆ init_subdisplay

int init_subdisplay =0

Definition at line 48 of file mapper.c.

◆ iscale

int iscale =0

Definition at line 101 of file mapper.c.

◆ isoh

struct isoh* isoh =NULL

Definition at line 144 of file mapper.c.

◆ itime

time_t itime[500]

Definition at line 150 of file mapper.c.

◆ kscale

int kscale =0

Definition at line 101 of file mapper.c.

◆ ktems

struct MenuItem ktems[100]

Definition at line 128 of file mapper.c.

◆ legend

char* legend[100]

Definition at line 15 of file mapper.c.

◆ legend_flag

int legend_flag =-1

Definition at line 54 of file mapper.c.

◆ legend_save

int legend_save =-1

Definition at line 97 of file mapper.c.

◆ legendxsize

int legendxsize

Definition at line 103 of file mapper.c.

◆ legendysize

int legendysize =30

Definition at line 103 of file mapper.c.

◆ legendystart

int legendystart =10

Definition at line 103 of file mapper.c.

◆ logo

Pixmap logo[4]

Definition at line 167 of file mapper.c.

◆ ls

char* ls[]
Initial value:
={"topography",
"precipitation",
"temperature",
"humidity",
"wind"}

Definition at line 10 of file mapper.c.

◆ main_widget

Widget main_widget =NULL

Definition at line 186 of file mapper.c.

◆ main_window

Widget main_window

Definition at line 185 of file mapper.c.

◆ manage_flag

int manage_flag =1

Definition at line 76 of file mapper.c.

◆ map

struct map map[500]

Definition at line 128 of file mapper.c.

◆ map_edit_flag

int map_edit_flag =-1

Definition at line 66 of file mapper.c.

◆ map_flag

int map_flag =-1

Definition at line 104 of file mapper.c.

◆ max_height

int max_height

Definition at line 99 of file mapper.c.

◆ max_lat

double max_lat

Definition at line 22 of file mapper.c.

◆ max_legends

int max_legends =5

Definition at line 55 of file mapper.c.

◆ max_stations

int max_stations

Definition at line 64 of file mapper.c.

◆ max_width

int max_width

Definition at line 99 of file mapper.c.

◆ maxdays

int maxdays =7

Definition at line 56 of file mapper.c.

◆ maxhours

int maxhours =168

Definition at line 57 of file mapper.c.

◆ maxindex

int maxindex

Definition at line 59 of file mapper.c.

◆ maxindex2

int maxindex2

Definition at line 59 of file mapper.c.

◆ maxindex3

int maxindex3

Definition at line 59 of file mapper.c.

◆ maxindex4

int maxindex4

Definition at line 59 of file mapper.c.

◆ maxindex5

int maxindex5

Definition at line 59 of file mapper.c.

◆ maxindex6

int maxindex6

Definition at line 59 of file mapper.c.

◆ maxindex7

int maxindex7

Definition at line 59 of file mapper.c.

◆ maxiscale

int maxiscale =5

Definition at line 102 of file mapper.c.

◆ maxitimes

int maxitimes =15

Definition at line 52 of file mapper.c.

◆ maxkscale

int maxkscale =5

Definition at line 102 of file mapper.c.

◆ maxmonths

int maxmonths =60

Definition at line 58 of file mapper.c.

◆ mbutton

Widget mbutton[100]

Definition at line 177 of file mapper.c.

◆ menu_bar

Widget menu_bar

Definition at line 185 of file mapper.c.

◆ menu_bar_window

Window menu_bar_window

Definition at line 190 of file mapper.c.

◆ menu_flag

int menu_flag =0
static

Definition at line 1264 of file mapper.c.

◆ min_lat

double min_lat

Definition at line 22 of file mapper.c.

◆ mmap

unsigned long mmap[16]

Definition at line 117 of file mapper.c.

◆ mpbutton

Widget mpbutton[10]

Definition at line 178 of file mapper.c.

◆ mwidget

Widget mwidget[50]

Definition at line 184 of file mapper.c.

◆ nexrad_file

char nexrad_file[100]

Definition at line 7 of file mapper.c.

◆ nexrad_flag

int nexrad_flag =-1

Definition at line 46 of file mapper.c.

◆ nmap

unsigned long nmap[20]

Definition at line 116 of file mapper.c.

◆ npoint

int npoint[2]

Definition at line 105 of file mapper.c.

◆ number_rec

Definition at line 123 of file mapper.c.

◆ numverts

int numverts

Definition at line 91 of file mapper.c.

◆ off

int off[100]

Definition at line 105 of file mapper.c.

◆ oheight

Dimension oheight

Definition at line 157 of file mapper.c.

◆ opoint

int opoint[2]

Definition at line 105 of file mapper.c.

◆ owidget

Widget owidget[5]

Definition at line 185 of file mapper.c.

◆ owidth

Dimension owidth

Definition at line 157 of file mapper.c.

◆ owin_x

int owin_x
static

Definition at line 4178 of file mapper.c.

◆ owin_y

int owin_y
static

Definition at line 4178 of file mapper.c.

◆ past_time_series_days

int past_time_series_days =5

Definition at line 40 of file mapper.c.

◆ pcp

struct pcp* pcp

Definition at line 140 of file mapper.c.

◆ pcp_flag

int pcp_flag =0

Definition at line 81 of file mapper.c.

◆ pcp_in_use

int pcp_in_use[50]

Definition at line 78 of file mapper.c.

◆ pcp_map_flag

int pcp_map_flag =-1

Definition at line 80 of file mapper.c.

◆ pcpn_day

int pcpn_day =0

Definition at line 83 of file mapper.c.

◆ pcpn_time

int pcpn_time =0

Definition at line 83 of file mapper.c.

◆ pcpn_time_step

int pcpn_time_step

Definition at line 75 of file mapper.c.

◆ pixb

Pixmap pixb

Definition at line 166 of file mapper.c.

◆ pixcursor

Pixmap pixcursor[4]

Definition at line 168 of file mapper.c.

◆ pixf

Pixmap pixf

Definition at line 165 of file mapper.c.

◆ plot_view

int plot_view =6

Definition at line 65 of file mapper.c.

◆ points_flag

int points_flag =-1

Definition at line 104 of file mapper.c.

◆ posit

int posit

Definition at line 93 of file mapper.c.

◆ print_flag

int print_flag =0

Definition at line 39 of file mapper.c.

◆ qlegend_save

int qlegend_save =-1

Definition at line 95 of file mapper.c.

◆ qmap

unsigned long qmap[16]

Definition at line 116 of file mapper.c.

◆ qtime

time_t qtime

Definition at line 151 of file mapper.c.

◆ qwidget

Widget qwidget[10]

Definition at line 185 of file mapper.c.

◆ rain_flag

int rain_flag =-1

Definition at line 62 of file mapper.c.

◆ rainfall_level_1

float rainfall_level_1[20]

Definition at line 27 of file mapper.c.

◆ rainfall_level_2

float rainfall_level_2[20]

Definition at line 28 of file mapper.c.

◆ raster_flag

int raster_flag =-1

Definition at line 72 of file mapper.c.

◆ read_data_flag

int read_data_flag =0

Definition at line 49 of file mapper.c.

◆ rec_found

char rec_found[100]

Definition at line 9 of file mapper.c.

◆ region

Region region

Definition at line 170 of file mapper.c.

◆ regrid_flag

int regrid_flag =-1

Definition at line 53 of file mapper.c.

◆ render_pcp_flag

int render_pcp_flag =-1

Definition at line 82 of file mapper.c.

◆ rfs_flag

int rfs_flag

Definition at line 36 of file mapper.c.

◆ root_win

Window root_win

Definition at line 190 of file mapper.c.

◆ rowcolzoom

Widget rowcolzoom

Definition at line 175 of file mapper.c.

◆ rs

int rs =20

Definition at line 103 of file mapper.c.

◆ s_text

Widget s_text

Definition at line 185 of file mapper.c.

◆ save

struct save save

Definition at line 128 of file mapper.c.

◆ save_rec

struct save_rec save_rec[10]

Definition at line 124 of file mapper.c.

◆ save_widget

Widget save_widget
static

Definition at line 1265 of file mapper.c.

◆ saved_hb5

char saved_hb5[6]

Definition at line 6 of file mapper.c.

◆ saved_j

int saved_j

Definition at line 35 of file mapper.c.

◆ savefile

char savefile[100]

Definition at line 8 of file mapper.c.

◆ scrollbar

Widget scrollbar

Definition at line 185 of file mapper.c.

◆ scwidget

Widget scwidget[3]

Definition at line 185 of file mapper.c.

◆ sdatalayer

struct datalayer* sdatalayer

Definition at line 147 of file mapper.c.

◆ sdx

struct sindx* sdx

Definition at line 122 of file mapper.c.

◆ sensor_rec

Definition at line 119 of file mapper.c.

◆ sensortype

unsigned int sensortype

Definition at line 113 of file mapper.c.

◆ sfile

struct sensor_file* sfile

Definition at line 126 of file mapper.c.

◆ smaplayer

struct maplayer* smaplayer[100]

Definition at line 145 of file mapper.c.

◆ spf

struct pcp* spf

Definition at line 141 of file mapper.c.

◆ spoint

int spoint[2]

Definition at line 70 of file mapper.c.

◆ start_dialog

Widget start_dialog

Definition at line 185 of file mapper.c.

◆ station_list_file

char station_list_file[256]

Definition at line 18 of file mapper.c.

◆ stn_values

Definition at line 124 of file mapper.c.

◆ stype

struct sensor_type* stype

Definition at line 120 of file mapper.c.

◆ time_index

int time_index =0

Definition at line 85 of file mapper.c.

◆ time_step

int time_step =6

Definition at line 85 of file mapper.c.

◆ timer

XtIntervalId timer

Definition at line 200 of file mapper.c.

◆ tlegend_save

int tlegend_save =-1

Definition at line 97 of file mapper.c.

◆ tmap

unsigned long tmap[50]

Definition at line 116 of file mapper.c.

◆ top_level

Widget top_level

Definition at line 185 of file mapper.c.

◆ topo

struct topo* topo =NULL

Definition at line 143 of file mapper.c.

◆ topo_buf

int topo_buf[10]

Definition at line 38 of file mapper.c.

◆ topo_number

int topo_number =-1

Definition at line 37 of file mapper.c.

◆ tswidget

Widget tswidget[10]

Definition at line 185 of file mapper.c.

◆ twidget

Widget twidget[5]

Definition at line 185 of file mapper.c.

◆ view_widget

Widget view_widget =0

Definition at line 186 of file mapper.c.

◆ vmap

unsigned long vmap[50]

Definition at line 116 of file mapper.c.

◆ w_logo

unsigned int w_logo[4]

Definition at line 114 of file mapper.c.

◆ watch_cursor

Cursor watch_cursor

Definition at line 153 of file mapper.c.

◆ widg

Widget widg

Definition at line 176 of file mapper.c.

◆ window

Window window

Definition at line 190 of file mapper.c.

◆ write_screen_flag

int write_screen_flag =0

Definition at line 50 of file mapper.c.

◆ xclip

signed long xclip =25

Definition at line 109 of file mapper.c.

◆ xh_logo

int xh_logo[4]

Definition at line 68 of file mapper.c.

◆ xmap

unsigned long xmap[16]

Definition at line 116 of file mapper.c.

◆ xsave

int xsave[10]

Definition at line 92 of file mapper.c.

◆ xtime

time_t xtime[500]

Definition at line 150 of file mapper.c.

◆ yclip

signed long yclip =25

Definition at line 109 of file mapper.c.

◆ yh_logo

int yh_logo[4]

Definition at line 68 of file mapper.c.

◆ zmap

unsigned long zmap[16]

Definition at line 116 of file mapper.c.

◆ zoom

int zoom =1

Definition at line 105 of file mapper.c.

◆ zoom_mode

int zoom_mode =1

Definition at line 90 of file mapper.c.

◆ zwidget

Widget zwidget[3]

Definition at line 185 of file mapper.c.