Skip to content

Commit

Permalink
open aoi intermediates as integer, closes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
jsta committed Oct 15, 2019
1 parent 1fae99b commit 3444122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gssurgo/aoi.py
Expand Up @@ -84,8 +84,8 @@ def aoi(in_raster_path, out_raster, xmin, ymax, xmax, ymin, src_tif = None):
projWin = [xmin, ymax, xmax, ymin])

# https://gist.github.com/nishadhka/9bc758129c2949a3194b79570198f544
d1 = rasterio.open("temp1.tif")
d2 = rasterio.open("temp2.tif")
d1 = rasterio.open("temp1.tif", dtype = "uint32")
d2 = rasterio.open("temp2.tif", dtype = "uint32")

dest, output_transform = rasterio.merge.merge([d1, d2])

Expand Down

0 comments on commit 3444122

Please sign in to comment.