sample_matlab_method.conf for Matlab method, level

# Specify where the matlab input file is coming from, either passed
#	along on the command line (use param), or specify the full
#	file path and name.
mat_file_names := param
#mat_file_names := /data/nbp0103/nbp0103_1hr_v1.mat

# Location of matlab program on your machine
matlab_command := /usr/local/bin/matlab

# Location for tempory command files created by the method.  They
#	are typically removed automatically by the program.
output_file_name_root := /tmp

# Location of the Bourne shell
shell := /bin/sh

#  If this optional entry is defined, it tells the program where
# 	to save a log of the program run.
logfile := /home/pleiades/rgroman/Logs/matlab_method.log

# Define the array name; the field name; the input position if
#	array, use 1 for vector or string;
#	input stucture (array, vector or string);  and the 
#	output format of the value.
field_name_1 := start_date, start_date, 1, string, %20s
field_name_2 := end_date, end_date, 1, string, %20s
field_name_4 := sal, sal, 1, vector, %8.4f

matlab_command_option_0 := -nosplash
matlab_command_option_1 := -nodisplay
matlab_command_option_2 := -nojvm

# Optional Matlab commands to include in the M-file
command_1 := if exist('yday', 'var') == 0
command_2 :=    if exist ('jday', 'var') 
command_3 :=            [row, col] = size (jday);
command_4 :=            if row == 1
command_5 :=                    jday = jday';
command_6 :=            end
command_7 :=            yday = jday;
command_8 :=    end
command_9 := end

# debug options are yes, no and keep.  "yes" results in the most output.
#	"keep" means to keep the files created by the program, but no
#	other debug messages are printed.
debug := no

