/[MITgcm]/MITgcm_contrib/bbl/make_input.m
ViewVC logotype

Diff of /MITgcm_contrib/bbl/make_input.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by dimitri, Thu Nov 18 04:00:04 2010 UTC revision 1.2 by dimitri, Mon Nov 22 22:29:56 2010 UTC
# Line 1  Line 1 
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;
# Line 12  bathy(:,14)=392; Line 13  bathy(:,14)=392;
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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22