Swath processing toolbox for CryoSat-2
Project description
cryoswath
cryoswath is a python package containing processing pipelines, a tool library, and some pre-assembled data to retrieve and study CryoSat-2 data.
Adaptability lies at its core. The user can access many options simply by passing arguments to functions; everything else can be customized changing the concerned function or adding a new one.
🌱 state
cryoswath is being developed. main contains those parts that I
believe to work if used as intended and that are tested to some
extent. Other branches are for development.
✨ features
- find all CryoSat-2 tracks passing over your region of interest
- download L1b data from ESA
- retrieve swath elevation estimates
- aggregate point data to gridded data
- fill data gaps using tested methods
- calculate change rates
🚀 getting started
There is a number of ways you can start off. I will give detailed instructions for UNIX systems. Make sure to use python 3.11 or higher. Further, I recommend to use a virtual environment and will involve python-venv in the instructions (however, conda works similar).
with git 🐙
advantage: easy pulling bugfixes
Set up a project directory, pull this repo, create virtual
environment, initialize, and download ArcticDEM and the RGI glacier and complex
shape files into the data/auxiliary/DEM and -RGI directories.
proj_dir=altimetry-project
git clone https://github.com/j-haacker/cryoswath.git $proj_dir
cd $proj_dir
python3.11 -m venv .venv
source .venv/bin/activate
pip install -e .
cryoswath-init
with pip 📦
advantage: easy installation
Set up a project directory, create virtual environment, install
cryoswath, initialize, and download ArcticDEM and the RGI glacier and
complex shape files into the data/auxiliary/DEM and -RGI
directories.
proj_dir=altimetry-project
cd $proj_dir
python3.11 -m venv .venv
source .venv/bin/activate
pip install cryoswath
cryoswath-init
Docker and conda
New setup instructions coming soon.
multiple projects
Similar to the above, set up a virtual environment but rather locate it
in a neutral directory. For each project, run cryoswath-init.
📖 documentation
dependencies
- requirements.txt
- reference elevation model
- glacier outlines
cryoswath will point you to the required resources.
🐛 known issues
-
projected RGI basins sometimes "invalid" -> add
.make_valid()if it is missing somewhere -
it has mostly been tested for the Arctic
Further: see open issues.
citation and attribution
You can cite this package using bibtex:
@misc{cryoswath,
author = {J. Haacker},
title = {cryoswath: CryoSat-2 swath processing package},
year = {2024},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/j-haacker/cryoswath}}
}
Please mind that you likely used other resources on the way.
- ESA provides the L1b data under these Terms and Conditions
- RGI data is distributed under CC-BY-4.0 license
- if you (likely) used DEMs of the PGC, see their Acknowledgement Policy
- the many python packages and libraries this package depends on; some of which are indispensable.
📜 license
MIT. See LICENSE.txt.
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 cryoswath-0.2.1.tar.gz.
File metadata
- Download URL: cryoswath-0.2.1.tar.gz
- Upload date:
- Size: 8.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6dc35b1eed55baabd28f9f9a82efa489219666717c4cc07f56f96d7d18f6aa45
|
|
| MD5 |
d9cc3dde25f5541d7dc2a7611fc9e8b9
|
|
| BLAKE2b-256 |
e02986f89b21cf2c82ce857c84f5c04aa6f9551c79bb3e9fc06b7842aa8161cd
|
File details
Details for the file cryoswath-0.2.1-py3-none-any.whl.
File metadata
- Download URL: cryoswath-0.2.1-py3-none-any.whl
- Upload date:
- Size: 66.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2c869cb54eb9e1de582aca631ed118a22e7c866aa484c9429a1b1a159b11d66
|
|
| MD5 |
ece4671a5be894121141c54bf2342ab2
|
|
| BLAKE2b-256 |
cadb3fb51a4741e280972016fa1d283b5d6bf292ad09dcd418d7fa58a00dffab
|