#!/bin/sh

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

  MDL="${HOME}/hysplit"
  OUT="${MDL}/working"
  MET="${HOME}/Tutorial/volcano"
  cd $OUT

  echo "### $0 ###"

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

  olat=63.63
  olon=-19.62

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

  echo "'TITLE&','### $0 ### shift at 1000 km&'"  >LABELS.CFG
  ${MDL}/exec/parshift -iPARDUMP -oPARINIT -r10.0:1000.0:$olat:$olon
  ${MDL}/exec/parxplot -iPARINIT -k1 -z80 -j${MDL}/graphics/arlmap
  if [[ "$OSTYPE" == "darwin"* ]]; then
     open parxplot.ps    
  else
     gs parxplot.ps   
  fi
  echo "Enter to continue ..."; read x

  echo "'TITLE&','### $0 ### blended shift at 1000 km&'"  >LABELS.CFG
  ${MDL}/exec/parshift -b -iPARDUMP -oPARINIT -r10.0:1000.0:$olat:$olon
  ${MDL}/exec/parxplot -iPARINIT -k1 -z80 -j${MDL}/graphics/arlmap
  if [[ "$OSTYPE" == "darwin"* ]]; then
     open parxplot.ps    
  else
     gs parxplot.ps   
  fi
