Commit 21851df4 authored by Benjamin Pillot's avatar Benjamin Pillot
Browse files

Fix global variable CGIAR_DATA_TYPE (do not import gdal)

parent 0ed84006
......@@ -15,13 +15,11 @@ from tqdm import tqdm
from pyrasta.raster import DigitalElevationModel
from pyrasta.utils import digitize, TqdmUpTo
import gdal
CGIAR_ARCHIVE_FORMAT = "zip"
CGIAR_URL = "http://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF"
CGIAR_NO_DATA = -32768
CGIAR_DATA_TYPE = gdal.GetDataTypeByName('Int16')
CGIAR_DATA_TYPE = 3
def _download_srtm_tile(tile_name):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment