Skip to content

Pep725

This module contains functionality to download PEP725 data using phenor as client.

PEP725 is the Pan-European Phenology network (http://www.pep725.eu/).

Requires phenor R package. Install with

devtools::install_github("bluegreen-labs/phenor@v1.3.1")

Requires ~/.config/pep725_credentials.txt file with your PEP725 credentials. Email adress on first line, password on second line.

Example
from springtime.datasets.insitu.pep725 import PEP725Phenor
dataset = PEP725Phenor(species='Syringa vulgaris', years=[2000, 2000])
dataset.download()
df = dataset.load()

# or with filters
dataset = PEP725Phenor(
    species='Syringa vulgaris',
    years=[2000, 2000],
    area={'name':'some', 'bbox':(4, 45, 8, 50)}
)

PEP725Phenor

Bases: Dataset

Download and load data from PEP725.

Attributes:

Name Type Description
years

timerange. For example years=[2000, 2002] downloads data for three years.

resample

Resample the dataset to a different time resolution. If None, no resampling.

species str

Full species name, see http://www.pep725.eu/pep725_gss.php for options.

bbch int

Phenological development stage according to BBCH scale. See http://www.pep725.eu/pep725_phase.php for options. Default is 60: 'Beginning of flowering'.

area Optional[NamedArea]

A dictionary of the form {"name": "yourname", "bbox": [xmin, ymin, xmax, ymax]}.

credential_file Path

Path to PEP725 credentials file. Email adress on first line, password on second line.

download()

Download the data.

load()

Load the dataset from disk into memory.