Blame 0001-DOC-Don-t-download-RGB.byte.tif-during-build.patch

d06712b
From 63fc5acba81601e473ead5c4e82de78b5ae61ad0 Mon Sep 17 00:00:00 2001
45d03f9
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
45d03f9
Date: Fri, 15 Mar 2019 22:31:18 -0400
45d03f9
Subject: [PATCH 1/4] DOC: Don't download RGB.byte.tif during build.
45d03f9
45d03f9
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
45d03f9
---
d06712b
 doc/gallery/plot_rasterio.py     | 2 +-
d06712b
 doc/gallery/plot_rasterio_rgb.py | 2 +-
d06712b
 2 files changed, 2 insertions(+), 2 deletions(-)
45d03f9
45d03f9
diff --git a/doc/gallery/plot_rasterio.py b/doc/gallery/plot_rasterio.py
d06712b
index 82d5ce61..24502f10 100644
45d03f9
--- a/doc/gallery/plot_rasterio.py
45d03f9
+++ b/doc/gallery/plot_rasterio.py
d06712b
@@ -24,7 +24,7 @@ from rasterio.warp import transform
45d03f9
 import xarray as xr
45d03f9
 
d06712b
 # Read the data
45d03f9
-url = 'https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif'
d06712b
+url = 'RGB.byte.tif'
d06712b
 da = xr.open_rasterio(url)
45d03f9
 
d06712b
 # Compute the lon/lat coordinates with rasterio.warp.transform
45d03f9
diff --git a/doc/gallery/plot_rasterio_rgb.py b/doc/gallery/plot_rasterio_rgb.py
d06712b
index 23a56d5a..468e2bab 100644
45d03f9
--- a/doc/gallery/plot_rasterio_rgb.py
45d03f9
+++ b/doc/gallery/plot_rasterio_rgb.py
d06712b
@@ -19,7 +19,7 @@ import matplotlib.pyplot as plt
45d03f9
 import xarray as xr
45d03f9
 
d06712b
 # Read the data
45d03f9
-url = 'https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif'
d06712b
+url = 'RGB.byte.tif'
d06712b
 da = xr.open_rasterio(url)
45d03f9
 
d06712b
 # The data is in UTM projection. We have to set it manually until
45d03f9
-- 
d06712b
2.21.0
45d03f9