euroargodev / euroargodev/argopy

New method to interpolate dataset on theta surface

Open
#279 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
229
Forks
52
Avg merge
1d 17h
Merged PRs (30d)
5

Description

Some analysis require to have salinity values on iso-thermal surfaces.
It would be awesome to have an easy method in argopy to do that.
The API may simply look like this:

```python
from argopy import DataFetcher

ds = DataFetcher().float(6901035).data

dsi = ds.argo.interp_on_theta(theta=np.arange(0,40))
dsi = ds.argo.interp_on_theta(theta=np.arange(0,40), method='linear')
dsi = ds.argo.interp_on_theta(theta=np.arange(0,40), method='linear', fillvalue=np.NaN)
```

it is possible that such function already exists in the [python OWC software](https://github.com/euroargodev/argodmqc_owc)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.