Skip to content

Improved support for handling ZIP files

Pre-release
Pre-release
Compare
Choose a tag to compare
@JamesVarndell JamesVarndell released this 09 Jan 10:14
· 478 commits to main since this release

Specific file names and wildcards can now be included/excluded when opening ZIP files:

data_1 = emohawk.open("my_file.zip", include="*.nc")  # Only unzip and open files ending in ".nc"
data_2 = emohawk.open("my_file.zip", exclude=("*.png", "*.json"))  # Ignore PNG and JSON files