Skip to content

Commit

Permalink
assign a CRS to test.nc, see what happens
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Oct 9, 2024
1 parent 199d5db commit 66165b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/python_local_kerchunk.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ using Test

# First, we create a NetCDF dataset:

ras = Raster(rand(LinRange(0, 10, 100), X(1:100), Y(5:150), Band(1:12)))
ras = Raster(rand(LinRange(0, 10, 100), X(1:100), Y(5:150), Band(1:12)); crs = Rasters.EPSG(3413))

write("test.nc", ras; source = Rasters.GDALsource(), force = true)
@test Raster("test.nc") == ras # test read-write roundtrip
Expand Down

0 comments on commit 66165b4

Please sign in to comment.