An xcube plugin that allows generating data cubes from the ESA CCI Open Data Portal.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xcube_cci-0.11.1.tar.gz
.
File metadata
- Download URL: xcube_cci-0.11.1.tar.gz
- Upload date:
- Size: 216.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36fceec909926f90726de12d42eb6379db59e9ad591a9605800b5c308626271c |
|
MD5 | c65055f4de3849daba86f9f2ab4bdbc3 |
|
BLAKE2b-256 | b1a29f3e582b45ea33c7f34bc7f9c6759943e6c3c3d57cc64e65bf06a4eff316 |
File details
Details for the file xcube_cci-0.11.1-py3-none-any.whl
.
File metadata
- Download URL: xcube_cci-0.11.1-py3-none-any.whl
- Upload date:
- Size: 159.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d2f76d6e1bb409a3e525795e8782600f90e3184bfbdaabcdccae6395c63360 |
|
MD5 | fba91882ffb0c4daf3c16f710b3a844e |
|
BLAKE2b-256 | bb936d741980bba8b63edbbbad94a81dca86ce8db25abcad6386bc919b221059 |