Skip to main content

TERN ecoplots data access library

Project description

EcoPlots Python Library

PyPI Python versions Docs License GitHub EcoPlots Portal

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 EcoPlots and asynchronous AsyncEcoPlots
  • 💾 Save / load projects via .ecoproj for 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())

Links


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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terndata_ecoplots-0.0.3b0.tar.gz (273.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

terndata_ecoplots-0.0.3b0-py3-none-any.whl (106.3 kB view details)

Uploaded Python 3

File details

Details for the file terndata_ecoplots-0.0.3b0.tar.gz.

File metadata

  • Download URL: terndata_ecoplots-0.0.3b0.tar.gz
  • Upload date:
  • Size: 273.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for terndata_ecoplots-0.0.3b0.tar.gz
Algorithm Hash digest
SHA256 ce29c321e9423c80bd1aa28ed0c5dfdaa097ace83bdd68555949576469445c73
MD5 a067acc8eb0405580ac41c4ff592588d
BLAKE2b-256 935978c52c4b12be4b4a501cb8f17ee5f74fca4c34b874220d9e8d0e602692aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for terndata_ecoplots-0.0.3b0.tar.gz:

Publisher: publish.yml on ternaustralia/terndata.ecoplots

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file terndata_ecoplots-0.0.3b0-py3-none-any.whl.

File metadata

File hashes

Hashes for terndata_ecoplots-0.0.3b0-py3-none-any.whl
Algorithm Hash digest
SHA256 db3cbbde94f381999fed55d595f66ca2f333b0210d09f6c5934814eb41728ecd
MD5 d71cbbc18ddf6fb33c7410eb50b0f319
BLAKE2b-256 6e29a7f23adc80f8829a16e16ee170517cecdb1538947fa039a302a08712758b

See more details on using hashes here.

Provenance

The following attestation bundles were made for terndata_ecoplots-0.0.3b0-py3-none-any.whl:

Publisher: publish.yml on ternaustralia/terndata.ecoplots

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page