Downloader for the Global Surface Water Data of the Copernicus Programme
Project description
Downloader for the Global Surface Water data of the Copernicus Programme.
It is based on the original downloadWaterData.py.
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'
Project details
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
File details
Details for the file download_water_data-0.5.0.tar.gz
.
File metadata
- Download URL: download_water_data-0.5.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 070cab7d0c295ee28d3e5726cb7dcd7ebaf07214cb7b8159d5f6faf179b8b3bc |
|
MD5 | 8616e85f17349c1136081fbb0fd0a1ac |
|
BLAKE2b-256 | 7339e4ca9e4dce3dbeb08bbe9dc1b3915877d1a2f6f1a3338ffcf6c234e08297 |
File details
Details for the file download_water_data-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: download_water_data-0.5.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c167fd29cc37af1b68c9b753d0cd5b90d4a09b30bef2f6e94ea189d32c4a1663 |
|
MD5 | b7fa990ef345f2139b986307cdcb95f7 |
|
BLAKE2b-256 | 27a8d8943bc8b4cb6df8ce55854020b5ce12b50e0a6436ccee7631ea600e042a |