#!/bin/csh # run production year by year using run.ALL set y1=77 if ( ! $?SC ) then setenv SC 2 endif if ( ! $?TYPE ) then setenv TYPE vgr endif if ( ${SC} == 1 ) then set y2=80 else if ( ${TYPE} == 'pls' || ${TYPE} == 'sum' ) then set y2=90 else set y2=95 endif endif if ( x$1 != x ) then set y1=$1 endif if ( x$2 != x ) then set y2=$2 endif @ yr=${y1} while ( ${yr} <= ${y2} ) if ( ${yr} == 95 ) then # pushd jpl GETJPL >& OUT.GETJPL # popd endif run.ALL ${yr} ${yr} @ yr++ rm -f A_D* end