#------------------------------------------------------------------
# Command definitions for running Perl module DPCodas
#------------------------------------------------------------------

#------------------------------------------------------------------
cmd : scan_nbr
   Scan NB raw files for consistency and extract some data from them for
   viewing into Matlab.
dir : scan
cnt : scan_nbr.cnt
pars: year_base
opts: file_list out_file
exe :
   ! & scan_nbr $data->{'cnt'}
eval:
   & $data->{'file_list'} = "list.nbr" unless(exists($data->{'file_list'}))
   & $data->{'out_file'}  = "scan_nbr" unless(exists($data->{'out_file'}))
data:
   file_list: [file_list]
   out_file:  [out_file]
   year_base: [year_base]
   OPTIONS:
      error_check_options:
         ALL
      end
      config_check_options:
         ALL
      end
      data_stat_options:
         ALL
      end
      data_flag_options:
         ALL
      end
   end
   /*--- Time Ranges ---*/
   all
out:
   & $data->{'log_file'} = $data->{'out_file'} . '.log'
   & $data->{'sta_file'} = $data->{'out_file'} . '.sta'
   & $data->{'bin_file'} = $data->{'out_file'} . '.bin'

