Skip to content

Commit

Permalink
added missing gw.filename attribute in to_vrt()
Browse files Browse the repository at this point in the history
  • Loading branch information
jgrss committed Mar 15, 2020
1 parent df7c783 commit 4d50e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geowombat/core/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def to_vrt(data,
resampling = Resampling.nearest

# Open the input file on disk
with rio.open(data.filename) as src:
with rio.open(data.gw.filename) as src:

with WarpedVRT(src,
src_crs=src.crs, # the original CRS
Expand Down

0 comments on commit 4d50e2e

Please sign in to comment.