A Python package to simplify working with EarthCARE satellite data.
Project description
earthcarekit
A Python package to simplify working with EarthCARE satellite data.
⚠️ Project Status: In Development
This project is still under active development. It is not yet feature-complete, and parts of the user documentation are missing or incomplete. Use at your own risk and expect breaking changes. Feedback and contributions are welcome!
Key Features
- ⬇️ Download - Access EarthCARE data from ESA's dissemination platfroms OADS or MAAP via the command line or your Python scripts.
- 🔍 Search & Read - Search your local EarthCARE products and open them as
xarray.Datasetobjects with unified dimension names. - ⚙️ Process - Filter data by time or geographic location, extract vertical profile statistics, rebin to common grids, interpolate along-track vertical cross sections from X-MET files and merge datasets from consecutive EarthCARE frames.
- 📊 Visualize - Create quicklooks and plot vertical and across-track time series using a set of preset
matplotlib/cartopy-based figure objects - while allowing customization. - 💻 Command-line interface tools:
ecdownload- Search, select, and download EarthCARE data from a terminal.ecquicklook- Create fast quicklooks of your local EarthCARE products from a terminal.
Getting Started
Step 1 - Installation
Set up a Python 3.11+ environment with pip available, then install the latest version from PyPI:
pip install earthcarekit
💡 Note: To update the package to the latest version run:
pip install earthcarekit --upgradeCheck the installed version with:
python -c "import earthcarekit; print(earthcarekit.__version__)"
Alternatively, install the latest development version from GitHub with:
pip install -U git+https://github.com/TROPOS-RSD/earthcarekit.git
Or, install manually from a local clone:
pip install .
Step 2 - Configuration
An initial configuration step is required to specify default paths for storing data and created images, as well as to set up access to the supported data dissemination platforms for downloading.
This involves creating and editing a configuration file.
Once applied via Python code, your settings will be saved to ~/.config/earthcarekit/default_config.toml.
Below, the configuration process is shown using the Python command line interpreter:
-
Open the Python interpreter and generate an example configuration file in your current directory:
$ python >>> import earthcarekit as eck >>> eck.create_example_config()
-
Edit the generated file.
Follow the instructions in the inline comments of the exsample file to customize your settings. You may rename and save your file to any location.
-
Go back to the Python Interpreter and apply your configuration file as default:
>>> eck.set_config(path_to_file) >>> exit()
You can later view or manually edit the saved configuration at ~/.config/earthcarekit/default_config.toml. To update your settings, you can also simply repeat the steps above.
Tutorials
See usage examples:
- Jupyter notebooks: examples/notebooks/
- Documentation: docs/tutorials.md.
Author
Developed and maintained by Leonard König (TROPOS).
Contact
For questions, suggestions, or bug reports, please create an issue or reach out via email: koenig@tropos.de
License
This project is licensed under the MIT License - see the LICENSE file for details.
Third-Party Licenses
This project relies on several open-source packages. Their licenses include:
- MIT License:
plotly,cmcrameri,vedo,netcdf4,tomli-w - BSD License:
numpy,pandas,scipy,seaborn,owslib,jupyterlab,h5netcdf - Apache 2.0 License:
xarray - LGPL License:
cartopy - PSF License:
matplotlib
Please refer to each project's repository for detailed license information.
Acknowledgments
Colormap definitions for calipso and chiljet2 were adapted from the exellent ectools repository by Shannon Mason (ECMWF).
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file earthcarekit-0.2.0.tar.gz.
File metadata
- Download URL: earthcarekit-0.2.0.tar.gz
- Upload date:
- Size: 179.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d4dd347b0a5b9ee19a12ca4b62a90334d5476c15d8c075cf259626b5ed904c0
|
|
| MD5 |
8e6ab1dd2ad737ee746f61201b7c858d
|
|
| BLAKE2b-256 |
1a0fcc687953fa720295ee3f845c595d18c39f750e0cc0a43dc37f010d1afde6
|
Provenance
The following attestation bundles were made for earthcarekit-0.2.0.tar.gz:
Publisher:
release.yaml on TROPOS-RSD/earthcarekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
earthcarekit-0.2.0.tar.gz -
Subject digest:
4d4dd347b0a5b9ee19a12ca4b62a90334d5476c15d8c075cf259626b5ed904c0 - Sigstore transparency entry: 385224500
- Sigstore integration time:
-
Permalink:
TROPOS-RSD/earthcarekit@96a20d3c68bbaf50861bfcc83c46e855233a05b8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/TROPOS-RSD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@96a20d3c68bbaf50861bfcc83c46e855233a05b8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file earthcarekit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: earthcarekit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 251.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9a20dcac3eedf935c5916f2c5836254413ff441c0a3099f3a5b55b98f183b803
|
|
| MD5 |
eedab12dd226052d33060f6a489a5f17
|
|
| BLAKE2b-256 |
4c183d793440c8f32ce3a70521dce47a6966f0f70982cdc8baa9528e66edf530
|
Provenance
The following attestation bundles were made for earthcarekit-0.2.0-py3-none-any.whl:
Publisher:
release.yaml on TROPOS-RSD/earthcarekit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
earthcarekit-0.2.0-py3-none-any.whl -
Subject digest:
9a20dcac3eedf935c5916f2c5836254413ff441c0a3099f3a5b55b98f183b803 - Sigstore transparency entry: 385224514
- Sigstore integration time:
-
Permalink:
TROPOS-RSD/earthcarekit@96a20d3c68bbaf50861bfcc83c46e855233a05b8 -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/TROPOS-RSD
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@96a20d3c68bbaf50861bfcc83c46e855233a05b8 -
Trigger Event:
push
-
Statement type: