Initial import (#1689494).
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From 2eb33a619724bed0c324e3723d3f0eedf82806a1 Mon Sep 17 00:00:00 2001
|
||||
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
Date: Fri, 15 Mar 2019 22:48:25 -0400
|
||||
Subject: [PATCH 2/4] DOC: Skip examples using unpackaged dependencies.
|
||||
|
||||
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
|
||||
---
|
||||
doc/io.rst | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/doc/io.rst b/doc/io.rst
|
||||
index 51c74718..64aa4d88 100644
|
||||
--- a/doc/io.rst
|
||||
+++ b/doc/io.rst
|
||||
@@ -366,6 +366,7 @@ installed xarray can convert a ``DataArray`` into a ``Cube`` using
|
||||
:py:meth:`~xarray.DataArray.to_iris`:
|
||||
|
||||
.. ipython:: python
|
||||
+ :verbatim:
|
||||
|
||||
da = xr.DataArray(np.random.rand(4, 5), dims=['x', 'y'],
|
||||
coords=dict(x=[10, 20, 30, 40],
|
||||
@@ -378,6 +379,7 @@ Conversely, we can create a new ``DataArray`` object from a ``Cube`` using
|
||||
:py:meth:`~xarray.DataArray.from_iris`:
|
||||
|
||||
.. ipython:: python
|
||||
+ :verbatim:
|
||||
|
||||
da_cube = xr.DataArray.from_iris(cube)
|
||||
da_cube
|
||||
--
|
||||
2.20.1
|
||||
|
||||
Reference in New Issue
Block a user