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.py [-h] [-v] [-d PATH] [-a] [DS [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
optional arguments:
-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}, --revision {1_0,1_1,1_1_2019,1_3_2020}
data revision (default is 1_3_2020)
-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
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 download_water_data-0.4.0.tar.gz.
File metadata
- Download URL: download_water_data-0.4.0.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227257e953fe656e4e39730e6ade7b217777619d58efef8afdf96c862585e5ff
|
|
| MD5 |
dd024d38189b017f10ef53d1a347159b
|
|
| BLAKE2b-256 |
2a03494b0b0b4aec757a2fd699fac090aab8976592da491e2653f0fbec7d4dcf
|
File details
Details for the file download_water_data-0.4.0-py3-none-any.whl.
File metadata
- Download URL: download_water_data-0.4.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82b9327c7db4732973dc76649bba91657ef3a2b44071143252b9d724cb3f7740
|
|
| MD5 |
c77bf18c8b923d37162b1aeff0a05e32
|
|
| BLAKE2b-256 |
852f3e2eeedbc4b2058b785a808712aa16ad2cc8dc3a541946331582d7f33d59
|