I am trying to programmatically extract raster files downloaded from USGS. They are in 7z format. Strangely, I am unable to extract the 7z archives if they are greater than ~2 GB. Here's an example demonstrating the error I get when I try downloading and extracting a 2.5 GB archive. I've also included links to the archives from USGS.
I don't know what the Truncated 7-zip file body header means. I am able to extract the archive correctly using 7-zip, so it appears they aren't corrupted.
These are multi-file archives, so each archive contains multiple raster files. Interestingly, I am able to use archive_extract if I delete some of the files contained in the larger archive to make it less than 2 GB in size. I've tried this on many other raster archives from USGS, and extracting the archive always fails if the archive size is > ~2 GB. Any ideas what might be going on here?
Thanks!
I am trying to programmatically extract raster files downloaded from USGS. They are in 7z format. Strangely, I am unable to extract the 7z archives if they are greater than ~2 GB. Here's an example demonstrating the error I get when I try downloading and extracting a 2.5 GB archive. I've also included links to the archives from USGS.
I don't know what the Truncated 7-zip file body header means. I am able to extract the archive correctly using 7-zip, so it appears they aren't corrupted.
These are multi-file archives, so each archive contains multiple raster files. Interestingly, I am able to use archive_extract if I delete some of the files contained in the larger archive to make it less than 2 GB in size. I've tried this on many other raster archives from USGS, and extracting the archive always fails if the archive size is > ~2 GB. Any ideas what might be going on here? Thanks!