#!/bin/sh 

#This shell is designed to enter the Recording Parameters of a Seismic
#Survey into a table (HTML 3.0) for the WWW 8/1/95.  SCG


echo "<HEAD>" > tf
echo Enter the Area:
read area
echo Enter the Line: 
read line 
echo "<TITLE> COCORP "$area" "$line" Recording Parameters </TITLE>" >> tf
echo "<BODY>" >> tf
echo "<TABLE BORDER=1>" >> tf
echo "<TR><TH COLSPAN=10><H1><BR>COCORP "$area $line"</H1></TH></TR>" >> tf
echo Enter the Start Date of Operation:
read start
echo "<tr><td><B>Start Date</B></td><td> "$start"</td><td>" >> tf
echo Enter the End Date of Operation
read end
echo "<B>End Date</B></td><td> "$end"</td><td>" >> tf
echo Enter the Startup Date
read sd
echo "<B>Date of Startup </B></td><td> "$sd"</td><td>" >> tf
echo Enter the Name of the Contractor
read cont
echo "<TR><td><B>Contractor </B></td><td>$cont</td><td>" >> tf
echo Enter the Crew Number
read num
echo "<B>Crew Number </B></td><td>$num</td>" >> tf
echo "<TR><TH COLSPAN=6><tr><td>" >> tf
echo Enter the name of the COCORP Honcho for this line
read name
echo "<b>COCORP Honcho  </b></td><td>$name </td><td>" >> tf
echo Enter the name of the Startup Supervisor for this line
read sname
echo "<B>Startup Supervisor</B></td><td> $sname </td><td>" >> tf
echo Enter the surface coverage of this line
read coverage
echo "<b>Surface Coverage </b> </td><td>$coverage  </td>" >> tf
echo "<TR><TH COLSPAN=10><H3><BR>PARAMETERS</H3></TH></TR>" >> tf
echo Enter the type of Recording System i.e. MDS10, DFS5...
read rs
echo "<tr><td><b>Recording System  </b></td><td> $rs</td><td>" >> tf
echo Enter the number of channels
read channels
echo "<b>No. of Channels </b></td><td>" $channels "</td><td>" >> tf
echo Enter the Geophone Group Spacing
read ggs
echo "<b>Geophone Group Spacing </b></td><td>$ggs </td><td>" >> tf
echo Enter the Source Spacing
read ss
echo "<b>Source Spacing </b></td><td>$ss </td><td>" >> tf
echo Enter the Source/Nearest REceiver Offset
read offset
echo "<b>Source/Nearest Receiver Offset </b></td><td>$offset </td>" >> tf
echo Enter whether this line was primarly Pushed or Pulled
read pp
echo "<tr><td><b>Push/Pull </b></td><td>$pp </td><td>" >> tf
echo Enter whether this line was primary Offend or a Split Spread
read os
echo "<b>Offend of Split </b></td><td>$os </td><td>" >> tf
echo Was there Noise Reject
read nr
echo "<b>Noise Reject </b></td><td>$nr </td><td>" >> tf
echo Enter the Vibrator Power Setting
read vpower
echo "<b>Vibrator Power </b></td><td>$vpower </td><td>" >> tf
echo Enter the Stacking Fold
read fold
echo "<b>Stacking Fold  </b></td><td>$fold  </td>" >> tf
echo Enter the Sampling Interval
read sr
echo "<tr><td><b>Sampling Interval </b></td><td>$sr </td><td>" >> tf
echo Enter the Frequency of the Antialias Filter
read aaf
echo "<b>Antialias Filter </b></td><td>$aaf </td><td>" >> tf
echo Enter the Start of the Sweep Frequency
read sfreq
echo "<b>Sweep Freq. Start </b></td><td>$sfreq </td><td>" >> tf
echo Enter the End of the Sweep Frequency
read efreq
echo "<b>Sweep Freq. End </b></td><td>$efreq </td><td>" >> tf 
echo Enter the Sweep Duration
read duration
echo "<b>Sweep Duration </b></td><td>$duration </td>" >> tf
echo Enter the Total Record Time
read time
echo "<tr><td><b>Total Record Time </b></td><td>$time </td><td>" >> tf
echo Enter the Correlated Record Length
read crt
echo "<b>Correlated Record Length </b></td><td>$crt </td><td>" >> tf
echo Enter if this was an Upsweep or a Downsweep
read ud
echo "<b>Upsweep or Downsweep </b></td><td>$ud </td>" >> tf
echo Enter the number of Sweep per VP
read ns
echo "<td><b>Number of Sweeps per VP</b></td><td> $ns </td><td>" >> tf
echo Enter the Frequency of the Notch Filter
read notch
echo "<b>Notch Filter </b></td><td> $notch </td>" >> tf
echo "<TR><TH COLSPAN=10><H3><BR>Geophone Array</H3></TH></TR>" >> tf
echo Enter the Geophone Type Model Number
read geotype
echo "<tr><td><b>Geophone Type </b></td><td>$geotype</td>" >> tf
echo Enter the Natural Frequency of the Geophone
read geohz
echo "<th colspan=2><b>Natural Frequency of Geophone </b></td><td>$geohz </td>" >> tf
echo Enter the number of Geophones per Station
read geostat
echo "<th colspan=3><b>Number of Geophones per Station </b></td><td>$geostat </td><td>" >> tf
echo "<tr><th colspan=2><b>Spacing Between Geophone Elements </b></td><td>$geospace</td><td>" >> tf
echo Enter the Weighting Scheme of the geophones
ws
echo "<b>Weighting Scheme </b></td><td>$ws </td>" >> tf
echo Enter the Total Geophone Array Length
read geoarrlen
echo "<b><th colspan=3>Total Geophone Array Length </b></td><td>$geoarrlen </td>" >> tf
echo "<tr><th colspan=10><H3><BR>Source Array</H3></TH></TR>" >> tf
echo Enter the Vibrator Type
read vibtype
echo "<tr><td><b>Vibrator Type </b></td><td>$vibtype </td>" >> tf
echo Enter the Number of Vibrators Used for the Primary Array 
read novib
echo "<tr><th colspan=8><b>Primary Array</td><tr><td><b>No. of Vibrators</td><td></b>$novib </td><td>" >> tf
echo Enter the Spacing Between Vibrators for the Primary Array
read vspace
echo "<th colspan=2><b>Spacing Between Vibrators</b></td><td>  $vspace m</td><td>" >> tf
echo Enter the distance of the Moveup Between Sweeps for the Primary Array
read smbs
echo "<th colspan=2><b>Source Moveup Between Sweeps  </b></td><td>$smbs m</td>" >> tf
echo Enter where the 1st Vibrator Starts relative to the flag for the Primary Array
read firvib
echo "<tr><td><th colspan=4><b>1st Vibrator starts (relative to the flag)</b></td><td> $firvib m</td><td>" >> tf
echo Enter the Source Array Length for the Primary Array
read arraylength
echo "<th colspan=2><b>Array Source Array Length</td><td>  $arraylength m</td>" >> tf
echo Enter the Number of Vibrators for the Backup Array
read novib
echo "<tr><th colspan=8><b>Backup Array</td><tr><td><b>No. of Vibrators</td><td></b> $novib </td><td>" >> tf
echo Enter the Spacing Between Vibrators for the Backup Array
read vibspace
echo "<th colspan=2><b>Spacing Between Vibrators</b></td><td>  $vibspace m</td><td>" >> tf
echo Enter the source moveup between sweeps for the Backup Array
read smbs
echo "<th colspan=2><b>Source Moveup Between Sweeps  </b></td><td>$smbs m</td>" >> tf
echo Enter the posistion of the 1st Vibrator relative to the flag of the Backup Array
read vsrf
echo "<tr><td><th colspan=4><b>1st Vibrator starts (relative to the flag)</b></td><td> $vsrf m</td><td>" >> tf
echo Enter the Source Array Length of the Backup Array
read arraylength
echo "<th colspan=2><b>Array Source Array Length</td><td>  $arraylength  m</td>" >> tf
echo "</TABLE>" >> tf
