« lib/App/SeismicUnixGui/developer/code/sunix/sunix_package_note.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/shapeNcut/sugprfb.pm »
| 1 | package App::SeismicUnixGui::misc::L_SU_global_constants; | ||
| 2 | |||
| 3 | use Moose; | ||
| 4 | our $VERSION = '0.0.1'; | ||
| 5 | use Carp; | ||
| 6 | use Cwd qw(abs_path); | ||
| 7 | |||
| 8 | my $path4SeismicUnixGui; | ||
| 9 | |||
| 10 | BEGIN { | ||
| 11 | |||
| 12 | # find out first if we are in installation and test mode | ||
| 13 | # or in fully operational mode | ||
| 14 | |||
| 15 | if ( length $ENV{'SeismicUnixGui'} ) { | ||
| 16 | |||
| 17 | $path4SeismicUnixGui = $ENV{'SeismicUnixGui'}; | ||
| 18 | # print "L18 We are in fully operational mode'.\n"; | ||
| 19 | } | ||
| 20 | else { | ||
| 21 | # When environment variables can not be found in Perl | ||
| 22 | # we could be undergoing an installation test | ||
| 23 | # or it could be the first time the program is run | ||
| 24 | # Look for a pattern in the Makefile | ||
| 25 | my $pathNfile_name = "./Makefile.PL"; | ||
| 26 | if (-f $pathNfile_name) { | ||
| 27 | |||
| 28 | # print("L 26 Found the file $pathNfile_name\n"); | ||
| 29 | $path4SeismicUnixGui = abs_path().'/blib/lib/App/SeismicUnixGui'; | ||
| 30 | print("L38 We are in installation mode where \$SeismicUnixGui is \n". | ||
| 31 | "set to: $path4SeismicUnixGui \n"); | ||
| 32 | |||
| 33 | } else { | ||
| 34 | # print("L 34 Did not find the file $pathNfile_name\n"); | ||
| 35 | print("We are not in installation mode and the \n". | ||
| 36 | "environment variable \$SeismicUnixGui is not set.\n". | ||
| 37 | "You must set the environment variable\n"); | ||
| 38 | print("Exiting now ...\n"); | ||
| 39 | exit(); | ||
| 40 | } | ||
| 41 | } | ||
| 42 | |||
| 43 | } | ||
| 44 | |||
| 45 | =head2 private hash | ||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | my $L_SU_global_constants = { | ||
| 50 | _file_name => '', | ||
| 51 | _program_name => '', | ||
| 52 | |||
| 53 | }; | ||
| 54 | |||
| 55 | =head2 Default Tk settings | ||
| 56 | |||
| 57 | _first_entry_num is normally 1 _max_entry_num is defaulted to | ||
| 58 | |||
| 59 | The names seen in the gui do not have to be the same as | ||
| 60 | the internal program names. | ||
| 61 | |||
| 62 | For example 'fk' for the user of the gui | ||
| 63 | is the same as Sudipfilt | ||
| 64 | internally for the programmer. | ||
| 65 | |||
| 66 | =cut | ||
| 67 | |||
| 68 | my $alias_superflow_names_h = { | ||
| 69 | fk => 'Sudipfilt', | ||
| 70 | ProjectVariables => 'Project_Variables', | ||
| 71 | SetProject => 'SetProject', | ||
| 72 | iPick => 'iPick', | ||
| 73 | iSpectralAnalysis => 'iSpectralAnalysis', | ||
| 74 | iVelAnalysis => 'iVA', | ||
| 75 | iTopMute => 'iTopMute', | ||
| 76 | iBottomMute => 'iBottomMute', | ||
| 77 | Project => 'Project', | ||
| 78 | Synseis => 'Synseis', | ||
| 79 | Sseg2su => 'Sseg2su', | ||
| 80 | Sucat => 'Sucat', | ||
| 81 | immodpg => 'immodpg', | ||
| 82 | ProjectBackup => 'BackupProject', | ||
| 83 | ProjectRestore => 'RestoreProject', | ||
| 84 | temp => 'temp', # make last | ||
| 85 | }; | ||
| 86 | |||
| 87 | =head2 Default Tk settings | ||
| 88 | |||
| 89 | The names seen in the gui do not have to be the same as | ||
| 90 | the internal program names. | ||
| 91 | For example 'fk' for the user is the same as Sudipfilt | ||
| 92 | internally for the programmer. | ||
| 93 | |||
| 94 | =cut | ||
| 95 | my $alias_superflow_spec_names_h = { | ||
| 96 | fk => 'Sudipfilt', | ||
| 97 | ProjectVariables => 'Project_Variables', | ||
| 98 | SetProject => 'SetProject', | ||
| 99 | iPick => 'iPick', | ||
| 100 | iSpectralAnalysis => 'iSpectralAnalysis', | ||
| 101 | iVelAnalysis => 'iVA', | ||
| 102 | iVA => 'iVA', | ||
| 103 | iTopMute => 'iTopMute', | ||
| 104 | iBottomMute => 'iBottomMute', | ||
| 105 | Project => 'Project', | ||
| 106 | Synseis => 'Synseis', | ||
| 107 | Sseg2su => 'Sseg2su', | ||
| 108 | Sucat => 'Sucat', | ||
| 109 | Sudipfilt => 'Sudipfilt', | ||
| 110 | immodpg => 'immodpg', | ||
| 111 | ProjectBackup => 'BackupProject', | ||
| 112 | BackupProject => 'BackupProject', | ||
| 113 | ProjectRestore => 'RestoreProject', | ||
| 114 | RestoreProject => 'RestoreProject', | ||
| 115 | temp => 'temp', # make last | ||
| 116 | }; | ||
| 117 | |||
| 118 | =head2 | ||
| 119 | |||
| 120 | hash that assigns numbers to each color | ||
| 121 | |||
| 122 | =cut | ||
| 123 | |||
| 124 | my $number_from_color = { | ||
| 125 | _grey => 0, | ||
| 126 | _pink => 1, | ||
| 127 | _green => 2, | ||
| 128 | _blue => 3, | ||
| 129 | }; | ||
| 130 | |||
| 131 | my $superflow_names_h = { | ||
| 132 | _fk => 'fk', | ||
| 133 | _Sudipfilt => 'Sudipfilt', | ||
| 134 | _ProjectVariables => 'ProjectVariables', | ||
| 135 | _iPick => 'iPick', | ||
| 136 | _SetProject => 'SetProject', | ||
| 137 | _iSpectralAnalysis => 'iSpectralAnalysis', | ||
| 138 | _iVelAnalysis => 'iVelAnalysis', | ||
| 139 | _iVA => 'iVA', | ||
| 140 | _iTopMute => 'iTopMute', | ||
| 141 | _iBottomMute => 'iBottomMute', | ||
| 142 | _Project => 'Project', | ||
| 143 | _Synseis => 'Synseis', | ||
| 144 | _Sseg2su => 'Sseg2su', | ||
| 145 | _Sucat => 'Sucat', | ||
| 146 | _immodpg => 'immodpg', | ||
| 147 | _BackupProject => 'BackupProject', | ||
| 148 | _ProjectBackup => 'Project Backup', | ||
| 149 | _ProjectRestore => 'Project Restore', | ||
| 150 | _RestoreProject => 'RestoreProject', | ||
| 151 | _temp => 'temp', # make last | ||
| 152 | }; | ||
| 153 | |||
| 154 | =head2 | ||
| 155 | |||
| 156 | as shown in gui | ||
| 157 | |||
| 158 | =cut | ||
| 159 | |||
| 160 | my @superflow_names_gui; | ||
| 161 | $superflow_names_gui[0] = 'Project'; | ||
| 162 | $superflow_names_gui[1] = 'Sseg2su'; | ||
| 163 | $superflow_names_gui[2] = 'Sucat'; | ||
| 164 | $superflow_names_gui[3] = 'iSpectralAnalysis'; | ||
| 165 | $superflow_names_gui[4] = 'iVelAnalysis'; | ||
| 166 | $superflow_names_gui[5] = 'iTopMute'; | ||
| 167 | $superflow_names_gui[6] = 'iBottomMute'; | ||
| 168 | $superflow_names_gui[7] = 'fk'; | ||
| 169 | $superflow_names_gui[8] = 'Synseis'; | ||
| 170 | $superflow_names_gui[9] = 'iPick'; | ||
| 171 | $superflow_names_gui[10] = 'immodpg'; | ||
| 172 | $superflow_names_gui[11] = 'Project Backup'; | ||
| 173 | $superflow_names_gui[12] = 'Project Restore'; | ||
| 174 | $superflow_names_gui[13] = 'temp'; # make last | ||
| 175 | |||
| 176 | |||
| 177 | =head2 | ||
| 178 | |||
| 179 | as shown in gui | ||
| 180 | allows reverse aliasing between gui | ||
| 181 | names and the internal program names | ||
| 182 | ?? | ||
| 183 | |||
| 184 | =cut | ||
| 185 | |||
| 186 | my $superflow_names_gui_h ={ | ||
| 187 | _Project => 'Project', | ||
| 188 | _Sseg2su => 'Sseg2su', | ||
| 189 | _Sucat => 'Sucat', | ||
| 190 | _iSpectralAnalysis => 'iSpectralAnalysis', | ||
| 191 | _iVelAnalysis => 'iVelAnalysis', | ||
| 192 | _iTopMute => 'iTopMute', | ||
| 193 | _iBottomMute => 'iBottomMute', | ||
| 194 | _fk => 'fk', | ||
| 195 | _Synseis => 'Synseis', | ||
| 196 | _iPick => 'iPick', | ||
| 197 | _immodpg => 'immodpg', | ||
| 198 | _ProjectBackup => 'Project Backup', | ||
| 199 | _ProjectRestore => 'Project Restore', | ||
| 200 | _temp => 'temp', # make last | ||
| 201 | |||
| 202 | }; | ||
| 203 | |||
| 204 | =head2 | ||
| 205 | |||
| 206 | as shown in gui | ||
| 207 | |||
| 208 | =cut | ||
| 209 | |||
| 210 | my @superflow_names; | ||
| 211 | $superflow_names[0] = 'fk'; | ||
| 212 | $superflow_names[1] = 'ProjectVariables'; | ||
| 213 | $superflow_names[2] = 'SetProject'; | ||
| 214 | $superflow_names[3] = 'iSpectralAnalysis'; | ||
| 215 | $superflow_names[4] = 'iVelAnalysis'; | ||
| 216 | $superflow_names[5] = 'iTopMute'; | ||
| 217 | $superflow_names[6] = 'iBottomMute'; | ||
| 218 | $superflow_names[7] = 'Project'; | ||
| 219 | $superflow_names[8] = 'Synseis'; | ||
| 220 | $superflow_names[9] = 'Sseg2su'; | ||
| 221 | $superflow_names[10] = 'Sucat'; | ||
| 222 | $superflow_names[11] = 'iPick'; | ||
| 223 | $superflow_names[12] = 'immodpg'; | ||
| 224 | $superflow_names[13] = 'Project Backup'; | ||
| 225 | $superflow_names[14] = 'Project Restore'; | ||
| 226 | $superflow_names[15] = 'temp'; # make last | ||
| 227 | |||
| 228 | =head2 | ||
| 229 | |||
| 230 | internal names for configuration files | ||
| 231 | missing _fk and _Sudipfilter TODO | ||
| 232 | |||
| 233 | =cut | ||
| 234 | |||
| 235 | my @alias_superflow_names; | ||
| 236 | $alias_superflow_names[0] = 'Sudipfilt'; | ||
| 237 | $alias_superflow_names[1] = 'SetProject'; | ||
| 238 | $alias_superflow_names[2] = 'SetProject'; | ||
| 239 | $alias_superflow_names[3] = 'iSpectralAnalysis'; | ||
| 240 | $alias_superflow_names[4] = 'iVA'; | ||
| 241 | $alias_superflow_names[5] = 'iTopMute'; | ||
| 242 | $alias_superflow_names[6] = 'iBottomMute'; | ||
| 243 | $alias_superflow_names[7] = 'Project'; | ||
| 244 | $alias_superflow_names[8] = 'Synseis'; | ||
| 245 | $alias_superflow_names[9] = 'Sseg2su'; | ||
| 246 | $alias_superflow_names[10] = 'Sucat'; | ||
| 247 | $alias_superflow_names[11] = 'iPick'; | ||
| 248 | $alias_superflow_names[12] = 'immodpg'; | ||
| 249 | $alias_superflow_names[13] = 'BackupProject'; | ||
| 250 | $alias_superflow_names[14] = 'RestoreProject'; | ||
| 251 | $alias_superflow_names[15] = 'temp'; # make last | ||
| 252 | |||
| 253 | # to match each alias_superflow_names (above) | ||
| 254 | # Tools subdirectories | ||
| 255 | my @developer_Tools_categories; | ||
| 256 | $developer_Tools_categories[0] = 'big_streams'; | ||
| 257 | $developer_Tools_categories[1] = '.'; | ||
| 258 | $developer_Tools_categories[2] = '.'; | ||
| 259 | $developer_Tools_categories[3] = 'big_streams'; | ||
| 260 | $developer_Tools_categories[4] = 'big_streams'; | ||
| 261 | $developer_Tools_categories[5] = 'big_streams'; | ||
| 262 | $developer_Tools_categories[6] = 'big_streams'; | ||
| 263 | $developer_Tools_categories[7] = '.'; | ||
| 264 | $developer_Tools_categories[8] = 'big_streams'; | ||
| 265 | $developer_Tools_categories[9] = 'big_streams'; | ||
| 266 | $developer_Tools_categories[10] = 'big_streams'; | ||
| 267 | $developer_Tools_categories[11] = 'big_streams'; | ||
| 268 | $developer_Tools_categories[12] = 'big_streams'; | ||
| 269 | $developer_Tools_categories[13] = 'big_streams'; | ||
| 270 | $developer_Tools_categories[14] = 'big_streams'; | ||
| 271 | |||
| 272 | |||
| 273 | |||
| 274 | |||
| 275 | =head2 | ||
| 276 | |||
| 277 | internal names for programs | ||
| 278 | |||
| 279 | =cut | ||
| 280 | |||
| 281 | my @superflow_config_names; | ||
| 282 | $superflow_config_names[0] = 'Sudipfilt'; | ||
| 283 | $superflow_config_names[1] = 'ProjectVariables'; | ||
| 284 | $superflow_config_names[2] = 'ProjectVariables'; | ||
| 285 | $superflow_config_names[3] = 'iSpectralAnalysis'; | ||
| 286 | $superflow_config_names[4] = 'iVA'; | ||
| 287 | $superflow_config_names[5] = 'iTopMute'; | ||
| 288 | $superflow_config_names[6] = 'iBottomMute'; | ||
| 289 | $superflow_config_names[7] = 'Project'; | ||
| 290 | $superflow_config_names[8] = 'Synseis'; | ||
| 291 | $superflow_config_names[9] = 'Sseg2su'; | ||
| 292 | $superflow_config_names[10] = 'Sucat'; | ||
| 293 | $superflow_config_names[11] = 'iPick'; | ||
| 294 | $superflow_config_names[12] = 'immodpg'; | ||
| 295 | $superflow_config_names[13] = 'BackupProject'; | ||
| 296 | $superflow_config_names[14] = 'RestoreProject'; | ||
| 297 | $superflow_config_names[15] = 'temp'; # make last | ||
| 298 | |||
| 299 | |||
| 300 | =head2 | ||
| 301 | |||
| 302 | internal names for configuration files | ||
| 303 | |||
| 304 | =cut | ||
| 305 | |||
| 306 | my @alias_superflow_config_names; | ||
| 307 | $alias_superflow_config_names[0] = 'Sudipfilt'; | ||
| 308 | $alias_superflow_config_names[1] = 'Project_Variables'; | ||
| 309 | $alias_superflow_config_names[2] = 'Project# make last_Variables'; | ||
| 310 | $alias_superflow_config_names[3] = 'iSpectralAnalysis'; | ||
| 311 | $alias_superflow_config_names[4] = 'iVA'; | ||
| 312 | $alias_superflow_config_names[5] = 'iTopMute'; | ||
| 313 | $alias_superflow_config_names[6] = 'iBottomMute'; | ||
| 314 | $alias_superflow_config_names[7] = 'Project'; | ||
| 315 | $alias_superflow_config_names[8] = 'Synseis'; | ||
| 316 | $alias_superflow_config_names[9] = 'Sseg2su'; | ||
| 317 | $alias_superflow_config_names[10] = 'Sucat'; | ||
| 318 | $alias_superflow_config_names[11] = 'iPick'; | ||
| 319 | $alias_superflow_config_names[12] = 'immodpg'; | ||
| 320 | $alias_superflow_config_names[13] = 'BackupProject'; | ||
| 321 | $alias_superflow_config_names[14] = 'RestoreProject'; | ||
| 322 | $alias_superflow_config_names[15] = 'temp'; # make last | ||
| 323 | |||
| 324 | # for the visible buttons in the GUI only | ||
| 325 | # e.g., Path and PL_SEISMIC are not visible to the user | ||
| 326 | # but Flow and SaveAs are. | ||
| 327 | my @alias_FileDialog_button_label; | ||
| 328 | |||
| 329 | $alias_FileDialog_button_label[0] = 'Open'; | ||
| 330 | $alias_FileDialog_button_label[1] = 'SaveAs'; | ||
| 331 | $alias_FileDialog_button_label[2] = 'Delete'; | ||
| 332 | |||
| 333 | my @file_dialog_type; | ||
| 334 | |||
| 335 | # for the visible Help button in the GUI | ||
| 336 | my @alias_help_menubutton_label; | ||
| 337 | $alias_help_menubutton_label[0] = 'About'; | ||
| 338 | $alias_help_menubutton_label[1] = 'InstallationGuide'; | ||
| 339 | $alias_help_menubutton_label[2] = 'Tutorial'; | ||
| 340 | |||
| 341 | my $alias_help_menubutton_label_h = { | ||
| 342 | _About => 'About', | ||
| 343 | _InstallationGuide => 'InstallationGuide', | ||
| 344 | _Tutorial => 'Tutorial', | ||
| 345 | }; | ||
| 346 | |||
| 347 | # in spec files for when Data_PL_SEISMIC, may | ||
| 348 | # not necessarily informed by DATA_DIR_IN and DATA_DIR_OUT | ||
| 349 | $file_dialog_type[0] = 'Data_PL_SEISMIC', | ||
| 350 | |||
| 351 | # in spec files, for when Data is informed | ||
| 352 | # by DATA_DIR_IN and DATA_DIR_OUT | ||
| 353 | $file_dialog_type[1] = 'Data'; | ||
| 354 | $file_dialog_type[2] = 'Path'; | ||
| 355 | $file_dialog_type[3] = 'Open'; | ||
| 356 | $file_dialog_type[4] = 'SaveAs'; | ||
| 357 | $file_dialog_type[5] = 'last_dir_in_path'; | ||
| 358 | $file_dialog_type[5] = 'Delete'; | ||
| 359 | $file_dialog_type[6] = 'Data_SEISMIC_TXT'; | ||
| 360 | $file_dialog_type[7] = 'Home'; | ||
| 361 | |||
| 362 | my $file_dialog_type_h = { | ||
| 363 | _Data_PL_SEISMIC => 'Data_PL_SEISMIC', | ||
| 364 | _Data_SEISMIC_TXT => 'Data_SEISMIC_TXT', | ||
| 365 | _Data => 'Data', | ||
| 366 | _Delete => 'Delete', | ||
| 367 | _Home => 'Home', | ||
| 368 | _Path => 'Path', | ||
| 369 | _last_dir_in_path => 'last_dir_in_path', | ||
| 370 | _Flow => 'Flow', | ||
| 371 | _Open => 'Open', | ||
| 372 | _SaveAs => 'SaveAs', | ||
| 373 | _Save => 'Save', | ||
| 374 | }; | ||
| 375 | my @flow_type; | ||
| 376 | $flow_type[0] = 'user_built'; | ||
| 377 | $flow_type[1] = 'pre_built_superflow'; | ||
| 378 | |||
| 379 | my $flow_type_h = { | ||
| 380 | _user_built => 'user_built', | ||
| 381 | _pre_built_superflow => 'pre_built_superflow', | ||
| 382 | }; | ||
| 383 | |||
| 384 | my $help_menubutton_type_h = { _About => 'About', | ||
| 385 | _InstallationGuide => 'InstallationGuide', | ||
| 386 | _Tutorial => 'Tutorial', | ||
| 387 | }; | ||
| 388 | |||
| 389 | my $purpose = { _geopsy => 'geopsy', }; | ||
| 390 | |||
| 391 | my $var = { | ||
| 392 | _1_character => '1', | ||
| 393 | _14_characters => '14', | ||
| 394 | _13_characters => '13', | ||
| 395 | _12_characters => '12', | ||
| 396 | _11_characters => '11', | ||
| 397 | _2_characters => '2', | ||
| 398 | _3_characters => '3', | ||
| 399 | _4_characters => '4', | ||
| 400 | _5_characters => '5', | ||
| 401 | _6_characters => '6', | ||
| 402 | _7_characters => '7', | ||
| 403 | _8_characters => '8', | ||
| 404 | _10_characters => '10', | ||
| 405 | _15_characters => '15', | ||
| 406 | _20_characters => '20', | ||
| 407 | _30_characters => '30', | ||
| 408 | _32_characters => '32', | ||
| 409 | _35_characters => '35', | ||
| 410 | _37_characters => '37', | ||
| 411 | _40_characters => '40', | ||
| 412 | _45_characters => '45', | ||
| 413 | _ACTIVE_PROJECT => '/.L_SU/configuration/active', | ||
| 414 | _App => 'App', | ||
| 415 | _SeismicUnixGui => 'SeismicUnixGui', | ||
| 416 | _Project_config => 'Project.config', | ||
| 417 | _skip_directory => 'archive', | ||
| 418 | _base_file_name => 'base_file_name', | ||
| 419 | _clear_text => '', | ||
| 420 | _color_default => 'grey', # first color listbox to select | ||
| 421 | _config_file_format => '%-35s%1s%-20s', | ||
| 422 | _eight_characters => '8', | ||
| 423 | _empty_string => '', | ||
| 424 | _failure => -1, | ||
| 425 | _false => 0, | ||
| 426 | _data_name => 'data_name', | ||
| 427 | _base_file_name => 'base_file_name', | ||
| 428 | _five_pixels => '5', | ||
| 429 | _five_pixel_borderwidth => 5, | ||
| 430 | _five_lines => '5', | ||
| 431 | _forward_slash => "/", | ||
| 432 | _1_line => '1', | ||
| 433 | _2_lines => '2', | ||
| 434 | _3_lines => '3', | ||
| 435 | _4_lines => '4', | ||
| 436 | _8_lines => '8', | ||
| 437 | _7_lines => '7', | ||
| 438 | _1_pixel => '1', | ||
| 439 | _3_pixels => '3', | ||
| 440 | _6_pixels => '6', | ||
| 441 | _24_pixels => '24', | ||
| 442 | _12_pixels => '12', | ||
| 443 | _18_pixels => '18', | ||
| 444 | _NaN => 'NaN', | ||
| 445 | _five_characters => '5', | ||
| 446 | _flow => 'frame', | ||
| 447 | _half_tiny_width => '6', | ||
| 448 | _hundred_characters => '100', | ||
| 449 | _large__width => '200', | ||
| 450 | _light_gray => 'gray90', | ||
| 451 | _literal_empty_string => '\'\'', | ||
| 452 | _l_suplot_box_positionNsize => '600x800+1000+1000', | ||
| 453 | _l_suplot_width => '500', | ||
| 454 | _l_suplot_height => '300', | ||
| 455 | _log_file_txt => 'log.txt', | ||
| 456 | _main_window_geometry => '1100x750+100+100', | ||
| 457 | _medium_width => '100', | ||
| 458 | _message_box_geometry => '400x250+400+400', | ||
| 459 | _min_clicks4save_button => 45, # B4:19; fixing leaky param_widget memory | ||
| 460 | _min_clicks4flow_select => 8, # fixing leaky param_widget memory | ||
| 461 | _ms2s => 0.001, | ||
| 462 | _my_arial => "-*-arial-normal-r-*-*-*-120-*-*-*-*-*-*", | ||
| 463 | # _my_purple => 'MediumPurple1', | ||
| 464 | _my_purple => 'LightSteelBlue', | ||
| 465 | _my_white => 'white', | ||
| 466 | # _my_yellow => 'LightGoldenrod1', | ||
| 467 | _my_yellow => 'white', | ||
| 468 | _my_dark_grey => 'DarkGrey', | ||
| 469 | _my_black => 'black', | ||
| 470 | _my_light_green => 'LightGreen', | ||
| 471 | _my_light_grey => 'LightGrey', | ||
| 472 | _my_pink => 'pink', | ||
| 473 | _my_light_blue => 'LightBlue', | ||
| 474 | _my_dialog_box_geometry => '400x250+400+400', | ||
| 475 | _neutral => 'neutral', | ||
| 476 | _no_pixel => '0', | ||
| 477 | _no_dir => '/', | ||
| 478 | _no_borderwidth => '0', | ||
| 479 | _nu => 'nu', | ||
| 480 | _no => 'no', | ||
| 481 | _on => 'on', | ||
| 482 | _off => 'off', | ||
| 483 | _one_character => '1', | ||
| 484 | _one_pixel => '1', | ||
| 485 | _one_pixel_borderwidth => '1', | ||
| 486 | _program_title => 'SeismicUnixGui V0.87.6', | ||
| 487 | _project_selector_title => 'Project Selector', | ||
| 488 | _l_suplot_title => 'L_suplot', | ||
| 489 | _project_selector_title => 'Project Selector', | ||
| 490 | _project_selector => 'Project', | ||
| 491 | _project_selector_box_position => '600x600+100+100', | ||
| 492 | _null_sunix_value => '', | ||
| 493 | _reservation_color_default => | ||
| 494 | 'grey', # first choice for reserving a color listbox | ||
| 495 | _suffix_pl => '.pl', | ||
| 496 | _suffix_pm => '.pm', | ||
| 497 | _superflow => 'menubutton', | ||
| 498 | _small_width => '50', | ||
| 499 | _string2startFlowSetUp => '->clear\(\);', # for regex in perl_flow | ||
| 500 | _string2endFlowSetUp => '->Step\(\);', # for regex in perl_flow | ||
| 501 | _standard_width => '20', | ||
| 502 | _sunix_select => 'sunix_select', | ||
| 503 | _ten_characters => '10', | ||
| 504 | _test_dir_name => 't', | ||
| 505 | _eleven_characters => '11', | ||
| 506 | _five_characters => '5', | ||
| 507 | _thirty_characters => '30', | ||
| 508 | _18_characters => '18', | ||
| 509 | _thirty_five_characters => '35', | ||
| 510 | _tiny_width => '12', | ||
| 511 | _true => 1, | ||
| 512 | _us_per_s => 1000000, | ||
| 513 | _twenty_characters => '20', | ||
| 514 | _us2s => 0.000001, | ||
| 515 | _username => 'tester', | ||
| 516 | _very_small_width => '25', | ||
| 517 | _very_large_width => '500', | ||
| 518 | _yes => 'yes', | ||
| 519 | _white => 'white', | ||
| 520 | |||
| 521 | }; | ||
| 522 | |||
| 523 | =pod | ||
| 524 | _length = (max number of entries + 1) | ||
| 525 | |||
| 526 | =cut | ||
| 527 | |||
| 528 | my $param = { | ||
| 529 | _max_entry_num => 90, | ||
| 530 | _first_entry_num => 0, | ||
| 531 | _first_entry_idx => 0, | ||
| 532 | _final_entry_num => 90, | ||
| 533 | _final_entry_idx => 90, | ||
| 534 | _default_index => 0, | ||
| 535 | _length => 90, # max number of allowable parameters in GUI | ||
| 536 | }; | ||
| 537 | |||
| 538 | my @developer_sunix_categories; | ||
| 539 | $developer_sunix_categories[0] = 'data'; | ||
| 540 | $developer_sunix_categories[1] = 'datum'; | ||
| 541 | $developer_sunix_categories[2] = 'plot'; | ||
| 542 | $developer_sunix_categories[3] = 'filter'; | ||
| 543 | $developer_sunix_categories[4] = 'header'; | ||
| 544 | $developer_sunix_categories[5] = 'inversion'; | ||
| 545 | $developer_sunix_categories[6] = 'migration'; | ||
| 546 | $developer_sunix_categories[7] = 'model'; | ||
| 547 | $developer_sunix_categories[8] = 'NMO_Vel_Stk'; | ||
| 548 | $developer_sunix_categories[9] = 'par'; | ||
| 549 | $developer_sunix_categories[10] = 'picks'; | ||
| 550 | $developer_sunix_categories[11] = 'shapeNcut'; | ||
| 551 | $developer_sunix_categories[12] = 'shell'; | ||
| 552 | $developer_sunix_categories[13] = 'statsMath'; | ||
| 553 | $developer_sunix_categories[14] = 'transform'; | ||
| 554 | $developer_sunix_categories[15] = 'well'; | ||
| 555 | $developer_sunix_categories[16] = ''; | ||
| 556 | $developer_sunix_categories[17] = ''; | ||
| 557 | |||
| 558 | =head2 Classify | ||
| 559 | programs | ||
| 560 | |||
| 561 | =cut | ||
| 562 | |||
| 563 | =head2 sub get_developer_sunix_category | ||
| 564 | =cut | ||
| 565 | |||
| 566 | sub get_developer_sunix_category_h { | ||
| 567 | |||
| 568 | my ($self) = @_; | ||
| 569 | my $developer_sunix_category_h = { | ||
| 570 | |||
| 571 | _ctrlstrip => $developer_sunix_categories[0], | ||
| 572 | _data_in => $developer_sunix_categories[0], | ||
| 573 | _data_out => $developer_sunix_categories[0], | ||
| 574 | _dt1tosu => $developer_sunix_categories[0], | ||
| 575 | _segbread => $developer_sunix_categories[0], | ||
| 576 | _segdread => $developer_sunix_categories[0], | ||
| 577 | _segyread => $developer_sunix_categories[0], | ||
| 578 | _segyscan => $developer_sunix_categories[0], | ||
| 579 | _segywrite => $developer_sunix_categories[0], | ||
| 580 | _suoldtonew => $developer_sunix_categories[0], | ||
| 581 | _supack1 => $developer_sunix_categories[0], | ||
| 582 | _supack2 => $developer_sunix_categories[0], | ||
| 583 | _suswapbytes => $developer_sunix_categories[0], | ||
| 584 | _suunpack1 => $developer_sunix_categories[0], | ||
| 585 | _suunpack2 => $developer_sunix_categories[0], | ||
| 586 | _wpc1uncomp2 => $developer_sunix_categories[0], | ||
| 587 | _wpccompress => $developer_sunix_categories[0], | ||
| 588 | _wpcuncompress => $developer_sunix_categories[0], | ||
| 589 | _wptcomp => $developer_sunix_categories[0], | ||
| 590 | _wptuncomp => $developer_sunix_categories[0], | ||
| 591 | _wtcomp => $developer_sunix_categories[0], | ||
| 592 | _wtuncomp => $developer_sunix_categories[0], | ||
| 593 | |||
| 594 | _sudatumk2dr => $developer_sunix_categories[1], | ||
| 595 | _sudatumk2ds => $developer_sunix_categories[1], | ||
| 596 | _sukdmdcr => $developer_sunix_categories[1], | ||
| 597 | _sukdmdcs => $developer_sunix_categories[1], | ||
| 598 | |||
| 599 | _subfilt => $developer_sunix_categories[3], | ||
| 600 | _succfilt => $developer_sunix_categories[3], | ||
| 601 | _sucddecon => $developer_sunix_categories[3], | ||
| 602 | _sudipfilt => $developer_sunix_categories[3], | ||
| 603 | _sueipofi => $developer_sunix_categories[3], | ||
| 604 | _sufilter => $developer_sunix_categories[3], | ||
| 605 | _sufrac => $developer_sunix_categories[3], | ||
| 606 | _sufwatrim => $developer_sunix_categories[3], | ||
| 607 | _sufxdecon => $developer_sunix_categories[3], | ||
| 608 | _sugroll => $developer_sunix_categories[3], | ||
| 609 | _suk1k2filter => $developer_sunix_categories[3], | ||
| 610 | _sukfilter => $developer_sunix_categories[3], | ||
| 611 | _sulfaf => $developer_sunix_categories[3], | ||
| 612 | _sumedian => $developer_sunix_categories[3], | ||
| 613 | _supef => $developer_sunix_categories[3], | ||
| 614 | _suphase => $developer_sunix_categories[3], | ||
| 615 | _suphidecon => $developer_sunix_categories[3], | ||
| 616 | _supofilt => $developer_sunix_categories[3], | ||
| 617 | _supolar => $developer_sunix_categories[3], | ||
| 618 | _susmgauss2 => $developer_sunix_categories[3], | ||
| 619 | _sutvband => $developer_sunix_categories[3], | ||
| 620 | |||
| 621 | _segyclean => $developer_sunix_categories[4], | ||
| 622 | _segyhdrmod => $developer_sunix_categories[4], | ||
| 623 | _segyhdrs => $developer_sunix_categories[4], | ||
| 624 | _setbhed => $developer_sunix_categories[4], | ||
| 625 | _su3dchart => $developer_sunix_categories[4], | ||
| 626 | _suabshw => $developer_sunix_categories[4], | ||
| 627 | _suaddhead => $developer_sunix_categories[4], | ||
| 628 | _suaddstatics => $developer_sunix_categories[4], | ||
| 629 | _suahw => $developer_sunix_categories[4], | ||
| 630 | _suascii => $developer_sunix_categories[4], | ||
| 631 | _suazimuth => $developer_sunix_categories[4], | ||
| 632 | _sucdpbin => $developer_sunix_categories[4], | ||
| 633 | _suchart => $developer_sunix_categories[4], | ||
| 634 | _suchw => $developer_sunix_categories[4], | ||
| 635 | _sucliphead => $developer_sunix_categories[4], | ||
| 636 | _sucountkey => $developer_sunix_categories[4], | ||
| 637 | _sudumptrace => $developer_sunix_categories[4], | ||
| 638 | _suedit => $developer_sunix_categories[4], | ||
| 639 | _sugethw => $developer_sunix_categories[4], | ||
| 640 | _suhtmath => $developer_sunix_categories[4], | ||
| 641 | _sukeycount => $developer_sunix_categories[4], | ||
| 642 | _sulcthw => $developer_sunix_categories[4], | ||
| 643 | _sulhead => $developer_sunix_categories[4], | ||
| 644 | _supaste => $developer_sunix_categories[4], | ||
| 645 | _surandhw => $developer_sunix_categories[4], | ||
| 646 | _surange => $developer_sunix_categories[4], | ||
| 647 | _suresstat => $developer_sunix_categories[4], | ||
| 648 | _susehw => $developer_sunix_categories[4], | ||
| 649 | _sushw => $developer_sunix_categories[4], | ||
| 650 | _sustatic => $developer_sunix_categories[4], | ||
| 651 | _sustaticB => $developer_sunix_categories[4], | ||
| 652 | _sustaticrrs => $developer_sunix_categories[4], | ||
| 653 | _sustrip => $developer_sunix_categories[4], | ||
| 654 | _sutrcount => $developer_sunix_categories[4], | ||
| 655 | _suutm => $developer_sunix_categories[4], | ||
| 656 | _suxedit => $developer_sunix_categories[4], | ||
| 657 | _swapbhed => $developer_sunix_categories[4], | ||
| 658 | |||
| 659 | _suinvco3d => $developer_sunix_categories[5], | ||
| 660 | _suinvvxzco => $developer_sunix_categories[5], | ||
| 661 | _suinvzco3d => $developer_sunix_categories[5], | ||
| 662 | |||
| 663 | _sudatumfd => $developer_sunix_categories[6], | ||
| 664 | _sugazmig => $developer_sunix_categories[6], | ||
| 665 | _sukdmig2d => $developer_sunix_categories[6], | ||
| 666 | _suktmig2d => $developer_sunix_categories[6], | ||
| 667 | _sukdmig3d => $developer_sunix_categories[6], | ||
| 668 | _sumigfd => $developer_sunix_categories[6], | ||
| 669 | _sumigffd => $developer_sunix_categories[6], | ||
| 670 | _sumiggbzo => $developer_sunix_categories[6], | ||
| 671 | _sumiggbzoan => $developer_sunix_categories[6], | ||
| 672 | _sumigprefd => $developer_sunix_categories[6], | ||
| 673 | _sumigpreffd => $developer_sunix_categories[6], | ||
| 674 | _sumigprepspi => $developer_sunix_categories[6], | ||
| 675 | _sumigpresp => $developer_sunix_categories[6], | ||
| 676 | _sumigps => $developer_sunix_categories[6], | ||
| 677 | _sumigpspi => $developer_sunix_categories[6], | ||
| 678 | _sumigpsti => $developer_sunix_categories[6], | ||
| 679 | _sumigsplit => $developer_sunix_categories[6], | ||
| 680 | _sumigtk => $developer_sunix_categories[6], | ||
| 681 | _sumigtopo2d => $developer_sunix_categories[6], | ||
| 682 | _sustolt => $developer_sunix_categories[6], | ||
| 683 | _sutifowler => $developer_sunix_categories[6], | ||
| 684 | |||
| 685 | _cat_su => $developer_sunix_categories[12], | ||
| 686 | _evince => $developer_sunix_categories[12], | ||
| 687 | _sugetgthr => $developer_sunix_categories[12], | ||
| 688 | _suputgthr => $developer_sunix_categories[12], | ||
| 689 | |||
| 690 | _addrvl3d => $developer_sunix_categories[7], | ||
| 691 | _cellauto => $developer_sunix_categories[7], | ||
| 692 | _elacheck => $developer_sunix_categories[7], | ||
| 693 | _elamodel => $developer_sunix_categories[7], | ||
| 694 | _elaray => $developer_sunix_categories[7], | ||
| 695 | _elasyn => $developer_sunix_categories[7], | ||
| 696 | _elatriuni => $developer_sunix_categories[7], | ||
| 697 | _gbbeam => $developer_sunix_categories[7], | ||
| 698 | _grm => $developer_sunix_categories[7], | ||
| 699 | _normray => $developer_sunix_categories[7], | ||
| 700 | _raydata => $developer_sunix_categories[7], | ||
| 701 | _suaddevent => $developer_sunix_categories[7], | ||
| 702 | _suaddnoise => $developer_sunix_categories[7], | ||
| 703 | _sudgwaveform => $developer_sunix_categories[7], | ||
| 704 | _suea2df => $developer_sunix_categories[7], | ||
| 705 | _sufctanismod => $developer_sunix_categories[7], | ||
| 706 | _sufdmod1 => $developer_sunix_categories[7], | ||
| 707 | _sufdmod2 => $developer_sunix_categories[7], | ||
| 708 | _sufdmod2_pml => $developer_sunix_categories[7], | ||
| 709 | _sugoupillaud => $developer_sunix_categories[7], | ||
| 710 | _sugoupillaudpo => $developer_sunix_categories[7], | ||
| 711 | _suimp2d => $developer_sunix_categories[7], | ||
| 712 | _suimp3d => $developer_sunix_categories[7], | ||
| 713 | _suimpedance => $developer_sunix_categories[7], | ||
| 714 | _sujitter => $developer_sunix_categories[7], | ||
| 715 | _sukdsyn2d => $developer_sunix_categories[7], | ||
| 716 | _sunull => $developer_sunix_categories[7], | ||
| 717 | _suplane => $developer_sunix_categories[7], | ||
| 718 | _surandspike => $developer_sunix_categories[7], | ||
| 719 | _surandstat => $developer_sunix_categories[7], | ||
| 720 | _suremac2d => $developer_sunix_categories[7], | ||
| 721 | _suremel2dan => $developer_sunix_categories[7], | ||
| 722 | _suspike => $developer_sunix_categories[7], | ||
| 723 | _susyncz => $developer_sunix_categories[7], | ||
| 724 | _susynlv => $developer_sunix_categories[7], | ||
| 725 | _susynlvcw => $developer_sunix_categories[7], | ||
| 726 | _susynlvfti => $developer_sunix_categories[7], | ||
| 727 | _susynvxz => $developer_sunix_categories[7], | ||
| 728 | _susynvxzcs => $developer_sunix_categories[7], | ||
| 729 | |||
| 730 | _dzdv => $developer_sunix_categories[8], | ||
| 731 | _sucvs4fowler => $developer_sunix_categories[8], | ||
| 732 | _sudivstack => $developer_sunix_categories[8], | ||
| 733 | _sudmofk => $developer_sunix_categories[8], | ||
| 734 | _sudmofkcw => $developer_sunix_categories[8], | ||
| 735 | _sudmotivz => $developer_sunix_categories[8], | ||
| 736 | _sudmotx => $developer_sunix_categories[8], | ||
| 737 | _sudmovz => $developer_sunix_categories[8], | ||
| 738 | _suilog => $developer_sunix_categories[8], | ||
| 739 | _suintvel => $developer_sunix_categories[8], | ||
| 740 | _sulog => $developer_sunix_categories[8], | ||
| 741 | _sunmo => $developer_sunix_categories[8], | ||
| 742 | _sunmo_a => $developer_sunix_categories[8], | ||
| 743 | _supws => $developer_sunix_categories[8], | ||
| 744 | _surecip => $developer_sunix_categories[8], | ||
| 745 | _sureduce => $developer_sunix_categories[8], | ||
| 746 | _surelan => $developer_sunix_categories[8], | ||
| 747 | _surelanan => $developer_sunix_categories[8], | ||
| 748 | _suresamp => $developer_sunix_categories[8], | ||
| 749 | _sushift => $developer_sunix_categories[8], | ||
| 750 | _sustack => $developer_sunix_categories[8], | ||
| 751 | _sustkvel => $developer_sunix_categories[8], | ||
| 752 | _sutaupnmo => $developer_sunix_categories[8], | ||
| 753 | _sutihaledmo => $developer_sunix_categories[8], | ||
| 754 | _sutivel => $developer_sunix_categories[8], | ||
| 755 | _sutsq => $developer_sunix_categories[8], | ||
| 756 | _suttoz => $developer_sunix_categories[8], | ||
| 757 | _suvel2df => $developer_sunix_categories[8], | ||
| 758 | _suvelan => $developer_sunix_categories[8], | ||
| 759 | _suvelan_nccs => $developer_sunix_categories[8], | ||
| 760 | _suvelan_nsel => $developer_sunix_categories[8], | ||
| 761 | _suztot => $developer_sunix_categories[8], | ||
| 762 | |||
| 763 | _a2b => $developer_sunix_categories[9], | ||
| 764 | _a2i => $developer_sunix_categories[9], | ||
| 765 | _b2a => $developer_sunix_categories[9], | ||
| 766 | _bhedtopar => $developer_sunix_categories[9], | ||
| 767 | _cshotplot => $developer_sunix_categories[9], | ||
| 768 | _float2ibm => $developer_sunix_categories[9], | ||
| 769 | _ftnstrip => $developer_sunix_categories[9], | ||
| 770 | _ftnunstrip => $developer_sunix_categories[9], | ||
| 771 | _makevel => $developer_sunix_categories[9], | ||
| 772 | _mkparfile => $developer_sunix_categories[9], | ||
| 773 | _transp => $developer_sunix_categories[9], | ||
| 774 | _unif2 => $developer_sunix_categories[9], | ||
| 775 | _unif2aniso => $developer_sunix_categories[9], | ||
| 776 | _unisam => $developer_sunix_categories[9], | ||
| 777 | _unisam2 => $developer_sunix_categories[9], | ||
| 778 | _vel2stiff => $developer_sunix_categories[9], | ||
| 779 | |||
| 780 | _elaps => $developer_sunix_categories[2], | ||
| 781 | _lcmap => $developer_sunix_categories[2], | ||
| 782 | _lprop => $developer_sunix_categories[2], | ||
| 783 | _psbbox => $developer_sunix_categories[2], | ||
| 784 | _pscontour => $developer_sunix_categories[2], | ||
| 785 | _pscube => $developer_sunix_categories[2], | ||
| 786 | _pscubecontour => $developer_sunix_categories[2], | ||
| 787 | _psepsi => $developer_sunix_categories[2], | ||
| 788 | _psgraph => $developer_sunix_categories[2], | ||
| 789 | _psimage => $developer_sunix_categories[2], | ||
| 790 | _pslabel => $developer_sunix_categories[2], | ||
| 791 | _psmanager => $developer_sunix_categories[2], | ||
| 792 | _psmerge => $developer_sunix_categories[2], | ||
| 793 | _psmovie => $developer_sunix_categories[2], | ||
| 794 | _pswigb => $developer_sunix_categories[2], | ||
| 795 | _pswigp => $developer_sunix_categories[2], | ||
| 796 | _scmap => $developer_sunix_categories[2], | ||
| 797 | _spsplot => $developer_sunix_categories[2], | ||
| 798 | _supscontour => $developer_sunix_categories[2], | ||
| 799 | _supscube => $developer_sunix_categories[2], | ||
| 800 | _supscubecontour => $developer_sunix_categories[2], | ||
| 801 | _supsgraph => $developer_sunix_categories[2], | ||
| 802 | _supsimage => $developer_sunix_categories[2], | ||
| 803 | _supsmax => $developer_sunix_categories[2], | ||
| 804 | _supsmovie => $developer_sunix_categories[2], | ||
| 805 | _supswigb => $developer_sunix_categories[2], | ||
| 806 | _supswigp => $developer_sunix_categories[2], | ||
| 807 | _suxcontour => $developer_sunix_categories[2], | ||
| 808 | _suxgraph => $developer_sunix_categories[2], | ||
| 809 | _suximage => $developer_sunix_categories[2], | ||
| 810 | _suxmax => $developer_sunix_categories[2], | ||
| 811 | _suxmovie => $developer_sunix_categories[2], | ||
| 812 | _suxpicker => $developer_sunix_categories[2], | ||
| 813 | _suxwigb => $developer_sunix_categories[2], | ||
| 814 | _xcontour => $developer_sunix_categories[2], | ||
| 815 | _xgraph => $developer_sunix_categories[2], | ||
| 816 | _ximage => $developer_sunix_categories[2], | ||
| 817 | _xmovie => $developer_sunix_categories[2], | ||
| 818 | _xpicker => $developer_sunix_categories[2], | ||
| 819 | _xwigb => $developer_sunix_categories[2], | ||
| 820 | |||
| 821 | _suflip => $developer_sunix_categories[11], | ||
| 822 | _sugain => $developer_sunix_categories[11], | ||
| 823 | _sugprfb => $developer_sunix_categories[11], | ||
| 824 | _sukill => $developer_sunix_categories[11], | ||
| 825 | _sumute => $developer_sunix_categories[11], | ||
| 826 | _suramp => $developer_sunix_categories[11], | ||
| 827 | _supad => $developer_sunix_categories[11], | ||
| 828 | _susort => $developer_sunix_categories[11], | ||
| 829 | _susplit => $developer_sunix_categories[11], | ||
| 830 | _suvcat => $developer_sunix_categories[11], | ||
| 831 | _suwind => $developer_sunix_categories[11], | ||
| 832 | |||
| 833 | _cpftrend => $developer_sunix_categories[13], | ||
| 834 | _entropy => $developer_sunix_categories[13], | ||
| 835 | _farith => $developer_sunix_categories[13], | ||
| 836 | _suacor => $developer_sunix_categories[13], | ||
| 837 | _suacorfrac => $developer_sunix_categories[13], | ||
| 838 | _sualford => $developer_sunix_categories[13], | ||
| 839 | _suattributes => $developer_sunix_categories[13], | ||
| 840 | _suconv => $developer_sunix_categories[13], | ||
| 841 | _sufwmix => $developer_sunix_categories[13], | ||
| 842 | _suhistogram => $developer_sunix_categories[13], | ||
| 843 | _suhrot => $developer_sunix_categories[13], | ||
| 844 | _suinterp => $developer_sunix_categories[13], | ||
| 845 | _sumax => $developer_sunix_categories[13], | ||
| 846 | _sumean => $developer_sunix_categories[13], | ||
| 847 | _sumix => $developer_sunix_categories[13], | ||
| 848 | _sunormalize => $developer_sunix_categories[13], | ||
| 849 | _suop => $developer_sunix_categories[13], | ||
| 850 | _suop2 => $developer_sunix_categories[13], | ||
| 851 | _suweight => $developer_sunix_categories[13], | ||
| 852 | _suxcor => $developer_sunix_categories[13], | ||
| 853 | _suxmax => $developer_sunix_categories[13], | ||
| 854 | |||
| 855 | _dctcomp => $developer_sunix_categories[14], | ||
| 856 | _suamp => $developer_sunix_categories[14], | ||
| 857 | _succepstrum => $developer_sunix_categories[14], | ||
| 858 | _sucepstrum => $developer_sunix_categories[14], | ||
| 859 | _sucwt => $developer_sunix_categories[14], | ||
| 860 | _succwt => $developer_sunix_categories[14], | ||
| 861 | _sufft => $developer_sunix_categories[14], | ||
| 862 | _sugabor => $developer_sunix_categories[14], | ||
| 863 | _suicepstrum => $developer_sunix_categories[14], | ||
| 864 | _suhilb => $developer_sunix_categories[14], | ||
| 865 | _suifft => $developer_sunix_categories[14], | ||
| 866 | _suminphase => $developer_sunix_categories[14], | ||
| 867 | _suphasevel => $developer_sunix_categories[14], | ||
| 868 | _suspecfk => $developer_sunix_categories[14], | ||
| 869 | _suspecfx => $developer_sunix_categories[14], | ||
| 870 | _sutaup => $developer_sunix_categories[14], | ||
| 871 | |||
| 872 | _las2su => $developer_sunix_categories[15], | ||
| 873 | _subackus => $developer_sunix_categories[15], | ||
| 874 | _subackush => $developer_sunix_categories[15], | ||
| 875 | _sugassman => $developer_sunix_categories[15], | ||
| 876 | _sulprime => $developer_sunix_categories[15], | ||
| 877 | _suwellrf => $developer_sunix_categories[15], | ||
| 878 | |||
| 879 | }; | ||
| 880 | |||
| 881 | return ($developer_sunix_category_h); | ||
| 882 | |||
| 883 | } | ||
| 884 | |||
| 885 | my @sunix_data_programs = ( | ||
| 886 | "ctrlstrip", "data_in", "data_out", "dt1tosu", | ||
| 887 | "segbread", "segdread", "segyread", "segyscan", | ||
| 888 | "segywrite", "suoldtonew", "supack1", "supack2", | ||
| 889 | "suswapbytes", "suunpack1", "suunpack2", "wpc1uncomp2", | ||
| 890 | "wpccompress", "wpcuncompress", "wptcomp", "wptuncomp", | ||
| 891 | "wtcomp", "wtuncomp", | ||
| 892 | ); | ||
| 893 | |||
| 894 | my @sunix_datum_programs = | ||
| 895 | ( "sudatumk2dr", "sudatumk2ds", "sukdmdcr", "sukdmdcs", ); | ||
| 896 | |||
| 897 | my @sunix_filter_programs = ( | ||
| 898 | "subfilt", "succfilt", "sucddecon", "sudipfilt", | ||
| 899 | "sueipofi", "sufilter", "sufrac", "sufwatrim", | ||
| 900 | "sufxdecon", | ||
| 901 | "sugroll", "suk1k2filter", "sukfilter", "sulfaf", | ||
| 902 | "sumedian", "supef", "suphase", "suphidecon", | ||
| 903 | "supofilt", "supolar", "susmgauss2", "sutvband", | ||
| 904 | ); | ||
| 905 | |||
| 906 | my @sunix_header_programs = ( | ||
| 907 | "segyclean", "segyhdrmod", "segyhdrs", "setbhed", | ||
| 908 | "su3dchart", "suabshw", "suaddhead", "suaddstatics", | ||
| 909 | "suahw", "suascii", "suazimuth", "sucdpbin", | ||
| 910 | "suchart", "suchw", "sucliphead", "sucountkey", | ||
| 911 | "sudumptrace", "suedit", "sugethw", "suhtmath", | ||
| 912 | "sukeycount", "sulcthw", "sulhead", "supaste", | ||
| 913 | "surandhw", "surange", "suresstat", "susehw", | ||
| 914 | "sushw", | ||
| 915 | "sustatic", "sustaticB", "sustaticrrs", "sustrip", | ||
| 916 | "sutrcount", "suutm", "suxedit", "swapbhed", | ||
| 917 | ); | ||
| 918 | |||
| 919 | my @sunix_inversion_programs = ( "suinvco3d", "suinvvxzco", "suinvzco3d", ); | ||
| 920 | |||
| 921 | my @sunix_migration_programs = ( | ||
| 922 | "sudatumfd", "sugazmig", "sukdmig2d", "suktmig2d", | ||
| 923 | "sukdmig3d", "sumigfd", "sumigffd", "sumiggbzo", | ||
| 924 | "sumiggbzoan", "sumigprefd", "sumigpreffd", "sumigprepspi", | ||
| 925 | "sumigpresp", "sumigps", "sumigpspi", "sumigpsti", | ||
| 926 | "sumigsplit", | ||
| 927 | "sumigtk", "sumigtopo2d", "sustolt", "sutifowler", | ||
| 928 | ); | ||
| 929 | |||
| 930 | my @sunix_shell_programs = ( "cat_su", "evince", "sugetgthr", "suputgthr", ); | ||
| 931 | |||
| 932 | =pod | ||
| 933 | |||
| 934 | |||
| 935 | =cut | ||
| 936 | |||
| 937 | my @sunix_model_programs = ( | ||
| 938 | "addrvl3d", "cellauto", "elacheck", "elamodel", | ||
| 939 | "elaray", "elasyn", "elatriuni", "gbbeam", | ||
| 940 | "grm", "normray", "raydata", "suaddevent", | ||
| 941 | "suaddnoise", "sudgwaveform", "suea2df", "sufctanismod", | ||
| 942 | "sufdmod1", "sufdmod2", "sufdmod2_pml", "sugoupillaud", | ||
| 943 | "sugoupillaudpo", "suimp2d", "suimp3d", "suimpedance", | ||
| 944 | "sujitter", "sukdsyn2d", "sunull", "suplane", | ||
| 945 | "surandspike", "surandstat", "suremac2d", "suremel2dan", | ||
| 946 | "suspike", "susyncz", "susynlv", "susynlvcw", | ||
| 947 | "susynlvfti", "susynvxz", "susynvxzcs", | ||
| 948 | ); | ||
| 949 | |||
| 950 | my @sunix_NMO_Vel_Stk_programs = ( | ||
| 951 | "dzdv", "sucvs4fowler", "sudivstack", "sudmofk", | ||
| 952 | "sudmofkcw", "sudmotivz", "sudmotx", "sudmovz", | ||
| 953 | "suilog", "suintvel", "sulog", "sunmo", | ||
| 954 | "sunmo_a", "supws", "surecip", "sureduce", | ||
| 955 | "surelan", "surelanan", "suresamp", "sushift", | ||
| 956 | "sustack", "sustkvel", "sutaupnmo", "sutihaledmo", | ||
| 957 | "sutivel", "sutsq", "suttoz", "suvel2df", | ||
| 958 | "suvelan", "suvelan_nccs", "suvelan_nsel", "suztot", | ||
| 959 | ); | ||
| 960 | |||
| 961 | my @sunix_par_programs = ( | ||
| 962 | "a2b", "a2i", "b2a", "bhedtopar", | ||
| 963 | "cshotplot", "float2ibm", "ftnstrip", "ftnunstrip", | ||
| 964 | "makevel", "mkparfile", "transp", "unif2", | ||
| 965 | "unif2aniso", "unisam", "unisam2","vel2stiff", | ||
| 966 | |||
| 967 | ); | ||
| 968 | |||
| 969 | my @sunix_picks_programs = ( | ||
| 970 | |||
| 971 | ); | ||
| 972 | |||
| 973 | my @sunix_plot_programs = ( | ||
| 974 | "elaps", "lcmap", "lprop", "psbbox", | ||
| 975 | "pscontour", "pscube", "pscubecontour", "psepsi", | ||
| 976 | "psgraph", "psimage", "pslabel", "psmanager", | ||
| 977 | "psmerge", "psmovie", "pswigb", "pswigp", | ||
| 978 | "scmap", "spsplot", "supscontour", "supscube", | ||
| 979 | "supscubecontour", "supsgraph", "supsimage", "supsmax", | ||
| 980 | "supsmovie", "supswigb", "supswigp", "suxcontour", | ||
| 981 | "suxgraph", "suximage", "suxmax", "suxmovie", | ||
| 982 | "suxpicker", "suxwigb", "xcontour","xgraph", | ||
| 983 | "ximage", "xmovie", "xpicker", "xwigb", | ||
| 984 | ); | ||
| 985 | |||
| 986 | my @sunix_shapeNcut_programs = ( | ||
| 987 | "suflip", "sugain", "sugprfb", "sukill", "sumute", "susort", | ||
| 988 | "suramp", | ||
| 989 | "susplit", "suwind", "supad", "suvcat", | ||
| 990 | ); | ||
| 991 | |||
| 992 | my @sunix_statsMath_programs = ( | ||
| 993 | "cpftrend", "entropy", "farith", "suacor", | ||
| 994 | "suacorfrac", "sualford", "suattributes", "suconv", | ||
| 995 | "sufwmix", "suhistogram", "suhrot", "suinterp", | ||
| 996 | "sumax", "sumean", "sumix", "suop", | ||
| 997 | "sunormalize", | ||
| 998 | "suop2", "suweight", "suxcor", "suxmax", | ||
| 999 | ); | ||
| 1000 | |||
| 1001 | my @sunix_transform_programs = ( | ||
| 1002 | "dctcomp", "suamp", "succepstrum", "sucepstrum", | ||
| 1003 | "sucwt", "succwt", "sufft", "sugabor", | ||
| 1004 | "suhilb", | ||
| 1005 | "suicepstrum", "suifft", "suphasevel", "suspecfk", | ||
| 1006 | "suminphase", | ||
| 1007 | "suspecfx", "sutaup", | ||
| 1008 | ); | ||
| 1009 | |||
| 1010 | my @sunix_well_programs = | ||
| 1011 | ( "las2su", "subackus", "subackush", "sugassman", "sulprime", "suwellrf", ); | ||
| 1012 | |||
| 1013 | $var->{_sunix_data_programs} = \@sunix_data_programs; | ||
| 1014 | $var->{_sunix_datum_programs} = \@sunix_datum_programs; | ||
| 1015 | $var->{_sunix_plot_programs} = \@sunix_plot_programs; | ||
| 1016 | $var->{_sunix_filter_programs} = \@sunix_filter_programs; | ||
| 1017 | $var->{_sunix_inversion_programs} = \@sunix_inversion_programs; | ||
| 1018 | $var->{_sunix_header_programs} = \@sunix_header_programs; | ||
| 1019 | $var->{_sunix_migration_programs} = \@sunix_migration_programs; | ||
| 1020 | $var->{_sunix_shell_programs} = \@sunix_shell_programs; | ||
| 1021 | $var->{_sunix_model_programs} = \@sunix_model_programs; | ||
| 1022 | $var->{_sunix_NMO_Vel_Stk_programs} = \@sunix_NMO_Vel_Stk_programs; | ||
| 1023 | $var->{_sunix_par_programs} = \@sunix_par_programs; | ||
| 1024 | $var->{_sunix_picks_programs} = \@sunix_picks_programs; | ||
| 1025 | $var->{_sunix_shapeNcut_programs} = \@sunix_shapeNcut_programs; | ||
| 1026 | $var->{_sunix_statsMath_programs} = \@sunix_statsMath_programs; | ||
| 1027 | $var->{_sunix_transform_programs} = \@sunix_transform_programs; | ||
| 1028 | $var->{_sunix_well_programs} = \@sunix_well_programs; | ||
| 1029 | |||
| 1030 | sub _get_global_libs { | ||
| 1031 | my (@self) = @_; | ||
| 1032 | |||
| 1033 | # empty string is predefined herein | ||
| 1034 | if ( length $path4SeismicUnixGui ) { | ||
| 1035 | |||
| 1036 | print( | ||
| 1037 | "L_SU_global_constants _get_global_libs L_SU = $path4SeismicUnixGui\n" | ||
| 1038 | ); | ||
| 1039 | |||
| 1040 | my $global_libs = { | ||
| 1041 | _configs => $path4SeismicUnixGui . '/configs', | ||
| 1042 | _configs_big_streams => $path4SeismicUnixGui | ||
| 1043 | . '/configs/big_streams', | ||
| 1044 | _developer => $path4SeismicUnixGui . '/developer/Stripped', | ||
| 1045 | _misc => $path4SeismicUnixGui . '/misc', | ||
| 1046 | _param => $path4SeismicUnixGui . '/configs/', | ||
| 1047 | _script => $path4SeismicUnixGui . '/script/', | ||
| 1048 | _specs => $path4SeismicUnixGui . '/specs', | ||
| 1049 | _sunix => $path4SeismicUnixGui . '/sunix', | ||
| 1050 | _big_streams => $path4SeismicUnixGui . '/big_streams/', | ||
| 1051 | _images => $path4SeismicUnixGui . '/images/', | ||
| 1052 | _default_path => './', | ||
| 1053 | }; | ||
| 1054 | |||
| 1055 | return ($global_libs); | ||
| 1056 | |||
| 1057 | } | ||
| 1058 | else { | ||
| 1059 | my $path4SeismicUnixGui = _default_path(); | ||
| 1060 | |||
| 1061 | # print("L1042, L_SU_global_constants, global_libs, L_SU was missing\n"); | ||
| 1062 | # print( | ||
| 1063 | #"\nL1044. L_SU_global_constants, Using default L_SU = $path4SeismicUnixGui\n" | ||
| 1064 | # ); | ||
| 1065 | |||
| 1066 | my $global_libs = { | ||
| 1067 | _configs => $path4SeismicUnixGui . '/configs', | ||
| 1068 | _configs_big_streams => $path4SeismicUnixGui | ||
| 1069 | . '/configs/big_streams', | ||
| 1070 | _developer => $path4SeismicUnixGui . '/developer/Stripped', | ||
| 1071 | _misc => $path4SeismicUnixGui . '/misc', | ||
| 1072 | _param => $path4SeismicUnixGui . '/configs/', | ||
| 1073 | _script => $path4SeismicUnixGui . '/script/', | ||
| 1074 | _specs => $path4SeismicUnixGui . '/specs', | ||
| 1075 | _sunix => $path4SeismicUnixGui . '/sunix', | ||
| 1076 | _big_streams => $path4SeismicUnixGui . '/big_streams/', | ||
| 1077 | _images => $path4SeismicUnixGui . '/images/', | ||
| 1078 | _default_path => './', | ||
| 1079 | }; | ||
| 1080 | |||
| 1081 | return ($global_libs); | ||
| 1082 | } | ||
| 1083 | |||
| 1084 | } | ||
| 1085 | |||
| 1086 | =head2 sub default_path | ||
| 1087 | |||
| 1088 | When Environment variables | ||
| 1089 | can not be found within Perl | ||
| 1090 | |||
| 1091 | =cut | ||
| 1092 | |||
| 1093 | sub _default_path { | ||
| 1094 | |||
| 1095 | my ($self) = @_; | ||
| 1096 | |||
| 1097 | # my $dir = 'App-SeismicUnixGui/lib/App/SeismicUnixGui'; | ||
| 1098 | # my $pathNfile = | ||
| 1099 | # 'App-SeismicUnixGui/lib/App/SeismicUnixGui/sunix/data/data_in.pm'; | ||
| 1100 | # my $look = `locate $pathNfile`; | ||
| 1101 | # my @field = split( $dir, $look ); | ||
| 1102 | # $path4SeismicUnixGui = $field[0] . $dir; | ||
| 1103 | |||
| 1104 | my $dir = 'App/SeismicUnixGui'; | ||
| 1105 | my $pathNfile = $dir . '/sunix/data/data_in.pm'; | ||
| 1106 | my $look = `locate $pathNfile`; | ||
| 1107 | my @field = split( $dir, $look ); | ||
| 1108 | $path4SeismicUnixGui = $field[0] . $dir; | ||
| 1109 | |||
| 1110 | my $result = $path4SeismicUnixGui; | ||
| 1111 | |||
| 1112 | # my $local_dir= getcwd(); | ||
| 1113 | # my $up2dir = '/../../'; | ||
| 1114 | # $path4SeismicUnixGui = $local_dir.$up2dir; | ||
| 1115 | # my $result = $path4SeismicUnixGui; | ||
| 1116 | # print("L_SU_global_constants,_default_path=$result\n"); | ||
| 1117 | |||
| 1118 | return ($result); | ||
| 1119 | } | ||
| 1120 | |||
| 1121 | # | ||
| 1122 | #sub _get_path4SeismicUnixGui { | ||
| 1123 | # my ($self) = @_; | ||
| 1124 | # if ( length $path4SeismicUnixGui ) { | ||
| 1125 | # | ||
| 1126 | # my $result = $path4SeismicUnixGui; | ||
| 1127 | # return ($result); | ||
| 1128 | # | ||
| 1129 | # } | ||
| 1130 | # else { | ||
| 1131 | # print( | ||
| 1132 | # "L_SU_global_constants, _get_path4SeismicUnixGui,missing variable\n" | ||
| 1133 | # ); | ||
| 1134 | # } | ||
| 1135 | # return (); | ||
| 1136 | #} | ||
| 1137 | # | ||
| 1138 | |||
| 1139 | sub alias_superflow_names_h { | ||
| 1140 | |||
| 1141 | my ($self) = @_; | ||
| 1142 | return ($alias_superflow_names_h); | ||
| 1143 | |||
| 1144 | } | ||
| 1145 | |||
| 1146 | sub alias_FileDialog_button_label_aref { # array ref | ||
| 1147 | #my $self = @_; | ||
| 1148 | return ( \@alias_FileDialog_button_label ); | ||
| 1149 | } | ||
| 1150 | |||
| 1151 | sub alias_help_menubutton_label_aref { | ||
| 1152 | # my ($self,$variable) = @_; # array ref | ||
| 1153 | my $result = \@alias_help_menubutton_label; | ||
| 1154 | return ( $result ); | ||
| 1155 | |||
| 1156 | } | ||
| 1157 | |||
| 1158 | sub alias_help_menubutton_label_h { # hash ref | ||
| 1159 | |||
| 1160 | return ($alias_help_menubutton_label_h); | ||
| 1161 | } | ||
| 1162 | |||
| 1163 | sub alias_superflow_names_aref { | ||
| 1164 | |||
| 1165 | return ( \@alias_superflow_names ); | ||
| 1166 | |||
| 1167 | } | ||
| 1168 | |||
| 1169 | sub alias_superflow_spec_names_h { | ||
| 1170 | |||
| 1171 | return ($alias_superflow_spec_names_h); | ||
| 1172 | } | ||
| 1173 | |||
| 1174 | sub developer_sunix_categories_aref { | ||
| 1175 | |||
| 1176 | return ( \@developer_sunix_categories ); | ||
| 1177 | |||
| 1178 | } | ||
| 1179 | |||
| 1180 | sub developer_Tools_categories_aref { | ||
| 1181 | |||
| 1182 | return ( \@developer_Tools_categories ); | ||
| 1183 | |||
| 1184 | } | ||
| 1185 | |||
| 1186 | #sub developer_Tools_categories_h { | ||
| 1187 | # | ||
| 1188 | # return ( $developer_Tools_categories_h ); | ||
| 1189 | # | ||
| 1190 | #} | ||
| 1191 | |||
| 1192 | sub file_dialog_type_aref { | ||
| 1193 | |||
| 1194 | return ( \@file_dialog_type ); | ||
| 1195 | } | ||
| 1196 | |||
| 1197 | sub file_dialog_type_href { | ||
| 1198 | |||
| 1199 | return ($file_dialog_type_h); | ||
| 1200 | } | ||
| 1201 | |||
| 1202 | sub flow_type_aref { | ||
| 1203 | |||
| 1204 | return ( \@flow_type ); | ||
| 1205 | } | ||
| 1206 | |||
| 1207 | sub flow_type_href { | ||
| 1208 | |||
| 1209 | return ($flow_type_h); | ||
| 1210 | } | ||
| 1211 | |||
| 1212 | sub get_path4SeismicUnixGui { | ||
| 1213 | my ($self) = @_; | ||
| 1214 | if ( length $path4SeismicUnixGui ) { | ||
| 1215 | |||
| 1216 | my $result = $path4SeismicUnixGui; | ||
| 1217 | return ($result); | ||
| 1218 | |||
| 1219 | } | ||
| 1220 | else { | ||
| 1221 | print( | ||
| 1222 | "L_SU_global_constants, get_path4SeismicUnixGui,missing variable\n" | ||
| 1223 | ); | ||
| 1224 | } | ||
| 1225 | return (); | ||
| 1226 | } | ||
| 1227 | # | ||
| 1228 | #=head2 sub get_pathNmodule_spec | ||
| 1229 | # | ||
| 1230 | #=cut | ||
| 1231 | # | ||
| 1232 | #sub get_pathNmodule_spec { | ||
| 1233 | # my ($self) = @_; | ||
| 1234 | # | ||
| 1235 | # if ( length $L_SU_global_constants->{_program_name} ) { | ||
| 1236 | # | ||
| 1237 | # my $program_name = $L_SU_global_constants->{_program_name}; | ||
| 1238 | # my $module_spec = $program_name . '_spec'; | ||
| 1239 | # my $module_spec_pm = $module_spec . '.pm'; | ||
| 1240 | # _set_file_name($module_spec_pm); | ||
| 1241 | # | ||
| 1242 | # my $path4spec = _get_path4spec_file(); | ||
| 1243 | # | ||
| 1244 | # my $pathNmodule_spec = $path4spec . '/' . $module_spec; | ||
| 1245 | # | ||
| 1246 | # # carp "pathNmodule_pm = $pathNmodule_pm"; | ||
| 1247 | # my $result = $pathNmodule_spec; | ||
| 1248 | # return ($result); | ||
| 1249 | # | ||
| 1250 | # } | ||
| 1251 | # else { | ||
| 1252 | # carp "missing program name"; | ||
| 1253 | # return (); | ||
| 1254 | # } | ||
| 1255 | # | ||
| 1256 | #} | ||
| 1257 | # | ||
| 1258 | #=head2 sub get_pathNmodule_spec_pm | ||
| 1259 | # | ||
| 1260 | #=cut | ||
| 1261 | # | ||
| 1262 | #sub get_pathNmodule_spec_pm { | ||
| 1263 | # my ($self) = @_; | ||
| 1264 | # | ||
| 1265 | # if ( length $L_SU_global_constants->{_program_name} ) { | ||
| 1266 | # | ||
| 1267 | # my $program_name = $L_SU_global_constants->{_program_name}; | ||
| 1268 | # my $module_spec_pm = $program_name . '_spec.pm'; | ||
| 1269 | # _set_file_name($module_spec_pm); | ||
| 1270 | # | ||
| 1271 | # my $path4spec = _get_path4spec_file(); | ||
| 1272 | # | ||
| 1273 | # my $pathNmodule_spec_pm = $path4spec . '/' . $module_spec_pm; | ||
| 1274 | # | ||
| 1275 | # # carp"pathNmodule_pm = $pathNmodule_pm"; | ||
| 1276 | # my $result = $pathNmodule_spec_pm; | ||
| 1277 | # return ($result); | ||
| 1278 | # | ||
| 1279 | # } | ||
| 1280 | # else { | ||
| 1281 | # carp "missing program name"; | ||
| 1282 | # return (); | ||
| 1283 | # } | ||
| 1284 | # | ||
| 1285 | #} | ||
| 1286 | |||
| 1287 | sub help_menubutton_type_href { | ||
| 1288 | |||
| 1289 | return ($help_menubutton_type_h); | ||
| 1290 | } | ||
| 1291 | |||
| 1292 | sub number_from_color_href { | ||
| 1293 | |||
| 1294 | my ($self) = @_; | ||
| 1295 | return ($number_from_color); | ||
| 1296 | |||
| 1297 | } | ||
| 1298 | |||
| 1299 | sub alias_superflow_config_names_aref { | ||
| 1300 | return ( \@alias_superflow_config_names ); | ||
| 1301 | } | ||
| 1302 | |||
| 1303 | sub set_file_name { | ||
| 1304 | |||
| 1305 | my ( $self, $file_name ) = @_; | ||
| 1306 | |||
| 1307 | if ( length $file_name ) { | ||
| 1308 | |||
| 1309 | $L_SU_global_constants->{_file_name} = $file_name; | ||
| 1310 | |||
| 1311 | # print("L_SU_global_constants,set_file_name,set_file_name = $L_SU_global_constants->{_file_name}\n"); | ||
| 1312 | |||
| 1313 | } | ||
| 1314 | else { | ||
| 1315 | print("L_SU_global_constants,set_file_name,missing variable"); | ||
| 1316 | } | ||
| 1317 | |||
| 1318 | } | ||
| 1319 | |||
| 1320 | sub superflow_config_names_aref { | ||
| 1321 | my (@self) = @_; | ||
| 1322 | return ( \@superflow_config_names ); | ||
| 1323 | } | ||
| 1324 | |||
| 1325 | sub superflow_names_aref { | ||
| 1326 | my (@self) = @_; | ||
| 1327 | return ( \@superflow_names ); | ||
| 1328 | } | ||
| 1329 | |||
| 1330 | sub superflow_names_gui_aref { | ||
| 1331 | my (@self) = @_; | ||
| 1332 | return ( \@superflow_names_gui ); | ||
| 1333 | |||
| 1334 | } | ||
| 1335 | |||
| 1336 | sub superflow_names_gui_h { | ||
| 1337 | my (@self) = @_; | ||
| 1338 | return ( $superflow_names_gui_h ); | ||
| 1339 | |||
| 1340 | } | ||
| 1341 | |||
| 1342 | sub global_libs { | ||
| 1343 | my (@self) = @_; | ||
| 1344 | |||
| 1345 | # empty string is predefined herein | ||
| 1346 | if ( length $path4SeismicUnixGui ) { | ||
| 1347 | |||
| 1348 | # print( | ||
| 1349 | #"1. L_SU_global_constants, global_libs,my L_SU = $path4SeismicUnixGui\n" | ||
| 1350 | # ); | ||
| 1351 | |||
| 1352 | my $global_libs = { | ||
| 1353 | _configs => $path4SeismicUnixGui . '/configs', | ||
| 1354 | _configs_big_streams => $path4SeismicUnixGui | ||
| 1355 | . '/configs/big_streams', | ||
| 1356 | _developer => $path4SeismicUnixGui . '/developer/Stripped', | ||
| 1357 | _misc => $path4SeismicUnixGui . '/misc', | ||
| 1358 | _param => $path4SeismicUnixGui . '/configs/', | ||
| 1359 | _script => $path4SeismicUnixGui . '/script/', | ||
| 1360 | _specs => $path4SeismicUnixGui . '/specs', | ||
| 1361 | _sunix => $path4SeismicUnixGui . '/sunix', | ||
| 1362 | _big_streams => $path4SeismicUnixGui . '/big_streams/', | ||
| 1363 | _images => $path4SeismicUnixGui . '/images/', | ||
| 1364 | _default_path => './', | ||
| 1365 | }; | ||
| 1366 | |||
| 1367 | return ($global_libs); | ||
| 1368 | |||
| 1369 | } | ||
| 1370 | else { | ||
| 1371 | my $path4SeismicUnixGui = _default_path(); | ||
| 1372 | |||
| 1373 | # print("2. L_SU_global_constants, global_libs,my L_SU = $path4SeismicUnixGui\n"); | ||
| 1374 | |||
| 1375 | my $global_libs = { | ||
| 1376 | _configs => $path4SeismicUnixGui . '/configs', | ||
| 1377 | _configs_big_streams => $path4SeismicUnixGui | ||
| 1378 | . '/configs/big_streams', | ||
| 1379 | _developer => $path4SeismicUnixGui . '/developer/Stripped', | ||
| 1380 | _misc => $path4SeismicUnixGui . '/misc', | ||
| 1381 | _param => $path4SeismicUnixGui . '/configs/', | ||
| 1382 | _script => $path4SeismicUnixGui . '/script/', | ||
| 1383 | _specs => $path4SeismicUnixGui . '/specs', | ||
| 1384 | _sunix => $path4SeismicUnixGui . '/sunix', | ||
| 1385 | _big_streams => $path4SeismicUnixGui . '/big_streams/', | ||
| 1386 | _images => $path4SeismicUnixGui . '/images/', | ||
| 1387 | _default_path => './', | ||
| 1388 | }; | ||
| 1389 | |||
| 1390 | return ($global_libs); | ||
| 1391 | } | ||
| 1392 | |||
| 1393 | } | ||
| 1394 | |||
| 1395 | sub purpose { | ||
| 1396 | return ($purpose); | ||
| 1397 | } | ||
| 1398 | |||
| 1399 | sub superflow_names_h { | ||
| 1400 | return ($superflow_names_h); | ||
| 1401 | } | ||
| 1402 | |||
| 1403 | sub var { | ||
| 1404 | my ($self) = @_; | ||
| 1405 | |||
| 1406 | # print "got to var\n"; | ||
| 1407 | return ($var); | ||
| 1408 | } | ||
| 1409 | |||
| 1410 | sub param { | ||
| 1411 | return ($param); | ||
| 1412 | } | ||
| 1413 | |||
| 1414 | 1; |