-
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.
Showing
10 changed files
with
202 additions
and
358 deletions.
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,7 @@ | ||
Release notes | ||
============== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
version_0.3_updates |
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,17 @@ | ||
Version 0.3 Updates | ||
///////////////////////// | ||
|
||
|
||
Version 0.3.0 | ||
=============== | ||
|
||
|
||
New features | ||
++++++++++++++++ | ||
- restructured and regenerated matrix inventory | ||
- allow using the ``method`` keyword in :func:`interpolate` to specify the interpolation method | ||
- allow using earthkit-data GRIB :xref:`fieldlist` in :func:`interpolate` as input data. This only works when the output grid is regular latitude-longitude grid. | ||
- added notebook examples: | ||
|
||
- :ref:`/examples/healpix_fieldlist.ipynb` | ||
- :ref:`/examples/octahedral_fieldlist.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
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,48 @@ | ||
# (C) Copyright 2022 ECMWF. | ||
# | ||
# This software is licensed under the terms of the Apache Licence Version 2.0 | ||
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
# In applying this licence, ECMWF does not waive the privileges and immunities | ||
# granted to it by virtue of its status as an intergovernmental organisation | ||
# nor does it submit to any jurisdiction. | ||
# | ||
|
||
# Taken from: https://github.com/michaeljones/sphinx-xref | ||
|
||
from docutils import nodes | ||
from sphinx.util import caption_ref_re | ||
|
||
|
||
def xref(typ, rawtext, text, lineno, inliner, options={}, content=[]): | ||
title = target = text | ||
|
||
# look if explicit title and target are given with `foo <bar>` syntax | ||
brace = text.find("<") | ||
if brace != -1: | ||
m = caption_ref_re.match(text) | ||
if m: | ||
target = m.group(2) | ||
title = m.group(1) | ||
else: | ||
# fallback: everything after '<' is the target | ||
target = text[brace + 1 :] | ||
title = text[:brace] | ||
|
||
link = xref.links[target] | ||
|
||
if brace != -1: | ||
pnode = nodes.reference(target, title, refuri=link[1]) | ||
else: | ||
pnode = nodes.reference(target, link[0], refuri=link[1]) | ||
|
||
return [pnode], [] | ||
|
||
|
||
def get_refs(app): | ||
xref.links = app.config.xref_links | ||
|
||
|
||
def setup(app): | ||
app.add_config_value("xref_links", {}, True) | ||
app.add_role("xref", xref) | ||
app.connect("builder-inited", get_refs) |