#!/bin/sh [ "$2" ] || { cat <&2 Plot cartridge vehicle data -- 10/23/19 brent@mbari.org stdin is the deployment .csv data from trimSTOQS First arg is cartridge number(s) of interest {may be a regular expression} Second arg is directory containing all deployment *.out files Third optional arg is comma separated list of data fields to plot Any additional args are passed to quickplot END exit 1 } cart=$1 deployment=$2 fields=$3 shift 2 [ "$fields" ] && shift espLogs=`findcart "$cart" $deployment` || exit $? echo Plotting $espLogs for Cartridge $cart mergelog --tab=, --omit --epoch=0 "$fields" $espLogs | quickplot --labels --label-separator=, -W1 -I2\ --no-points --no-statusbar --no-tabs --no-buttons "$@" -