python-stratify
python-stratify copied to clipboard
Vectorized interpolators for Nd atmospheric and oceanographic data
synced local file(s) with [SciTools/.github](https://github.com/SciTools/.github). # [Click for `README`](https://github.com/SciTools/.github/tree/main/templates) Changed files synced local .pre-commit-config.yaml with remote templates/.pre-commit-config.yaml --- This PR was created automatically by the [repo-file-sync-action](https://github.com/BetaHuhn/repo-file-sync-action) workflow run [#10650249600](https://github.com/SciTools/.github/actions/runs/10650249600)
## 🚀 Pull Request ### Description --- This PR makes a couple of small changes to align this repo with the [Repo Review](https://learn.scientific-python.org/development/guides/repo-review/) from Scientific Python, that we as a...
``` z_targ = np.array([0.0, 1.0, 2.0, 3.0, 4.0]) z_source = np.array([0., 0.5, 1.5, 2.5, 3.5, 4.5]) data_source = z_source.copy() out = stratify.interpolate(z_targ, z_source, data_source) print(out) # now flip data to...
## 📰 Custom Issue We need to address the following warning: ``` DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod`...
See https://www.codacy.com/ - [ ] add status badge
With the introduction of `codecov` we've regressed in the `cython` code test coverage, let's fix that.
see https://github.com/SciTools/iris/issues/5298 This was build for a narrow use case. I think given that there is interest in a more general version we should look into rewriting this interface.
See - https://numpydoc.readthedocs.io/en/latest/format.html - https://www.sphinx-doc.org/en/master/usage/extensions/napoleon.html