This module is used to ecoshard sets of files.
Usage:
python -m ecoshard \[original\_file\] --hashalg md5 --rename
(creates an ecoshard from original file with the md5 hash algorithm and renames the result rather than creating a new copy)
python -m ecoshard *.tif --compress --buildoverviews
(does a GIS compression of all *.tif files in the current directory and builds overviews for them and renames the result rather than making a new copy. Here if –rename had been passed an error would have been raised because rasters cannot be in-place compressed. The target output files will have the format [original_filename]_compressed_[hashalg]_[ecoshard][fileext])
python -m ecoshard *.tif --compress --buildoverviews --upload
(does the previous operation but also uploads the results to gs://ecoshard-root/working-shards and reports the target URLs to stdout)
python -m ecoshard *.tif ./outputs/*.tif --validate
(searches the .tif and ./outputs/.tif globs for ecoshard files and reports whether their hashes are valid or not)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ecoshard-0.0.2.tar.gz.
File metadata
- Download URL: ecoshard-0.0.2.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4617b403959421fc732198d40584d768f03d0ab2a0689289729412c491a8337
|
|
| MD5 |
198677dc2dbad076e9f9f5bff876a01b
|
|
| BLAKE2b-256 |
9361d028f2ab9ed14697f3edee921ae76f1fe9d6f1340854cd051771978867b8
|
File details
Details for the file ecoshard-0.0.2-py3-none-any.whl.
File metadata
- Download URL: ecoshard-0.0.2-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85a2d580168f3672f24a7cb6dbf0da78d1ead0dccb1e129d8dbdffa8b81a58f6
|
|
| MD5 |
6a0abebafb7bc0288b4d32b64ec79d6d
|
|
| BLAKE2b-256 |
d42387a66960aacf2173b0615f9195c0bda4e8027c96877c13304e5bff7dfbe2
|