===========================================================================================
 Clean up daily GAMIT solutions directories. (Run from directory above day directories) 
  
 Usage: sh_cleanup -d <yr days> -s <yr d1 d2> -expt <expt> -orbt <orbt> -nav <brdc> -dopt <dopts> -copt <copts>
                   -aopt <aopts> -dprefix <prefix> -dsuffix <suffix> -archpth <dir> 
  
 -d yr days, where days is a list of day directories to be cleaned e.g. 1997 153 156 178 
 -s yr d1 d2, where d1 is start and d2 is stop day of directories to be cleaned e.g. 1997 153 178 
  
        <yr>  4 char year of observations. [Required] 
        <days and d1, d2> are 3 char day of year of observations. [Required] 
        <expt> 4 char id of experiment. If not given, gotten from station.info  
        <orbt> 4 char id of orbit. If not given, gotten from station.info  
        <brdc> 4 char id of navigation file. If not given, set to brdc  
        <dopts> types of files to be deleted from the day directory. 
        <copts> types of files to be compressed in the day directory. 
        <aopts> types of files to be archived under -archpth <dir>
        <dir> Directory where files are to be archived  
        <prefix> day directory prefix extension. 
        <suffix> day directory suffix extension. 
  
 Possible d-, c-, and a- opts: D, H, ao, ac, as, b, c, d, e, g, h, i, j, k, l, m, mkx, o, p, q, sh, t, x, ps, all
 
     Most of these are self-explanetary.  D is  DPH* (sky-map of phase residuals), H is the HISTORY file
                                          mkx is the makex infor file
  
 Examples: sh_cleanup -d 1999 235 237 -copt h k x -dopt D ao c
           sh_cleanup -s 1999 235 245 -copt h q as  -dopt all -aopt H h as -archpath /data35/simon/scec_archive 
  
 NOTE: Archive is created in the directory given by your -archive and -d/-s entries. 
       Ie -archpth /data35/simon/emed98 -d 1999 235 --> /data35/simon/emed98/1999_235  
  
  
===========================================================================================