Brief description of scripts involved. 1) create_tide_bc_4bdry.m Scripts to create tidal amplitude and phase boundary condition. The main script, need to use boundary grid file. When using the script, need to modify the CAT directory. 2) create_bc_grid.m Script to generate boundary grid file, lat, lon, AngleCS, AngleSN Use this one before use create_tide_bc_4bdry.m Need MITgcm domain file directory as input. 3) tide_rot.m This script is used in create_tide_bc_4bdry.m Rotate uamp, upha, vamp and vpha to a new 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. Directory for tidal related tools /data1/cube/ecco2_tools/tide XC Wang 31 Jan 2013 xiaochun.wang@jpl.nasa.gov