Skip to main content

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

Project description

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.

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

xcube_cci-0.12.1.tar.gz (753.8 kB view details)

Uploaded Source

Built Distribution

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

xcube_cci-0.12.1-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file xcube_cci-0.12.1.tar.gz.

File metadata

  • Download URL: xcube_cci-0.12.1.tar.gz
  • Upload date:
  • Size: 753.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for xcube_cci-0.12.1.tar.gz
Algorithm Hash digest
SHA256 00f380b055aaa7b3ab5a8e897517a7002e0d4d4119e9932bc972cb9a0d0b2347
MD5 c2e05eb7625e8b08ac1f7483a419d82d
BLAKE2b-256 6235820bccc8b9bb364596105997559c25443fc915ee0f83d126725dcb97d41b

See more details on using hashes here.

File details

Details for the file xcube_cci-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: xcube_cci-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for xcube_cci-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e94918d8644af7318b311becf6601b8dfca1985ffd351664780661a592d47bb
MD5 fcaee075669cc63f0d7b023f6ad1eba0
BLAKE2b-256 8047360795d9c7698e9e025ffb2a988941100f9715218336fa459e90f4279415

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