fullmock.f (mockss)
Description
fullmock.f is a Fortran 77 synthetic sidescan forward-modeling program (program mockss, written by John Hughes Clarke, 1989) that improves upon flat-earth straight-line ray geometry (ssmock.f) by incorporating a pre-computed 2D ray-traced grazing-angle lookup table (grazearray(175, 750)) alongside a 512Ã512 bathymetric Digital Terrain Model (rbathy) and an actual SeaMARC I or GLORIA ship track file.
Interactive Inputs
When executed, fullmock prompts for:
enter grazing-angle array filenameâ Binary file (recl=700) containing 750 horizontal range rows (20 mstep) by 175 depth columns (20 mstep) of ray-traced flat-bottom grazing angles.enter bathy filenameâ 512Ã512 floating-point bathymetry grid (rbathy,recl=2048).enter output mock filenameâ Output 512Ã512 floating-point synthetic sidescan array (rmock, initialized to-999.0).enter sidescan filenameâ Input GLORIA or SeaMARC I file providing ship track coordinates (rlat,rlon), heading (head), and fish depth (fdepth).enter top lat and left long of area (degrees)andenter grid spacing of data in metres.type of track?â SeaMARC I (5 km,2 km, or1 kmswath) or GLORIA MkIII (30 sor20 spulse period).
Algorithm
- Steps along the ship track at half-grid-cell intervals, projecting across-track rays on both port (
head - Ī/2) and starboard (head + Ī/2) out to maximum swath range (hmax). - At each grid cell
(ix, iy), looks up the ray-traced flat-bottom grazing anglegrazefromgrazearray(idepth, irange)using height above seafloor (height = rbathy(ix,iy) - fdepth) and horizontal range. - Calls
bangle(ix, iy, ray, tslope)to compute the local 3D seafloor slope component along the look azimuth (vectangleusing 3Ã3 neighboring depth facets), and storesrmock(ix, iy) = graze - tslope.