🎩 🪄 A Pinch of PixC Dust 🐇
This python project centralizes librairies to facilitate local studies based on SWOT-HR Level-2 Pixel Cloud products.
🚀 Quick Start
This project is available with pip and conda-forge. You can install it with either
- pip:
pip install pixcdust - conda:
conda install -c conda-forge pixcdust
🚀 Manual Installation
Start by cloning this package and installing the environment with either
- pip:
pip install -e . - poetry:
poetry install
📔 Notebooks
Start here to understand what you can do: "There is nothing more frustrating than a good example" (Mark Twain)
⬇️ Downloaders
The downloader classes allow you to directly download SWOT Pixel Cloud files from hydroweb.next (or other sources such as PO.DAAC to be implemented).
For hydroweb.next, it requires you to create an account and an API Key (token) from the platform: https://hydroweb.next.theia-land.fr.
Then, carefully store your API-Key :
- (default backend) in an environment variable
export HYDROWEB_API_KEY="PLEASE_CHANGE_ME". - (eodag backend) in your eodag configuration file (usually ~/.config/eodag/eodag.yml, automatically generated the first time you use eodag) in auth/credentials/apikey="PLEASE_CHANGE_ME";
- (eodag backend) or in an environment variable export EODAG__HYDROWEB_NEXT__AUTH__CREDENTIALS__APIKEY="PLEASE_CHANGE_ME".
🪄 Converters
The converter classes allow you to create more easy-to-use databases than the original netcdf4 format. The various databases are designed for local studies, not for huge country-scale databases (though it should work, they will not be efficient).
Zarr (with zcollection), geopackage and shapefile are currently supported.
The converters allow you to limit the databases to areas of interest (provided by polygons) and variables of interest (limitated to the pixel_cloud group mono-dimensional variables).
Users are encouraged to limit the number of variables to what is useful, especially for geopackage format, but also for the planet ;)
👓 Readers :
The reader classes allow you to read the original netcdf4 format or the databases generated by converters.
🧰 Tools
Here are some python script implementing the classes.
🔶 Discrete Global Grid System (experimental)
I enjoy DGGS a lot. It is pretty great if you want to perform on-the-fly "rasterization", partitionning, comparing pixels over time or space, etc.
Currently H3 and HEALPix are implemented.
✅ Tests
You first need to configure the tests and download the tests data with init_tests.py. We recommend setting the following options:
- INPUT_FOLDER is where the tests data will be downloaded (or are already available).
- HYDROWEB_AUTH is your hydroweb.next API key. It is required to automatically download the tests data or run the downloaders tests.
python tests/init_tests.py -I INPUT_FOLDER -H HYDROWEB_AUTH
You then can run the converters tests:
pytest
You can also run all the tests including the downloaders tests with:
pytest --dl
Metadata
Release files for pixcdust 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pixcdust-0.3.0.tar.gz | 3.8 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pixcdust-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 MB
Release files / pixcdust-0.3.0.tar.gz
| Download URL | pixcdust-0.3.0.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bfb58d336b4f23a7d82b2c8d8f4b8cdae7ea1c338b81b8b9cae2e370c33c98b
|
|
BLAKE2b-256 checksum How to use checksums |
ef2628160c11f802de51ba747ccffe63692912de51bad2e28ceacb6109d6b1cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logRelease files / pixcdust-0.3.0-py3-none-any.whl
| Download URL | pixcdust-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
256ce496d555619fc182f2812e13e92ae23d185dc390202481acfcf85e1981d1
|
|
BLAKE2b-256 checksum How to use checksums |
f1eb00bbcaf6fb25ce5d189734ce9d3b4d93ca7036c66f52bbb97fdfbef07ba4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logSecurity for pixcdust 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pixcdust-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.