defaults.pl
changeset 33 866c881b3a4a
parent 32 6041a20feb39
child 34 e550db661c17
equal deleted inserted replaced
32:6041a20feb39 33:866c881b3a4a
     1 #======================================================================
     1 #======================================================================
     2 #                    D E F A U L T S . P L 
     2 #                    D E F A U L T S . P L 
     3 #                    doc: Tue Oct 11 17:11:21 2011
     3 #                    doc: Tue Oct 11 17:11:21 2011
     4 #                    dlm: Mon Oct 12 16:00:40 2015
     4 #                    dlm: Mon Jan  4 10:53:34 2016
     5 #                    (c) 2011 A.M. Thurnherr
     5 #                    (c) 2011 A.M. Thurnherr
     6 #                    uE-Info: 9 0 NIL 0 0 72 0 2 4 NIL ofnI
     6 #                    uE-Info: 65 64 NIL 0 0 72 0 2 4 NIL ofnI
     7 #======================================================================
     7 #======================================================================
     8 
     8 
     9 # HISTORY:
     9 # HISTORY:
    10 #	Oct 11, 2011: - created
    10 #	Oct 11, 2011: - created
    11 #	Oct 12, 2011: - added $processing_param_file
    11 #	Oct 12, 2011: - added $processing_param_file
    59 #	Jul 28, 2015: - implemented new plotting system
    59 #	Jul 28, 2015: - implemented new plotting system
    60 #	Jul 29, 2015: - implemented new plotting system
    60 #	Jul 29, 2015: - implemented new plotting system
    61 #	Sep  3, 2015: - renamed wsamp output and plot
    61 #	Sep  3, 2015: - renamed wsamp output and plot
    62 #   			  - changed out_w to out_wsamp
    62 #   			  - changed out_w to out_wsamp
    63 #	Sep 26, 2015: - added sidelobe editing params
    63 #	Sep 26, 2015: - added sidelobe editing params
       
    64 #	Oct 13, 2015: - addded support for $ENV{VERB}
       
    65 #	Jan  4, 2016: - decreased default vertical resolution to 20m
    64 
    66 
    65 #======================================================================
    67 #======================================================================
    66 # Data Input 
    68 # Data Input 
    67 #======================================================================
    69 #======================================================================
    68 
    70 
   106 #		1*:	UNIX-like (warnings and info messages that are not produced for every cast; *DEFAULT)
   108 #		1*:	UNIX-like (warnings and info messages that are not produced for every cast; *DEFAULT)
   107 #		2 :	progress messages and useful information
   109 #		2 :	progress messages and useful information
   108 #		>2:	debug messges
   110 #		>2:	debug messges
   109 #	- the most useful ones of these are 1 & 2
   111 #	- the most useful ones of these are 1 & 2
   110 
   112 
   111 &antsCardOpt(\$opt_v,1);
   113 &antsCardOpt(\$opt_v,$ENV{VERB});
       
   114 $opt_v = 1 unless numberp($opt_v);
   112 
   115 
   113 
   116 
   114 # output base name
   117 # output base name
   115 
   118 
   116 $out_basename = sprintf('%03d',$PROF);
   119 $out_basename = sprintf('%03d',$PROF);
   129 
   132 
   130 
   133 
   131 # output grid resolution in meters
   134 # output grid resolution in meters
   132 #	- value recorded in %outgrid_dz and used by [LADCP_w_regrid]
   135 #	- value recorded in %outgrid_dz and used by [LADCP_w_regrid]
   133 
   136 
   134 &antsFloatOpt(\$opt_o,10);
   137 &antsFloatOpt(\$opt_o,20);
   135 
   138 
   136 
   139 
   137 # the following variables limit the bins used to grid w_oean
   140 # the following variables limit the bins used to grid w_oean
   138 #	- in contrast to -b, the other bins are still used e.g. for BT 
   141 #	- in contrast to -b, the other bins are still used e.g. for BT 
   139 #	- values recorded in %outgrid_firstbin, %outgrid_lastbin
   142 #	- values recorded in %outgrid_firstbin, %outgrid_lastbin