7.7.28. q_py_lta_heredoc.txtΒΆ

A "heredoc" is a way of pasting words onto the commandline
and having them end up in a file.  Copy and paste everything
below the line (starting with "cat << EOF"  and drop it into
a command-line terminal in the processing directory:

#----------------------------------


cat << EOF > q_py.cnt


  ## python processing

  ##### q_py.cnt is

  --yearbase 2009             ## required, for decimal day conversion
                              ##     (year of first data)
  --cruisename ps0918         ## always required; used for titles
  --dbname aship              ## database name; in adcpdb.  eg. a0918
  --datatype lta              ## datafile type
  --sonar os75bb              ## instrument letters, frequency, [ping]
  --ens_len  300              ## specify correct ensemble length

  --datadir ../../../vmdas_data/ps0918  ##use this option to avoid
                              ## copying or linking files

EOF



## ----------- don't copy this part! -----------


Now if you type

    cat q_py.cnt

you should see the file.