/[MITgcm]/MITgcm_contrib/tides/test_tide_bc.m
ViewVC logotype

Annotation of /MITgcm_contrib/tides/test_tide_bc.m

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


Revision 1.1 - (hide annotations) (download)
Thu Mar 21 01:30:27 2013 UTC (12 years, 3 months ago) by dimitri
Branch: MAIN
adding Xiochun Wang's scripts for computing tidal forcing for regional
MITgcm configurations

1 dimitri 1.1 % Test the usage of create_tide_bc_4bdry.m
2     %
3     % XC WANG 03Feb2013
4    
5    
6     % User need to replace the CAT directory here
7     %
8     addpath /data17/home/xiao/Mat_Tools/MITgcm_Tool
9    
10     time_nodal = datenum(1979, 1, 1,0, 0,0) ;
11    
12     nx=640;
13     ny=640;
14     cbdry_used={'s','n', 'w'} ;
15     tide_num = [1 2 3 4 5 6 7 8] ;
16     %tide_num = [5] ;
17    
18    
19     timec = create_tide_bc_4bdry(nx, ny, cbdry_used,tide_num,time_nodal) ;
20    
21     cbdry_empty={'e'} ;
22     tide_bc_empty(nx, ny, cbdry_empty,tide_num);

  ViewVC Help
Powered by ViewVC 1.1.22