Skip to main content

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)

Release History

0.1.1 6/27/2019

  • Added a --force flag to the command line utility.

0.0.2 6/26/2019

  • Initial release.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecoshard-0.1.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ecoshard-0.1.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file ecoshard-0.1.1.tar.gz.

File metadata

  • Download URL: ecoshard-0.1.1.tar.gz
  • Upload date:
  • Size: 8.7 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

Hashes for ecoshard-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f55b0c730a27df38635eeb4c0441ed73c9d27d6a669e0f358342ae1171c93b86
MD5 67f45106622c3dff4b6afa6b938fd1f0
BLAKE2b-256 e0d345ef5817cc64d87a068158c10788565fe265ad71cade861db0d751e183d8

See more details on using hashes here.

File details

Details for the file ecoshard-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ecoshard-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 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

Hashes for ecoshard-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3c5f544141dc43b060791438320371e69f028722e0a5105ca96ab5819404280
MD5 0e09215c35afb036326c71f920fcddfc
BLAKE2b-256 a2da1ebecd9913c525518b24fba95e6d2acdcc8e0050fc669679b276b6bd07cd

See more details on using hashes here.

Release history Release notifications | RSS feed

0.7.0

1 file

0.6.0

1 file

0.5.0

3 files

0.4.1

1 file

0.4.0

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

1 file

0.3.0

1 file

0.2.2

1 file

0.2.1

2 files

0.2.0

2 files

This release

0.1.1 This release

2 files

0.0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page