-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d290c8c
commit f382782
Showing
3 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
interpolate | ||
============== | ||
|
||
.. py:function:: interpolate(values, source_gridspec, target_gridspec, matrix_version=None) | ||
Interpolate the ``values`` from the ``source_gridspec`` onto the ``target_gridspec``. | ||
|
||
:param values: the input values | ||
:type values: ndarray | ||
:param source_gridspec: the gridspec describing the grid that ``values`` are defined on | ||
:type source_gridspec: dict | ||
:param target_gridspec: the gridspec describing the target grid that ``values`` will be interpolated onto | ||
:type target_gridspec: dict | ||
:param matrix_version: the version of the pre-defined interpolation matrix to be used. None means the latest version will be used. | ||
:type matrix_version: str | ||
:rtype: ndarray | ||
|
||
Examples | ||
-------- | ||
|
||
- :ref:`/examples/interpolation.ipynb` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# These are the requirements for readthedoc | ||
ipykernel | ||
docutils | ||
Pygments>=2.6.1 | ||
Sphinx | ||
|