Skip to main content

Python Client of the Web Crop Phenological Metrics Service for Earth Observation Data Cubes

Project description

Software License Documentation Status Software Life Cycle Release Python Package Index Join us at Discord

About

The Web Crop Phenology Metrics Service (WCPMS) is an web service for calculating phenological metrics based on Phenolopy library and EO Data from the Brazil Data Cube (BDC). It will allow analysts to calculate phenological metrics from data cubes without downloading big EO datasets to their personal computers.

The software run on the server side, so it doesn’t require package installation. Through a simple API, analysts indicate a spatial location or region and the WCPMS will retrieve the phenological metrics associated with spatial locations by calculating it using time series.

The WCPMS is a web service, and it can be accessed through its API. To facilitate these operations, we have developed an official client—a simple Python library. The WCPMS Client is composed of a group of functions, the main ones are:

  • get_collections: returns in list format the unique identifier of each of the data cubes available in the BDC’s SpatioTemporal Asset Catalogs (STAC).

  • get_description: returns in dictionary format the information on each of the phenology metrics, such as code, name, description and method.

  • get_phenometrics: returns in dictionary form all the phenological metrics calculated for the given spatial location.

  • get_phenometrics_region: returns in list form dictionary with the phenological metrics calculated for each of the given spatial location based on selected region methodology (all, systematic grid or random grid).

Installation

See INSTALL.rst.

Using WCPMS in the Command Line

See CLI.rst.

Documentation

See https://wcpms.readthedocs.io/en/latest.

References

WIP

License

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

wcpms-0.1.0.tar.gz (626.2 kB view details)

Uploaded Source

Built Distribution

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

wcpms-0.1.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wcpms-0.1.0.tar.gz
  • Upload date:
  • Size: 626.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for wcpms-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fb167f24890e6107e52c79252167cd3a0bcf20042d434fae62eae932ef42792
MD5 a02f3d532975bf4d5edf39537854ff2a
BLAKE2b-256 9bbdeabd3f99e4a985676d2b39ea738b6c8045099d2d74d1dfe463709adcfb54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wcpms-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for wcpms-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0642a0630266312e5e880d010e6015d77bac52d7c2f401c8cf47e46d15879bd5
MD5 f7fa95bd9d5db3e8f8dcaa9a2fe71611
BLAKE2b-256 192abbece47443a8b5cb2d2b042f09bc7196fea6ac0924077778c20a59f48acc

See more details on using hashes here.

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