Data processing for article
This commit is contained in:
parent
c443947e3c
commit
34fcb4e879
2 changed files with 9 additions and 2 deletions
|
|
@ -60,6 +60,12 @@ x = np.arange(
|
|||
)
|
||||
theta = np.angle(D.dot((1, 1j)))
|
||||
|
||||
log.info(f"N points: {bathy.size:e}")
|
||||
S = bathy[:, 0].ptp() * bathy[:, 1].ptp()
|
||||
log.info(f"Surface: {S*1e-6:.2f}km^2")
|
||||
res = np.sqrt(S / bathy.size)
|
||||
log.info(f"Resolution: {res:.2f}m")
|
||||
|
||||
coords = artha + (x * np.stack((np.cos(theta), np.sin(theta)))).T
|
||||
|
||||
log.info("Interpolating bathymetry in 1D")
|
||||
|
|
|
|||
Reference in a new issue