#!/bin/csh -f #+ # OSIRIS library of scripts # # NAME # insamp - wrapper for osirisNsamp imag # # SYNOPSIS # insamp [Nsamp] # # DESCRIPTION # sets or returns the current numreads # # If no arguments are given, the current value is displayed. # # Will reset itime to minimum if needed. # # ARGUMENTS # # Nsamp - number of reads # # OPTIONS # # EXAMPLES # CDS-like => osirisNsamp imag 1 # mcds 16 => osirisNsamp spec 16 # # ENVIRONMENT VARIABLES # # FILES # # SERVERS & KEYWORDS # # SCRIPTS CALLED # # EXIT STATUS # 0 - normal exit, no error # 1 - script aborted by an interrupt # 2 - syncheck error # 3 - error parsing command line input # other errors... # # # # Modification History: # 2018jul10 - jlyke: Original #------------------------------------------------------ # Boiler plate for "-h" support for command autohelp. if ("$1" == "-h") then help $0 exit $status endif osirisNsamp imag $*