TUW-GEO / ismn

Readers for the data from the International Soil Moisture Network
https://ismn.earth/en/
MIT License
32 stars 21 forks source link

Error unzipping downloaded ismn data #23

Open awst-baum opened 4 years ago

awst-baum commented 4 years ago

Hi! For QA4SM, we've tried downloading the latest ISMN data and unzipping it - but we all get an error on decompression:

file #14549:  bad zipfile offset (local header sig):  21299
file #14550:  bad zipfile offset (local header sig):  796807
file #14551:  bad zipfile offset (local header sig):  1546605
...

This isn't a problem with the reader but I thought I've got to report it somewhere.

log.zip

awst-baum commented 4 years ago

I've also tried unzipping with jar (since that's recommended in the Internets) like this:

jar xvf Data_seperate_files.zip

That yields:

 ...
 inflated: FLUXNET-AMERIFLUX/VairaRanch/FLUXNET-AMERIFLUX_FLUXNET-AMERIFLUX_VairaRanch_sm_0.300000_0.450000_Moisture-Point-PRB-K-D_19780101_20191211.stm
java.util.zip.ZipException: only DEFLATED entries can have EXT descriptor
    at java.util.zip.ZipInputStream.readLOC(ZipInputStream.java:310)
    at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:122)
    at sun.tools.jar.Main.extract(Main.java:979)
    at sun.tools.jar.Main.run(Main.java:311)
    at sun.tools.jar.Main.main(Main.java:1288)