| 1 | % cd ~/mitgcm/bbl/MITgcm_contrib/bbl | % cd ~/mitgcm/bbl/MITgcm_contrib/bbl | 
| 2 |  |  | 
| 3 |  | % generate bathymetry file - a periodic channel with sloping bottom | 
| 4 | bathy=372*ones(25,15); | bathy=372*ones(25,15); | 
| 5 | bathy(:,1)=0; | bathy(:,1)=0; | 
| 6 | bathy(:,2)=3000; | bathy(:,2)=3000; | 
| 13 | clf, mypcolor(-bathy'); thincolorbar | clf, mypcolor(-bathy'); thincolorbar | 
| 14 | writebin('input/bathyFile.bin',-bathy); | writebin('input/bathyFile.bin',-bathy); | 
| 15 |  |  | 
| 16 |  | % generate sea surface salinity file | 
| 17 | sss=30*ones(25,15,2); | sss=30*ones(25,15,2); | 
| 18 | sss(:,15,:)=30.1; | sss(:,15,:)=30.1; | 
| 19 | clf, mypcolor(sss(:,:,2)'); thincolorbar | clf, mypcolor(sss(:,:,2)'); thincolorbar |