Closed vprakash-ucl closed 8 years ago
can you ask them to rezip? They used the python compatible zip format when doing the work for product one? That was only about 4 weeks ago
Yes, I will ask them to do that from now on. Extracting locally prior to running aisparser is not that onerous, and, given that there is no direct solution, perhaps we just need to mention in the documentation that compression type 9 won't work automatically for the time being---or just leave the issue open.
Not a pyrate issue per se, as specific to the AIS data.
Zip files that use compression type 9 (deflate64) cannot be extracted as part of aisparser. Returns:
Support for compression type 9 may never be added to the python zipfile library:
7zip on Ubuntu is able to extract these archives, so a solution may be to call the command line function
7z
from python to do the extraction to a temporary folder to parse (and purge temporary files after parsing).