
           %% refsm being generated by quick_adcp.py
           yearbase = 2009;
           dbname = 'a_km';
           fixfile = 'a_km.gps';
           %%  end of section to be edited by user %
           % now call the engine, refsm_core
           refsm_core(dbname, fixfile, yearbase, ...
              'ensemble_secs', 120,...
              'ref_top', 2, 'ref_bot', 20);

        