Skip to main content

Image of European Commission

Repository of the JRC-CbM for the CAP

This repository provides access to the Checks by Monitoring (CbM) project code and technical documentation developed by the Joint Research Centre (JRC) to support Member States (MS). Here the Guidance and Tools for CAP (GTCAP) JRC group shares a CbM system layout and code examples to demonstrate how Paying Agencies (PA) can process and use Sentinel data to check aid applications for the common agricultural policy (CAP). The JRC CbM is based on a cloud infrastructure solution that is modular and built exclusively on open source components.

The technical description of the system components and the instruction on how to set up and use a CbM system are available in the JRC CbM TECHNICAL DOCUMENTATION.
A general overview of the system architecture and scope is provided in the JRC CbM GENERAL DOCUMENTATION.

JRC CbM ARCHITECTURE is made of two layers. The first is the BACKEND SERVER that provides the end-points to retrieve data and includes the physical infrastructure and the routines that generates the information used by the analysts. The second is the FRONTEND COMPONENT that is manipulated by the user and provides access to the data generated by the backend through standard Application Programming Interface (API) and the functions and tools to analyse the data.

In this repository we share the code developed for both the backend and the frontend, structured according to three levels:

  • Setting up the infrastructure (target users: system administrators)
  • Develop analytical functionalities (target users: analysts)
  • Apply the functionalities (target users: final users)

Structure of the repository

The scripts and documentation are organized in the following sections/subfolders:

  • api: Modules to build a RESTful API for CbM
  • cbm: CbM Python library
  • docker: Docker image files
  • docs: Documentation pages with example codes
  • ipynb: Jupyter Notebook examples
  • scripts: Python scripts for signal processing (marker detection, parcel extraction routines and time series calendar view)
  • tests: Test scripts for generic functionalities

General requisites to set up the CbM system

In the framework of the Outreach project, an operational cloud infrastructure (based on CreoDIAS) has been created by GTCAP with the backend component developed and managed by JRC and offered to Member States to experiment the functionalities of the system. Here, MS can use dedicated API to explore and analyse Sentinel data extracted for their declared parcels using Python and Jupiter Notebooks.

A PA/MS that wants to developed and managed its own CbM system must have as a prerequisite:

  1. Computing resources
  2. Copernicus Analysis Ready Data (CARD) (Sentinel 1 and 2 data for the study area)
  3. Agricultural parcel data (typically, declared parcels from the Land Parcel Identification System (LPIS) and the Geospatial Aid Application (GSAA))

The first two requisites can be achieved using one of the five Copernicus Data and Information Access Services (DIAS) available (CREODIAS, WEKEO, SOBLOO, MUNDI, ONDA).

Deployment of the CbM system

There are several steps to set up the core components for CbM that require different types of technical expertise.

  1. Setup server applications
  • Docker (containerization system)
  • PostgreSQL database with PostGIS extension
  • Jupyter (interactive analysis and visualization environment)
  • Restful API (intermediate layer to access and use Copernicus data and the database)
  1. Adding data to the database
    • Parcels data
    • CARD Metadata and other setting data
  2. Process Sentinel data to derive relevant information
    • Parcel stats extraction routines
    • Machine learning algorithms
    • Analytical routines (e.g. markers detection)
  3. Analyzing and reporting
    • Using Jupyter Notebooks to explore and analyze data
    • Generate reports and other outputs to classify aid applications

Contributing

This repository is open for contribution, particularly from PA experts. Please read "Creating a pull request" for details on the process for submitting pull requests.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the 3-Clause BSD license - see the LICENSE file for details.


Copyright (c) 2022, European Commission, Joint Research Centre. All rights reserved.

Metadata

Release files for cbm 0.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cbm 0.0.18
File Size Uploaded
cbm-0.0.18.tar.gz 94.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cbm 0.0.18
File Interpreter ABI Platform
cbm-0.0.18-py3-none-any.whl Python 3 none any Details

Total release size: 224.1 kB

Release files / cbm-0.0.18.tar.gz

Download URL cbm-0.0.18.tar.gz
Size 94.1 kB
Tags Source
SHA-256 checksum
How to use checksums
3ad95acf2befdf1f86b2eae1d45c96618605d95f19ee63f38057e53d16861b66
BLAKE2b-256 checksum
How to use checksums
025e50ced4b9a87357d499ecf4ec7a63a413d7ba6f412aaed0ae3d5fb9977b5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.61.0 importlib-metadata/4.0.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Release files / cbm-0.0.18-py3-none-any.whl

Download URL cbm-0.0.18-py3-none-any.whl
Size 130.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf62b0b83698eb514490240180fa24c71519a6ced38ea06719df5c61babfec9b
BLAKE2b-256 checksum
How to use checksums
86a5fa7a11f9949b2a7b592e2f84a0b1590c2283ae7d162d826a9e2c2b741100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.61.0 importlib-metadata/4.0.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.18 This release

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page