A client library for Terrakio's WCS API service
Project description
Terrakio API Client
A Python client for Terrakio's Web Coverage Service (WCS) API. This package provides a user-friendly interface for accessing Terrakio's data services.
Features
- Authentication and user management
- WCS queries and data retrieval
- Efficient data handling with xarray and pandas
Installation
pip install terrakio-api
Usage Example
from terrakio_api import Client
from shapely.geometry import Point
# Initialize the client
client = Client(url="https://api.terrak.io", key="your-api-key")
# Create a geographic feature
point = Point(149.057, -35.1548)
geojson = {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [point.x, point.y]
},
"properties": {
"name": "Location in Canberra region",
"description": "Coordinates: 149.057, -35.1548"
}
}
# Make a WCS request
dataset = client.wcs(
expr="prec=MSWX.precipitation@(year=2024, month=1)\nprec",
feature=geojson,
output="netcdf"
)
For more documentation, see the main repository.
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
terrakio_api-0.2.0.tar.gz
(7.3 kB
view details)
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 terrakio_api-0.2.0.tar.gz.
File metadata
- Download URL: terrakio_api-0.2.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
680d8c96f6f92b4b5ba5fe7d86cc6d7c261357a6415d20d859b8fd76a6f4441b
|
|
| MD5 |
bbf463ceebba4ab8c9e8f9db3bcbcfe0
|
|
| BLAKE2b-256 |
3f4fd86fa53ea95deddc0d4b405b866ae6368a422fe6c1929c1abb02cb24be1f
|
File details
Details for the file terrakio_api-0.2.0-py3-none-any.whl.
File metadata
- Download URL: terrakio_api-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f39523e7884fabc91f3da3c473afd819b50128c7ff743cc8689d8997751284e8
|
|
| MD5 |
86cdcaf144c4ad87a90350c9c7ff6cdc
|
|
| BLAKE2b-256 |
ef25c21db9be0c6acb1c73546bf705772c570674a6465f7d1b6623aba3258c24
|