TERN ecoplots data access library
Project description
EcoPlots Python Library
High-level Python clients for discovering, filtering, previewing, and retrieving
ecological plot data from the TERN EcoPlots Portal.
Returns tidy structures for analysis (pandas.DataFrame, geopandas.GeoDataFrame)
or raw GeoJSON.
Features
- 🔎 Discover datasets with validated, human-friendly filters
- ⚡ Preview result pages before full downloads
- 🗺️ Spatial selection (GeoJSON/WKT)
- 🧭 Two clients: synchronous
EcoPlotsand asynchronousAsyncEcoPlots - 💾 Save / load projects via
.ecoprojfor reproducible workflows
Documentation: https://terndata-ecoplots.readthedocs.io
Installation
pip install terndata.ecoplots
Supported Python: 3.10+
Quick start
from terndata.ecoplots import EcoPlots
ec = EcoPlots()
ec.select(site_id="TCFTNS0002") # add validated filters
preview = ec.preview().head() # quick look (first page)
gdf = ec.get_data() # full pull (GeoDataFrame)
Async
import asyncio
from terndata.ecoplots import AsyncEcoPlots
async def main():
ec = AsyncEcoPlots()
ec.select(site_id="TCFTNS0002")
gdf = await ec.get_data()
return gdf
# asyncio.run(main())
Demo
For example usage, please refer to the demo notebook.
Links
- 📚 Docs (latest): https://terndata-ecoplots.readthedocs.io/en/latest/
- 🧭 EcoPlots Portal: https://ecoplots.tern.org.au
- 🧑💻 Source: https://github.com/ternaustralia/terndata.ecoplots
- 📦 PyPI: https://pypi.org/project/terndata.ecoplots/
Contributing
Issues and pull requests are welcome—please open an issue to discuss substantial changes.
Build docs locally:
pip install -r docs/requirements.txt
make -C docs html
Run tests:
make test
Build wheels locally:
make build
Support
For questions or issues, email esupport@tern.org.au.
Citation
Terrestrial Ecosystem Research Network (2025). terndata.ecoplots: A Python package for accessing TERN EcoPlots data. https://pypi.org/project/terndata.ecoplots/
License
Licensed under the terms in LICENSE.
Copyright © 2025 TDSA (TERN Data Services and Analytics).
Author: Avinash Chandra.
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 terndata_ecoplots-0.0.4b0.tar.gz.
File metadata
- Download URL: terndata_ecoplots-0.0.4b0.tar.gz
- Upload date:
- Size: 275.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e198a566c387e94da0df7c53f6d898fa6eed4b1a17bb6fb1d44fc823203955f7
|
|
| MD5 |
bf38f3244d9bf478f6777096d8ac06a5
|
|
| BLAKE2b-256 |
b1648ca7a1cba30bb959ccb5a7975a0278ef12edbeaee9502d2bdbc87ab557c6
|
Provenance
The following attestation bundles were made for terndata_ecoplots-0.0.4b0.tar.gz:
Publisher:
publish.yml on ternaustralia/terndata.ecoplots
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
terndata_ecoplots-0.0.4b0.tar.gz -
Subject digest:
e198a566c387e94da0df7c53f6d898fa6eed4b1a17bb6fb1d44fc823203955f7 - Sigstore transparency entry: 725078349
- Sigstore integration time:
-
Permalink:
ternaustralia/terndata.ecoplots@c8813a9052f8cc13c322fe414617cab88a407e54 -
Branch / Tag:
refs/tags/0.0.4-beta - Owner: https://github.com/ternaustralia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c8813a9052f8cc13c322fe414617cab88a407e54 -
Trigger Event:
release
-
Statement type:
File details
Details for the file terndata_ecoplots-0.0.4b0-py3-none-any.whl.
File metadata
- Download URL: terndata_ecoplots-0.0.4b0-py3-none-any.whl
- Upload date:
- Size: 109.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be8dc74b8734db306c48a58cbc56b7579049ac3bf9072d72832b5e1b9e410c36
|
|
| MD5 |
5c186799e9e362e6d636f765bfd01f0c
|
|
| BLAKE2b-256 |
f2200b9f42ffed6c5095e547f0bc16bca2c165ec2e46bc4e368e943e5ef88b42
|
Provenance
The following attestation bundles were made for terndata_ecoplots-0.0.4b0-py3-none-any.whl:
Publisher:
publish.yml on ternaustralia/terndata.ecoplots
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
terndata_ecoplots-0.0.4b0-py3-none-any.whl -
Subject digest:
be8dc74b8734db306c48a58cbc56b7579049ac3bf9072d72832b5e1b9e410c36 - Sigstore transparency entry: 725078352
- Sigstore integration time:
-
Permalink:
ternaustralia/terndata.ecoplots@c8813a9052f8cc13c322fe414617cab88a407e54 -
Branch / Tag:
refs/tags/0.0.4-beta - Owner: https://github.com/ternaustralia
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c8813a9052f8cc13c322fe414617cab88a407e54 -
Trigger Event:
release
-
Statement type: