#!/bin/bash
#
# This script expects an image file name as a command line argument
# It becomes $1 in the script
# 
# Use this to transfer an image with scp
# SSH must be set to allow passwordless login to the destination
#
# newsnap="scp -p $1 user@mycomputer.net:scratch/" 
# $newsnap
#
# Use this to load a local copy into ds9 
# Note that ds9 must see the image file directory
#
# newsnap="xpaset ds9 file fits $1 <$1"
# $newsnap
#
newsnap="xpaset ds9 file fits $1 <$1"
$newsnap
exit
