--- MITgcm_contrib/bbl/make_input.m 2010/11/18 04:00:04 1.1 +++ MITgcm_contrib/bbl/make_input.m 2013/08/27 21:02:21 1.3 @@ -1,5 +1,6 @@ % cd ~/mitgcm/bbl/MITgcm_contrib/bbl +% generate bathymetry file - a periodic channel with sloping bottom bathy=372*ones(25,15); bathy(:,1)=0; bathy(:,2)=3000; @@ -12,7 +13,7 @@ clf, mypcolor(-bathy'); thincolorbar writebin('input/bathyFile.bin',-bathy); -sss=30*ones(25,15,2); -sss(:,15,:)=30.1; -clf, mypcolor(sss(:,:,2)'); thincolorbar -writebin('input/saltClim.bin',sss); +% generate initial salinity file +s=30*ones(25,15,25); +s(:,15,3)=30.1; +writebin('input/saltClim.bin',s);