s2dl


Names2dl JSON
Version 0.3 PyPI version JSON
download
home_pagehttps://github.com/DPIRD-DMA/S2DL
SummaryS2DL is a Python library for downloading Sentinel-2 L1C and L2A satellite imagery data.
upload_time2023-08-04 00:50:26
maintainer
docs_urlNone
authorNick Wright
requires_python
license
keywords
VCS
bugtrack_url
requirements requests tqdm
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # S2DL - Sentinel 2 Downloader

S2DL is a Python library for downloading Sentinel-2 L1C and L2A satellite imagery data.
## Features

- Download Sentinel-2 product data using product IDs

## Installation

You can install the S2DL library via pip:

```bash
pip install s2dl
```

## Usage

Here's a simple usage example:

```python
from s2dl import fetch_single_sentinel_product
from pathlib import Path

product_id = "S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611"
target_directory = Path("./data")
target_directory.mkdir(exist_ok=True)

# Fetch and save a single Sentinel-2 product's data
scene_dir = fetch_single_sentinel_product(product_id, target_directory)
```

For downloading multiple products:

```python
from s2dl import fetch_multiple_sentinel_products
from pathlib import Path

product_ids = [
    "S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611",
    "S2A_MSIL1C_20230712T032521_N0509_R018_T52WFD_20230712T051642",
]
target_directory = Path("./data")
target_directory.mkdir(exist_ok=True)

# Fetch and save multiple Sentinel-2 products' data
scene_dirs = fetch_multiple_sentinel_products(product_ids, target_directory)
```

## Contributions

We welcome contributions from the community. Please submit a pull request with your improvements or bug fixes.

## License

S2DL is licensed under the MIT License.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/DPIRD-DMA/S2DL",
    "name": "s2dl",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Nick Wright",
    "author_email": "nicholas.wright@dpird.wa.gov.au",
    "download_url": "https://files.pythonhosted.org/packages/cf/ef/c08694b37ea2063ff385b4f7dede488774de0e37e7083003dc5d7cd557f6/s2dl-0.3.tar.gz",
    "platform": null,
    "description": "# S2DL - Sentinel 2 Downloader\n\nS2DL is a Python library for downloading Sentinel-2 L1C and L2A satellite imagery data.\n## Features\n\n- Download Sentinel-2 product data using product IDs\n\n## Installation\n\nYou can install the S2DL library via pip:\n\n```bash\npip install s2dl\n```\n\n## Usage\n\nHere's a simple usage example:\n\n```python\nfrom s2dl import fetch_single_sentinel_product\nfrom pathlib import Path\n\nproduct_id = \"S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611\"\ntarget_directory = Path(\"./data\")\ntarget_directory.mkdir(exist_ok=True)\n\n# Fetch and save a single Sentinel-2 product's data\nscene_dir = fetch_single_sentinel_product(product_id, target_directory)\n```\n\nFor downloading multiple products:\n\n```python\nfrom s2dl import fetch_multiple_sentinel_products\nfrom pathlib import Path\n\nproduct_ids = [\n    \"S2A_MSIL2A_20220111T021351_N0301_R060_T50HLK_20220111T041611\",\n    \"S2A_MSIL1C_20230712T032521_N0509_R018_T52WFD_20230712T051642\",\n]\ntarget_directory = Path(\"./data\")\ntarget_directory.mkdir(exist_ok=True)\n\n# Fetch and save multiple Sentinel-2 products' data\nscene_dirs = fetch_multiple_sentinel_products(product_ids, target_directory)\n```\n\n## Contributions\n\nWe welcome contributions from the community. Please submit a pull request with your improvements or bug fixes.\n\n## License\n\nS2DL is licensed under the MIT License.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "S2DL is a Python library for downloading Sentinel-2 L1C and L2A satellite imagery data.",
    "version": "0.3",
    "project_urls": {
        "Homepage": "https://github.com/DPIRD-DMA/S2DL"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ff172e113776e10f48cb4e0d99ea5c725a8939cedebbb904650028d1cbc80de",
                "md5": "6802e9061fa86d847ce06678bfb3ce1b",
                "sha256": "e6406938a31a0460a9b8dfdef6d04805997b127c0861b01a864e9f9f87bc77ed"
            },
            "downloads": -1,
            "filename": "s2dl-0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6802e9061fa86d847ce06678bfb3ce1b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5073,
            "upload_time": "2023-08-04T00:50:25",
            "upload_time_iso_8601": "2023-08-04T00:50:25.062150Z",
            "url": "https://files.pythonhosted.org/packages/4f/f1/72e113776e10f48cb4e0d99ea5c725a8939cedebbb904650028d1cbc80de/s2dl-0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cfefc08694b37ea2063ff385b4f7dede488774de0e37e7083003dc5d7cd557f6",
                "md5": "c6c592b26ed3bf78f58ae92918296bc2",
                "sha256": "ef262058c5863bb3017ad045aa4afc661eb44193e89196eb9e784cadf2329ca7"
            },
            "downloads": -1,
            "filename": "s2dl-0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "c6c592b26ed3bf78f58ae92918296bc2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4715,
            "upload_time": "2023-08-04T00:50:26",
            "upload_time_iso_8601": "2023-08-04T00:50:26.712888Z",
            "url": "https://files.pythonhosted.org/packages/cf/ef/c08694b37ea2063ff385b4f7dede488774de0e37e7083003dc5d7cd557f6/s2dl-0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-04 00:50:26",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DPIRD-DMA",
    "github_project": "S2DL",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    ">=",
                    "2.0.0"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    ">=",
                    "4.0.0"
                ]
            ]
        }
    ],
    "lcname": "s2dl"
}
        
Elapsed time: 0.17494s