Skip to content

PCHIP Interpolation for Sound Speed Profiles #117

@JPalmerK

Description

@JPalmerK

Hey there,
I'm working with glider data that has the benefit of collecting soundpseed profiles as it goes along it track. In working with these data I've found the need to use a different type of interpolation due to the disconnect between the water depth and the max depth of the glider. Furthermore, the documentation for Bellhop recomends using PCHIP for the bellhop model (HLS REPORT Report No. HLS-2021-01). For that reason I've created a modified version of uwpam.py that allows for a 'pchip' option for the soundspeed interpolation env['soundspeed_interp']. Below are the spline vs pchip interpolation results. Uploaded as a txt file.

Feel free to use as needed. I haven't updated the bokeh plots because I hate them. :)

Image

Image

uwapm.txt

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions