===========================================================================================
 Set up tables for GAMIT processing  
 
   Primary mode:  Link or copy all necessary files from gg/tables into the experiment tables directory
 
      sh_setup -yr <yr> [  -update <links/files/all>  -apr <apr> -series <eop> -localeop -newfmt_stinfo -newfmt_lfile ]
  
      Executed from the experiment directory.  Only the year is required.
 
      Action:  1) Execute links.tables to link the required EOP, ephemeris, station, satellite,
                  and ocean tide files.  Default EOP is usno.  
               2) Copy the required control files: process.defaults, sites.defaults, 
                  sestbl., sittbl., autcln.cmd, apriori coordinates.  The default for 
                  coordinates is itrf00.apr. 
               3) No files or links that exist will be overwritten unless
                  the -update option is specified
               4) The station.info and lfile. files will be old-format (< Release 10.1) 
                  by default, but new-format versions can be used (see below)
   
      Optional commands:
 
        <update> Set this to update (overwrite existing) links <links>, files <files>, 
                links and files <all>. [Default no] 
        <eop> The pole and ut1 series to be used. [Default usno] 
        <localeop> Set if you want to link eop files to pole.series and ut1.series 
                   in the local directory [Default no] 
        <apr> The file for coordinates that are not to be updated by GAMIT [Default itrf00.apr] 
        <newfmt_stinfo> copy to local tables and use the new format station.info 
        <newfmt_lfile> copy to local tables and use the .apr format lfile 
  
 
  Secondary mode:  Called by sh_gamit for each day to create links and files if they do not exist
                   and to update the lfile. from the apr file
  
      sh_setup -yr <yr> -doy <doy> -update <links/files/all> -apr <apr> -series <eop> -localeop  
                        -upd_l -tables <dir> > 
  
        where <doy>    3-character day of year.
              <upd_l>  Update the l-file with coordinates from the globk.apr file
  
===========================================================================================