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.3b2.tar.gz (272.3 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.3b2-py3-none-any.whl (109.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: terndata_ecoplots-0.0.3b2.tar.gz
  • Upload date:
  • Size: 272.3 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.3b2.tar.gz
Algorithm Hash digest
SHA256 fd33a1d733d2c5d837f74dbdae831ddff654d1e6109332cede51c19e0f597812
MD5 6e6b34a0a82d1c54a07f7f6b387d0560
BLAKE2b-256 9c56699fc9e6a220a3c29af5514331f82efcf2eac197b2da17c0850697fad46c

See more details on using hashes here.

Provenance

The following attestation bundles were made for terndata_ecoplots-0.0.3b2.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.3b2-py3-none-any.whl.

File metadata

File hashes

Hashes for terndata_ecoplots-0.0.3b2-py3-none-any.whl
Algorithm Hash digest
SHA256 2dff560fa47702d767d1788ecf9e8ee3bd401cd5d911f520a0dbe99415a9e5ab
MD5 e5c4674fd52618ca3206671f2a8a2737
BLAKE2b-256 e99245fa1d9c07c14de04ee0e72e4bcc61bbb75eae0a2fea18a84df6b4f49559

See more details on using hashes here.

Provenance

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