ifil='/Volumes/nascratch/soeddy/data/processed/momsoMinusWOASalt.nc'

%plotting details
 xlims=[0 360];
 ylims=[-78.15 -20];
 in=[-0.8:0.05:0.8];

%get grid once
 x=ncread(ifil,'LON');
 y=ncread(ifil,'LAT');
 [X,Y]=meshgrid(x,y); 


 sss=ncread(ifil,'DSALT'); 
 I=find(sss<-1e10); sss(I)=NaN; 
 sss=double(sss);
    figure; drawnow;
          m_proj('stereographic','lat',-90,'long',0,'radius',60);
          hold on
          [xxtt,yytt]=m_ll2xy(X,Y);
          flat_pcolor(xxtt,yytt,squee(sss(:,:,2))'), shading flat;
          amcolormap(colormap(ferretc('white_centered')),in); amcaxis(in);

          [cc]=amcolorbar('horiz',in);
          set(cc,'linewidth',2,'tickdir','out','fontweight','bold', ...
                  'xtick',in([1:4:end]),'xticklabel',in([1:4:end]),'position', ...
                  [0.130+0.15 0.1100+0.1 0.7750-0.3 0.0611/4], ...
                  'fontsize',10)
          m_grid('xtick',12,'tickdir','out','ytick',[-70:30:20],'linest','-', ...
                 'color','k','xticklabels',[],'yticklabels',[]);

          m_coast('patch',[0.7 0.7 0.7])
          legend('off')
   eval(['print -dtiff ../ps/MomosMinusWOA_sss.tiff'])
