#!/bin/bash # script to run example07 # see Example 7: Fitting an L-mode heliosheath spectra to a proton using ICPLT = 4 # # See Positive-Ion Least-Squares Fitting Routine # for the Voyager PLS Instrument" # # copy executable from /software_v_01/mjsanl/code cp ../code/test . # copy utility files from common cp ../common/gnutest_L . cp ../common/gnutest_M . cp ../common/reM . cp ../common/remove . # define data and sedr files using relative addressing export ft32="../../../v2/vgr/v2_vgr_2007.001.18_2008.001.12" export ft33="../../../v2/cruise_ssedr/v2_shortsedr_1990.092.00_2030.363.00" # these definitions are passed to mjsanl.f through a getenv call # the files are opened in mjsanl.f after this getenv call # execute the executable file ./test