Some notes about region files.
These should be checked for potential bugs.
Convert constants to class variables
Add errorcode for overlapping chunks
Potential bug fix: free sector always calculated.
It was not calculated for chunks with unknown error codes
Typo fixes, add more TODO.
Rename _bytes_to_sector to bytes_to_sector.
Helper function is now considered public.
Move InconceivedChunk from world to region.
More temporary notes (TODOs)
Add region_analysis.py example script
Add base Exception for simple catch statements.
Analyse if all unused bytes are zeroed.
Add -q (--quiet) option to suppress the many warnings caused by non-zeroed bytes :).
TODO: file.seek() fails for empty files.
self.header should be used where possible.
Bug fix: support re-reading header for empty files.
move init_header() to parse_header().
Replace import * with specific imports.
Move generation and print to separate functions.
Store and display filename for RegionFile and NBTFile.
Store filename, also for fileobjects, if fileobj.name exists.
Display filename for str() and repr() representations of RegionFiles.
More potential bug identified.
Detect chunk-out-of-file problems.
Detect problems independent from nbt.region implementation.
Minor display improvements.
Check for compression type.
No longer try to analyse the chunk_header if it is out-of-file.
Decompress chunks and verify do a very basic check.
Check the first 3 and last 1 byte of the NBT binary (not a full parsing).