Open msw17002 opened 1 year ago
To add more details;
If I run the script for different dates/files, I receive the same error, but with varying amount of 'buffer' bytes.
So I also got these errors, as well: struct.error: unpack requires a buffer of 2800 bytes struct.error: unpack requires a buffer of 9680 bytes etc...
I wasn't able to script a solution to this, but the problem isn't duplicated for smaller shapefiles. The files I was working with were too larger.
PyShp Version
2.3.1
Python Version
3.9.12
Your code
Full stacktrace
Other notes
Hello all,
I'm trying to subset a shapefile by a time range. This script works for other files (older/smaller sized shapefiles), but not this one along with several others. The script does run for a few iterations of ro.iterShapeRecords(), but it usually fails at some point.
Thanks!