ggebbie / IsopycnalSurfaces.jl

Find isopycnal surfaces for your ocean data
MIT License
4 stars 3 forks source link

make switch between spline and linear interpolation more explicit #9

Closed ggebbie closed 2 years ago

ggebbie commented 2 years ago

code will default to linear interpolation if spline order splorder is large enough. Would be better to pass explicit argument if linear interpolation is desired.

ggebbie commented 2 years ago

explicit logical linearinterp is passed to main functions.

Should splorder and linearinterp be optional arguments with keywords?

ggebbie commented 2 years ago

optional keyword arguments have been added in commit https://github.com/ggebbie/IsopycnalSurfaces.jl/commit/8bff3790dc95e4fc58c33a6adad048ece8ba704e . This allows the EOS to also be added as a keyword argument. These arguments can go in any order.