=====================================================================================
Make archive of daily GAMIT solutions. (Run script from the day dir being archived)
Usage: sh_archive_soln -expt <expt> -yr <yr> -doy <doy> -archpth <dir> -level <val>
-dirext <extn> -filext <extn>
<expt> 4 char id of experiment to archive [Required]
<yr> 4 char year of solution to be archived [Required]
<doy> 4 char day of year of solution to be archived [Required]
<dir> Directory where solution is to be archived [Required]
<val> Level of archive. Ie what do you want to save. [Default 1]
<dirext> An extension added to the archive directory
<filext> An extension added to the files written to the archive directory
NOTE: Only h-files, o-files, q-files, and autcln files get filext
<compress> If specified large uncompressed files such as h-files are
compressed in the archive directory. [Default no]
Level 1 = autcln.cmd autcln.post.sum h-files o-files q-files k-files
x-files d-files i-files l-file j-files g-files session.info
Level 2 = autcln.post.sum h-file o-file q-file
NOTE: Archive is created in the directory given by your -archive and -doy entries.
Ie -archive /data35/simon/emed98 -doy 235 --> /data35/simon/emed98/235
Examples: sh_archive_soln -archpth /data35/simon/emed98/ -expt emed -yr 1998 -doy 235
sh_archive_soln -archpth /data35/simon/emed98/ -expt emed -yr 1998 -doy 235 -level 2
sh_archive_soln -archpth ../ -expt emed -yr 1998 -doy 235 -level 2 -filext test1
=====================================================================================