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.2b0.tar.gz (270.2 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.2b0-py3-none-any.whl (105.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terndata_ecoplots-0.0.2b0.tar.gz
  • Upload date:
  • Size: 270.2 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.2b0.tar.gz
Algorithm Hash digest
SHA256 2e9383b3934ff4e5517f3ba38c242c68019650bd98dc7c2fddc4e19af38779d7
MD5 ea939d7037292c9d95b86d7b5bbf002c
BLAKE2b-256 c1f6819949b35fa3c3090fe1c616acfc54ba4fa42be38bb785c1b7946899869d

See more details on using hashes here.

Provenance

The following attestation bundles were made for terndata_ecoplots-0.0.2b0.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.2b0-py3-none-any.whl.

File metadata

File hashes

Hashes for terndata_ecoplots-0.0.2b0-py3-none-any.whl
Algorithm Hash digest
SHA256 16b13b77e8fe588e286236daf3d012c789e278da0df7f671f5f5f687ebe774dc
MD5 3931b46acc4ae365e91db4103280af49
BLAKE2b-256 4eb8750f4f3436b92878e9476304ad97f388268d1e5f8d51f00717c3dea236bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for terndata_ecoplots-0.0.2b0-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