Skip to main content

Download Water Data

Downloader for the Global Surface Water data of the Copernicus Programme.

It is based on the original downloadWaterData.py.

https://img.shields.io/pypi/pyversions/download_water_data.svg https://img.shields.io/pypi/v/download-water-data.svg https://img.shields.io/github/issues/mentaljam/download_water_data.svg

Requirements

This tool runs on Windows/Mac/Unix and requires Python version 2 or 3.

Usage

Install with pip

  • Install the tool with python -m pip install download_water_data

  • Run the tool with python -m download_water_data <arguments> or just download_water_data <arguments> if the Python Scripts directory is in your system PATH

Download without installing

  • Download the latest download_water_data.pyz file

  • Open a terminal or console

  • Run the tool with python download_water_data.pyz <arguments>

To interrupt tool execution press Ctrl+C.

Arguments

Possible tool arguments and options can be listed with the -h option:

$ download_water_data -h

usage: download_water_data [-h] [-v] [-d PATH] [-r {1_0,1_1,1_1_2019,1_3_2020,1_4_2021}] [-a] [-f] [DS ...]

Full Download Script for Global Surface Water Data.

positional arguments:
  DS                    one or more datasets names to download (occurrence,
                        change, seasonality, recurrence, transitions, extent),
                        use the "-a" option to download all the datasets

options:
  -h, --help            show this help message and exit
  -v, --version         show program's version number and exit
  -d PATH, --directory PATH
                        destination directory where to download the data (by
                        default the current working directory is used)
  -r {1_0,1_1,1_1_2019,1_3_2020,1_4_2021}, --revision {1_0,1_1,1_1_2019,1_3_2020,1_4_2021}
                        data revision (default is 1_4_2021)
  -a, --all             download all datasets (default is false)
  -f, --force           rewrite existing files (default is false)

Examples

To download the occurrence and change datasets run

download_water_data occurrence change

To download all the datasets run

download_water_data -a

To change the destination directory add the -d option

download_water_data -a -d 'download/path'

Metadata

Release files for download-water-data 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for download-water-data 0.5.0
File Size Uploaded Provenance
download_water_data-0.5.0.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for download-water-data 0.5.0
File Interpreter ABI Platform
download_water_data-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.5 kB

Release files / download_water_data-0.5.0.tar.gz

Download URL download_water_data-0.5.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
070cab7d0c295ee28d3e5726cb7dcd7ebaf07214cb7b8159d5f6faf179b8b3bc
BLAKE2b-256 checksum
How to use checksums
7339e4ca9e4dce3dbeb08bbe9dc1b3915877d1a2f6f1a3338ffcf6c234e08297
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / download_water_data-0.5.0-py3-none-any.whl

Download URL download_water_data-0.5.0-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c167fd29cc37af1b68c9b753d0cd5b90d4a09b30bef2f6e94ea189d32c4a1663
BLAKE2b-256 checksum
How to use checksums
27a8d8943bc8b4cb6df8ce55854020b5ce12b50e0a6436ccee7631ea600e042a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for download-water-data 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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