#!/bin/bash # script to run example05 # see Example 5: Fitting an M-mode spectra to two protons and alpha full using ICPLT = 4 # in "MJSANL The 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_1978.001.06_1978.120.23" export ft33="../../../v2/cruise_ssedr/v2_shortsedr_1977.232.00_1979.186.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