EcoJulia / RasterDataSources.jl

Easily download and use raster data sets in Julia
MIT License
21 stars 10 forks source link

WorldClim download failure #6

Closed jamesmaino closed 3 years ago

jamesmaino commented 3 years ago
WorldClim BioClim: Error During Test at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:10
  Test threw exception
  Expression: download_raster(WorldClim{BioClim}; layer = 2, resolution = "10m") == raster_file
  failed to find end of centeral directory record
  Stacktrace:
   [1] error(::String) at .\error.jl:33
   [2] _find_enddiroffset(::IOStream) at C:\Users\james\.julia\packages\ZipFile\fdYkP\src\ZipFile.jl:285
   [3] ZipFile.Reader(::IOStream, ::Bool) at C:\Users\james\.julia\packages\ZipFile\fdYkP\src\ZipFile.jl:104     
   [4] Reader at C:\Users\james\.julia\packages\ZipFile\fdYkP\src\ZipFile.jl:118 [inlined]
   [5] download_raster(::Type{WorldClim{BioClim}}; layer::Int64, resolution::String) at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\src\worldclim\bioclim.jl:13
   [6] top-level scope at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:10    
   [7] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Test\src\Test.jl:1115
   [8] top-level scope at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:2     

WorldClim BioClim: Test Failed at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:11
  Expression: isfile(raster_file)
Stacktrace:
 [1] top-level scope at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:11
 [2] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Test\src\Test.jl:1115 
 [3] top-level scope at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:2       
Test Summary:     | Pass  Fail  Error  Total
WorldClim BioClim |    3     1      1      5
ERROR: LoadError: LoadError: Some tests did not pass: 3 passed, 1 failed, 1 errored, 0 broken.
in expression starting at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\worldclim-bioclim.jl:1     
in expression starting at C:\Users\james\.julia\packages\RasterDataSources\EI9DR\test\runtests.jl:4
ERROR: Package RasterDataSources errored during testing
rafaqz commented 3 years ago

I think this one might be a corrupted zip file from breaking the download half way