#!/bin/bash # script to run example11 # see Example 11: Fitting an M-mode from Voyager 2 at Saturn using ICPLT = 5 # # 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/encounter_spl/spl.rmaster.v2.sat.txt" export ft33="../../../v2/encounter_ssedr/ssedr.v2.sat.txt" # 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