Skip to main content

Python client library for WCS (OGC Web Coverage Service) backends.

Project description

Overview

The OGC Web Coverage Service (WCS) standard defines support for modeling and retrieval of geospatial data as coverages (e.g. sensor, image, or statistics data).

This Python library allows to extract information about WCS coverages from a given WCS endpoint.

Installation

pip install wcs

Examples

from wcs.service import WebCoverageService

wcs_endpoint = "https://ows.rasdaman.org/rasdaman/ows"
service = WebCoverageService(wcs_endpoint)

# get a list of all coverages, with basic information such
# as a WGS 84 bounding box and a native bounding box
coverages = service.list_coverages()
avg_land_temp = coverages['AvgLandTemp']

# get full information for a particular coverage by
# parsing its DescribeCoverage document from the WCS server
full_avg_land_temp = service.list_full_info('AvgLandTemp')

Contributing

The directory structure is as follows:

  • wcs - the main library code
  • tests - testing code
  • docs - documentation in reStructuredText format

Tests

To run the tests:

# install dependencies
pip install wcs[tests]

pytest

Documentation

To build the documentation:

# install dependencies
pip install wcs[docs]

cd docs
make html

The built documentation can be found in the docs/_build/html/ subdir.

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

wcs-0.1.0.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

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

wcs-0.1.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file wcs-0.1.0.tar.gz.

File metadata

  • Download URL: wcs-0.1.0.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for wcs-0.1.0.tar.gz
Algorithm Hash digest
SHA256 87332e481f44be8a221fa1372073a4ec9d578a09acbb5e21d867b5ced654e321
MD5 f58f0cb4eb660dc2d9ee9d955d37c53a
BLAKE2b-256 f28192a083d9825fe9ff48c79f5fe9d956ab725ba2de4501b76c359b0cc6e12d

See more details on using hashes here.

Provenance

The following attestation bundles were made for wcs-0.1.0.tar.gz:

Publisher: release.yml on rasdaman/wcs-python-client

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

File details

Details for the file wcs-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: wcs-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for wcs-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3f929f0ebe30ab1c3d1cdfaea7fd4b090f397d21297ddddb6cbce2df671934d3
MD5 c68393b5c7c0cf8cc4b3d8f69e69bf4d
BLAKE2b-256 edbe3985cc3f733ae1c6b2bcaedd28a29d0e3901d7614a912b50169474860c2f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wcs-0.1.0-py3-none-any.whl:

Publisher: release.yml on rasdaman/wcs-python-client

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