Skip to content

Commit

Permalink
Fix unzip gtiff
Browse files Browse the repository at this point in the history
  • Loading branch information
danlooo committed Dec 20, 2023
1 parent 0089ff2 commit f25b1a5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,9 @@ It can be loaded into a local Julia session using [Rasters.jl](https://rafaqz.gi
using ZipFile, Rasters, Plots, ArchGDAL
f = ZipFile.Reader(path).files[1]
open(f.name, "w") do d
data = read(f, String)
write(d, data)
end
write("out.tif", read(f, String))
cube = Raster(f.name)
cube = Raster("out.tif")
```

Plotting:
Expand Down

0 comments on commit f25b1a5

Please sign in to comment.