oceanspy.utils
OceanSpy utilities that don’t need OceanDataset objects.
Functions
|
Compute Coriolis parameter (both vertical and horizontal components). |
|
Generate a trajectory specifying the distance resolution. |
|
Given a list of prescribed coordinate points of len(N), returns an array of increased (or equal) length, wherein the added values are computed following a great circle path. |
|
Takes a collection of points defined in logical space (ix, iy), each of equal length arrays, and returns a new continous array (_ix, _iy) that contains the original elements now with unit spacing. |
|
Density of Sea Water using Jackett and McDougall 1995 (JAOT 12) polynomial (modified UNESCO polynomial) [R5a812deaf4b9-JaMc95]. |
|
Density of Sea Water using McDougall et al. 2003 (JAOT 20) polynomial (Gibbs Potential) [Re2d133f292dd-McJa03]. |
|
|
|
Define this function to avoid repeated code. |
|
Generate a great circle trajectory specifying the distance resolution. |
|
Attemps to remove repeated coords not adjascent to each other, while retaining the trajectory property of being simply connected (i.e. the distance between each index point is one). |
|
resets the dimension mooring by shifting it by a value set by N |
|
Convert spherical coordinates to cartesian. |
|
Returns the static pressure given depth. |
|
Takes the output from the poseidon viewer p and returns the coordinate trajectories in X and Y in a way that is compatible with oceanspy.subsample functions. |