Access Tilebox datasets from Python
Project description
Documentation | Console | Discord
Tilebox Datasets
Access satellite data using the Tilebox datasets python client powered by gRPC and Protobuf.
Quickstart
Install using pip:
pip install tilebox-datasets
Instantiate a client:
from tilebox.datasets import Client
# create your API key at
# https://console.tilebox.com
client = Client(token="YOUR_TILEBOX_API_KEY")
Explore datasets:
datasets = client.datasets()
print(datasets)
sentinel1_sar = datasets.open_data.copernicus.sentinel1_sar
collections = sentinel1_sar.collections()
print(collections)
Load data:
s1a_raw = collections["S1A_IW_RAW__0S"]
interval = ("2017-01-01", "2023-01-01")
raw_data = s1a_raw.load(interval, show_progress=True)
print(raw_data)
<xarray.Dataset> Size: 725MB
Dimensions: (time: 1109597, latlon: 2)
Coordinates:
ingestion_time (time) datetime64[ns] 9MB 2024-06-21T11:03:33.8524...
id (time) <U36 160MB '01595763-bae7-a646-99a5-d7f40d7...
* time (time) datetime64[ns] 9MB 2017-01-01T00:17:50.8230...
* latlon (latlon) <U9 72B 'latitude' 'longitude'
Data variables: (12/30)
granule_name (time) object 9MB 'S1A_IW_RAW__0SSV_20170101T00175...
processing_level (time) <U2 9MB 'L0' 'L0' 'L0' 'L0' ... 'L0' 'L0' 'L0'
satellite (time) object 9MB 'SENTINEL-1' ... 'SENTINEL-1'
flight_direction (time) <U10 44MB 'ASCENDING' ... 'ASCENDING'
product_type (time) object 9MB 'IW_RAW__0S' ... 'IW_RAW__0S'
copernicus_id (time) <U36 160MB 'f3f6ec28-0f72-5d28-9e14-93f96b3...
... ...
acquisition_mode (time) <U2 9MB 'IW' 'IW' 'IW' 'IW' ... 'IW' 'IW' 'IW'
Documentation
Check out the Tilebox Datasets documentation for more information.
License
Distributed under the MIT License (The MIT License).
Project details
Release history Release notifications | RSS feed
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 tilebox_datasets-0.33.0.tar.gz.
File metadata
- Download URL: tilebox_datasets-0.33.0.tar.gz
- Upload date:
- Size: 50.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c128793b291d837247270f4045668fe2ebe57e5136c4b5e5b85f4f8c73b24c56
|
|
| MD5 |
135bfd6b2d15cd5342ca3581e895da6a
|
|
| BLAKE2b-256 |
f5c97823c8ad209272b627811391f0ef34713ee970499175a862236ce7003527
|
Provenance
The following attestation bundles were made for tilebox_datasets-0.33.0.tar.gz:
Publisher:
publish_tilebox_datasets.yml on tilebox/tilebox-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tilebox_datasets-0.33.0.tar.gz -
Subject digest:
c128793b291d837247270f4045668fe2ebe57e5136c4b5e5b85f4f8c73b24c56 - Sigstore transparency entry: 187212106
- Sigstore integration time:
-
Permalink:
tilebox/tilebox-python@bf4f8432ebcecaed49ef1fb6c7c0f0289c17292f -
Branch / Tag:
refs/tags/v0.33.0 - Owner: https://github.com/tilebox
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_tilebox_datasets.yml@bf4f8432ebcecaed49ef1fb6c7c0f0289c17292f -
Trigger Event:
release
-
Statement type:
File details
Details for the file tilebox_datasets-0.33.0-py3-none-any.whl.
File metadata
- Download URL: tilebox_datasets-0.33.0-py3-none-any.whl
- Upload date:
- Size: 77.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
856d9f7b65d02eb8bdfe4c094801628b0f60a29bdff64211e4a8c56e26b46799
|
|
| MD5 |
61180b5a0cebb6c6dd41c6ccdc5788a7
|
|
| BLAKE2b-256 |
a9c0fbcbb1a954bb1176c67db47c30078f9940bd54efe8db17dc7c3e7a0af096
|
Provenance
The following attestation bundles were made for tilebox_datasets-0.33.0-py3-none-any.whl:
Publisher:
publish_tilebox_datasets.yml on tilebox/tilebox-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tilebox_datasets-0.33.0-py3-none-any.whl -
Subject digest:
856d9f7b65d02eb8bdfe4c094801628b0f60a29bdff64211e4a8c56e26b46799 - Sigstore transparency entry: 187212111
- Sigstore integration time:
-
Permalink:
tilebox/tilebox-python@bf4f8432ebcecaed49ef1fb6c7c0f0289c17292f -
Branch / Tag:
refs/tags/v0.33.0 - Owner: https://github.com/tilebox
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_tilebox_datasets.yml@bf4f8432ebcecaed49ef1fb6c7c0f0289c17292f -
Trigger Event:
release
-
Statement type: