|  | Brief description of scripts involved. |  | 
| 1 |  |  | 
| 2 | 1) create_tide_bc_4bdry.m | create_tide_bc_second.m, called by test_tide_bc.m | 
| 3 | Scripts to create tidal amplitude and phase boundary condition. | Scripts to create tidal amplitude and phase boundary condition. | 
| 4 | The main script, need to use boundary grid file. | The main script, need to use boundary grid file | 
|  | When using the script, need to modify the CAT directory. |  | 
| 5 |  |  | 
| 6 | 2) create_bc_grid.m | create_bc_grid.m,  called by test_bc_grid.m | 
| 7 | Script to generate boundary grid file, lat, lon, AngleCS, AngleSN | Script to generate boundary grid file, lat, lon, AngleCS, AngleSN | 
| 8 | Use this one before use create_tide_bc_4bdry.m | Use this one before use create_tide_bc_4bdry.m | 
|  | Need MITgcm domain file directory as input. |  | 
| 9 |  |  | 
| 10 |  |  | 
| 11 | 3) tide_rot.m | tide_rot.m | 
| 12 | This script is used in create_tide_bc_4bdry.m | This script is used in create_tide_bc_second.m | 
| 13 | Rotate uamp, upha, vamp and vpha to a new coordinate | Rotate uamp, upha, vamp and vpha to a MITgcm coordinate | 
|  |  |  | 
|  | 4) intp_line_safe.m |  | 
|  | A line interpololation scripts to make sure there |  | 
|  | is no NaN in tidal current amplitude and phase |  | 
|  |  |  | 
|  | 5) There are other scripts that come with CAT package. |  | 
| 14 |  |  | 
| 15 |  |  | 
| 16 | Directory for tidal related  tools | Directory for tidal related  tools | 
| 17 | /data1/cube/ecco2_tools/tide | /data1/cube/ecco2_tools/mitgcm_tide_second | 
| 18 |  |  | 
| 19 |  |  | 
| 20 |  | XC  Wang  25 Mar 2015 | 
| 21 | XC  Wang  31 Jan 2013 | XC  Wang  31 Jan 2013 | 
| 22 | xiaochun.wang@jpl.nasa.gov | xiaochun.wang@jpl.nasa.gov |