Skip to main content

deimsPy

This repository represents the latest version of a collection of python functions with the intention of easing access to DEIMS-SDR data (https://www.deims.org). This python package is openly available and free to use. Should you use DEIMS-SDR data for any studies or analyses, please cite the service accordingly. For further information about DEIMS-SDR, please refer to its About page (https://www.deims.org/about).

Installation

Via pip (see the package on PyPI): pip install deims. Manually: download deims.py to working directory.

You can then import deims as normal.

Usage

Get the list of all verified sites of a network, e.g. ECN

  • deims.getListOfSites(network="a197664f-569e-4df6-933a-86de676dbfc5",verified_only=True)

Get the list of all network sites (verified and not verified), e.g. LTER Austria

  • deims.getListOfSites("d45c2690-dbef-4dbc-a742-26ea846edf28")

Get the list of all sites

  • deims.getListOfSites()

Get a particular site record by its DEIMS.ID (multiple formats of the DEIMS.ID are accepted)

  • deims.getSiteById(site_id="deims.org/8eda49e9-1f4e-4f3e-b58e-e0bb25dc32a6")
  • deims.getSiteById("1b94503d-285c-4028-a3db-bc78e31dea07")

Get all sites on DEIMS within 30km of latitude 47.84, longitude 14.44

  • deims.getSitesWithinRadius(lat=47.84,lon=14.44,distance=30000)

Get all sites on DEIMS within 1500m of latitude 57.08, longitude -3.667

  • deims.getSitesWithinRadius(57.08,-3.667,1500)

Get the coordinates or boundaries of a particular site as a GeoDataFrame

  • deims.getSiteCoordinates("8eda49e9-1f4e-4f3e-b58e-e0bb25dc32a6")
  • deims.getSiteBoundaries("8eda49e9-1f4e-4f3e-b58e-e0bb25dc32a6")

Get the coordinates boundaries of multiple sites and save them as a shapefile called "lter-austria.shp"

  • deims.getSiteCoordinates(deims.getListOfSites("d45c2690-dbef-4dbc-a742-26ea846edf28"),"lter-austria")
  • deims.getSiteBoundaries(deims.getListOfSites("d45c2690-dbef-4dbc-a742-26ea846edf28"),"lter-austria")

Download files

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

Source Distribution

deims-4.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

deims-4.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file deims-4.0.tar.gz.

File metadata

  • Download URL: deims-4.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for deims-4.0.tar.gz
Algorithm Hash digest
SHA256 7ea6d885ae79e10bab570cf729ee5b7b3e7dc55bc220ee7eab854723abc4015e
MD5 3d937258a1540e050baeb0cb4ef3149c
BLAKE2b-256 3b140f46312a5dbc50968538ab864e7e753f90d986e41e44ccb1ea67aede413b

See more details on using hashes here.

File details

Details for the file deims-4.0-py3-none-any.whl.

File metadata

  • Download URL: deims-4.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for deims-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6f87042d93bd08a7f570a1487d2f5ba936005a7f09b846ff82e5ce75afb93edd
MD5 be8c148d5a78d493013d5553f40489c4
BLAKE2b-256 2c32e20cd1e4a7472d3826f77acbcb676732c7793e183a6416b22b82d03e3806

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

4.0 This release

2 files

3.1

2 files

3.0

2 files

2.0

2 files

1.0

2 files

Supported by

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