includes a listing of both old and new grids and the grid characteristics of 

 each. The file INTDEPN contains the bathymetry for the new grid. This file 

 is written using the same procedure and format as those used for reading the 

 old depth data (row by row in 10F8.2 format). 



Grid Interpolation Example 



116. The example problem involves interpolating bathymetry from an old 

 grid with square cells to a new grid with smaller, rectangular-shaped cells. 

 The new grid system is translated and rotated relative to the old grid. Orig- 

 inal grid cell dimensions are 0.2 and 0.2 in the x- and y-directions, respec- 

 tively. The new grid requires 50 cells in the x-direction, each 0.14 in 

 length, and 40 cells in the y-direction, each 0.15 in length. The new grid is 

 shifted by 0.5 in both coordinate directions and rotated 10 deg in the coun- 

 terclockwise direction relative to the old grid. The input files used in this 

 example, INTPGRD, INTDEP0, and INTPUPD are shown in Appendix J. The order in 

 which the files are listed is: 



a. Input data file , INTPGRD (Figure J1) 



b. Source code correction file , INTPUPD (Figure J2) 



c. Sample of the input bathymetric file ,INTDEP0 (Figure J3) 



d. Sample of the output bathymetric file , INTDEPN (Figure J4) 

 Figure 17 shows both grids and contour plots of the original and interpolated 

 bathymetry. 



65 



