function Cat=get_sdss(RA,Dec,SearchRadius,varargin)
% Search SDSS-DR10 local HTM catalog 
% Package: Catalog.search
% Description: Coordinate cone search of all the SDSS-DR10 sources in the
%              local HTM catalog.
% Input  : - J2000.0 R.A. 
%          - J2000.0 Dec.
%          - Search radius [arcsec default]. Default is 60".
%          * Arbitrary number of ...,key,val,.. arguments.
%            The following keywords are available:
%            'SearcRadUnits' - Search radius units. See convert.angular for
% Example: Cat=VO.search.get_sdss(pi,0.1,3600); 
% Reliable: 2


if (nargin==2)
    SearchRadius = 60;
end


DefV.SearcRadUnits        = 'arcsec';
InPar = InArg.populate_keyval(DefV,varargin,mfilename);

CatName              = 'SDSS_htmCat.hd5';
BaseName             = 'SDSS_htmS%07d.hd5';
ColCellFile          = 'SDSS_HTMcolcell.mat';
HTMinFile            = 1000;
VarBaseName          = 'SDSS_htm%07d';

Cat = VO.search.search_mhtm_cat(CatName,RA,Dec,SearchRadius,...
                                                    'SearcRadUnits',InPar.SearcRadUnits,...
                                                    'BaseName',BaseName,...
                                                    'ColCellFile',ColCellFile,...
                                                    'HTMinFile',HTMinFile,...
                                                    'VarBaseName',VarBaseName);
                                                
