NUM = actual size of storage block 



ICOL = number of columns of array 



IROW - number of rows or array 



MSQLOC = Marsden Square Locator area number 



IDAY = day that data ware placed in storage 



MONTH = month that data were placed in storage 



lYEAR = year that data were placed in storage 



LOCATE = relative address 



This completes the structuring phase of SYNBAPS. The 

 punched cards of gridded bathymetric data are loaded on magnetic 

 tape with one MSQLOC area per file using a UTILITY program 

 (Rozanski, et al. 1968) . This magnetic tape is saved for backup 

 to the random-access storage device. 



B. Accessing Programs 



The relationship between accessing programs is given in a flow 

 diagram in figure 12. The two accessing programs are SYNBAPSl and 

 SYNPLOT (app. C) . The request, in the form of control cards, is 

 submitted to the SYNBAPSl program (fig. 13). The formats for this 

 request may be either all "BEARINGS" or all "POINTS" or can be 

 a mixture of both, as long as the number of beams is correctly 

 indicated for each set (the variable NOOFBM) . 



With the exception of SYNGRID, only a brief explanation of 

 the program's operation was given in the structuring phase 

 discussion. Because SYNBAPSl and SYNPLOT may be used by others, 

 they will be described in more detail. 



Figure 14 contains a more detailed program flow diagram of 

 SYNBAPSl. When a request is submitted to SYNBAPSl the first 

 operation is to call in the SEAARCH subroutine to generate the 

 great-circle path to be followed by the profile. SEAARCH uses 

 both the direction solution of the great circle, subroutine 

 GCDIST, and the indirect solution GCPATH (Chang, 1969A and B) to 

 create a latitude, longitude, forward bearing, and range for 

 each nautical-mile point from the beginning to the end of a 

 profile. In addition, subroutine MSQFQ is used to calculate the 

 MSQLOC area for each of the points. SEAARCH then creates a range 

 search table of only those points that start a profile, enter 

 or exit a MSQLOC area, or terminate a profile. This table is 

 printed out and also placed in COMMON. 



23 



