Skip to main content

Python tools for generating vegetation index timeseries from PhenoCam images.

Project description

PyPI Package latest release Travis-CI Build Status Documentation Status Supported versions

Python tools for generating vegetation index timeseries from PhenoCam images.

  • Free software: MIT license

Introduction

The PhenoCam Network is a project designed to study the patterns of seasonal variation (phenology) of vegetation. The project website is at https://phenocam.sr.unh.edu/. The network consists of many cameras collecting images of various types of vegetation. By analysing the images we can quantify the seasonal changes at a particular camera site.

A “vegetation index” refers to a quantity calculated using information from various spectral bands of an image of a vegetated area. The image is typically obtained from a remote-sensing instrument on an earth orbiting satellite. There are several vegetation index values in common usage. The most widely used are NDVI (Normalized Difference Vegetation Index) and EVI (Enhanced Vegetation Index). For the PhenoCam project the Green Chromatic Coordinate or GCC is our standard vegetation index.

For the PhenoCam network, the images are obtained from webcams (usually installed on towers) looking across a vegetated landscape. These images are typically in JPEG format and have 3-bands (Red, Green, and Blue). For some cameras a separate image dominated by an IR (infrared) band is collected.

The algorithms used in in this package have been discussed in numerous publications. You can find a list of publications for the PhenoCam Network project here. The details of the calculation of GCC are presented in this python notebook .

After the package is installed two python scripts should be available:

  • generate_roi_timeseries

  • generate_summary_timeseries

These scripts allow you to reproduce the PhenoCam network “standard timeseries products” from downloaded data. For a description of the products see the project Tools Page.

Quick Installation

>From the command line type:

pip install vegindex

Some of the packages that vegindex depends on may not install automatically (using pip) since they depend on system libraries. If the above command does not work you can try:

pip install Pillow
pip install vegindex

The latest version of the documentation can be found at readthedocs.io

Changelog

0.5.2 (2018-04-09)

  • Really fix bug in plot_roistats when no data are filtered.

0.5.1 (2018-04-09)

  • Fix bug in plot_roistats when no data are filtered.

  • Update docs

0.5.0 (2017-11-29)

  • Fix header on roistats.csv file

  • Add plotting script (matplotlib library is now required)

  • Remove timeout on requests query which was causing tests to fail.

  • Update usage docs

0.4.0 (2017-11-27)

  • Add fallback to local site_info.csv file to get basic site metadata

  • Update exception handling (removed bare exceptions)

0.3.1 (2017-10-06)

  • Change data product name from _roi_statistics.csv to _roistats.csv

0.3.0 (2017-09-12)

  • Added support for .meta files

  • Change data product name from _timeseries.csv to _roi_statistics.csv

0.2.0rc1 (2017-06-14)

  • Added support for python3

0.1.1rc3 (2017-06-13)

  • First release on PyPI.

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

vegindex-0.5.2.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

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

vegindex-0.5.2-py2.py3-none-any.whl (39.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file vegindex-0.5.2.tar.gz.

File metadata

  • Download URL: vegindex-0.5.2.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for vegindex-0.5.2.tar.gz
Algorithm Hash digest
SHA256 c28b0d9e65d27616db54c2b143f8e6ccb70d60d0ef296d5414749d67ea6d6b5b
MD5 dfa740b29f0da30b54d3e9898ec823cb
BLAKE2b-256 7c65db362a24988f6e01c6b0f27f009c9213d6468e19dfa143e74c73f941e96e

See more details on using hashes here.

File details

Details for the file vegindex-0.5.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for vegindex-0.5.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2b428d244f3e1b35ff8ab9584e18903f65f7e9b6e629661c6090615ae8b4df23
MD5 5da526c0806dbcb7428cec3d760afdd3
BLAKE2b-256 e886a0359b1d5ba4afc8de8e3d286e35557e9f24813bd508e2af79374e74083f

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