Blob Blame History Raw
From 63fc5acba81601e473ead5c4e82de78b5ae61ad0 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Fri, 15 Mar 2019 22:31:18 -0400
Subject: [PATCH 1/4] DOC: Don't download RGB.byte.tif during build.

Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
 doc/gallery/plot_rasterio.py     | 2 +-
 doc/gallery/plot_rasterio_rgb.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/gallery/plot_rasterio.py b/doc/gallery/plot_rasterio.py
index 82d5ce61..24502f10 100644
--- a/doc/gallery/plot_rasterio.py
+++ b/doc/gallery/plot_rasterio.py
@@ -24,7 +24,7 @@ from rasterio.warp import transform
 import xarray as xr
 
 # Read the data
-url = 'https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif'
+url = 'RGB.byte.tif'
 da = xr.open_rasterio(url)
 
 # Compute the lon/lat coordinates with rasterio.warp.transform
diff --git a/doc/gallery/plot_rasterio_rgb.py b/doc/gallery/plot_rasterio_rgb.py
index 23a56d5a..468e2bab 100644
--- a/doc/gallery/plot_rasterio_rgb.py
+++ b/doc/gallery/plot_rasterio_rgb.py
@@ -19,7 +19,7 @@ import matplotlib.pyplot as plt
 import xarray as xr
 
 # Read the data
-url = 'https://github.com/mapbox/rasterio/raw/master/tests/data/RGB.byte.tif'
+url = 'RGB.byte.tif'
 da = xr.open_rasterio(url)
 
 # The data is in UTM projection. We have to set it manually until
-- 
2.21.0