Skip to main content

Build Status

xcube-cci

An xcube plugin that allows generating data cubes from the ESA CCI Open Data Portal.

Installing the xcube-cci plugin

Installation into a new environment with conda

xcube-cci and all necessary dependencies (including xcube itself) are available on conda-forge, and can be installed using the conda package manager. The conda package manager itself can be obtained in the miniconda distribution. Once conda is installed, xcube-cci can be installed like this:

$ conda create --name xcube-cci-environment --channel conda-forge xcube-cci
$ conda activate xcube-cci-environment

The name of the environment may be freely chosen.

Installation into an existing environment with conda

xcube-cci can also be installed into an existing conda environment. With an existing conda environment activated, execute this command:

$ conda install --channel conda-forge xcube-cci

xcube and any other necessary dependencies will be installed or updated if they are not already installed in a compatible version.

Installation into an existing environment from the repository

If you want to install xcube-cci directly from the git repository (for example in order to use an unreleased version or to modify the code), you can do so as follows:

$ git clone https://github.com/esa-cci/xcube-cci.git
$ cd xcube-cci
$ conda env create
$ conda activate xcube-cci
$ pip install --no-deps -e .

Testing

You can run the unit tests for xcube-cci by executing

$ pytest

in the xcube-cci repository. Note that, in order to successfully run the tests using the current repository version of xcube-cci, you may also need to install the repository version of xcube rather than its latest conda-forge release.

To create a test coverage report, you can use

coverage run --include='xcube_cci/**' --module pytest
coverage html

This will write a coverage report to htmlcov/index.html.

Use

Jupyter notebooks demonstrating the use of the xcube-cds plugin can be found in the examples/notebooks/ subdirectory of the repository.

Releasing

To release xcube-cci, please follow the steps outlined in the xcube Developer Guide.

Metadata

Release files for xcube-cci 0.14.2

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

Source distribution (sdist)

Source distribution for xcube-cci 0.14.2
File Size Uploaded
xcube_cci-0.14.2.tar.gz 765.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xcube-cci 0.14.2
File Interpreter ABI Platform
xcube_cci-0.14.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / xcube_cci-0.14.2.tar.gz

Download URL xcube_cci-0.14.2.tar.gz
Size 765.7 kB
Tags Source
SHA-256 checksum
How to use checksums
df232b24e846dadaaf2560b33ec43ecf8811a676ff0ef4d9fa07ec908c99d9c2
BLAKE2b-256 checksum
How to use checksums
358b59df3c07ccb47f729502bb450be39035de8db56263ea0d018c0f244fd101
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / xcube_cci-0.14.2-py3-none-any.whl

Download URL xcube_cci-0.14.2-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
88fa5787857b1ae566f6e7b04d74653e41c57c0769ad54796ac1e148207249e2
BLAKE2b-256 checksum
How to use checksums
d7cbab59e8acfb559501f1789b33ef547bf4ec1f1469f30413bfccb81ccd767c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7
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