cryoswath
Swath process CryoSat-2 to glacier elevation change maps and geodetic mass loss time series for mountain glaciers and ice caps.
Science Score: 49.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (19.8%) to scientific vocabulary
Keywords
Repository
Swath process CryoSat-2 to glacier elevation change maps and geodetic mass loss time series for mountain glaciers and ice caps.
Basic Info
Statistics
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 19
- Releases: 14
Topics
Metadata Files
README.md
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. Branch main is the release branch,
scripts contains tutorials, and data contains auxiliary data and the
required directory structure. You can have everything setup
automatically (see "getting started"). 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, including installing from "source", pypi, conda-forge, or docker. Please find more details in the docs (prerequisites). I show two approaches, installing from conda-forge and a mixture of methods.
simply with mamba/conda 🐍
advantage: simple and most stable dependency resolution
First, choose an environment name and either define $env_name, e.g.,
env_name=cryoswath, or adapt the create and activate commands
accordingly.
mamba create -n $env_name conda-forge::cryoswath
Continue below at "init project".
clone 🐙, mamba 🐍, pip 📦
advantage: allows modifications and easy updates
Like the above, first, choose an environment name and either define
$env_name, e.g., env_name=cryoswath, or adapt the create and
activate commands accordingly. You will also need the path to your
environment. That will be something ending in .../envs/env_name. If
you are not sure, find it viewing mamba env list. Further, I assume
you'll clone into a directory named cryoswath.
sh
git clone https://github.com/j-haacker/cryoswath.git cryoswath
mamba env create -n $env_name -f cryoswath/environment.yml
mamba activate $env_name
mamba install pip
pip install --editable cryoswath
init project
CryoSwath will deal with data that is not meant to reside in the
installation directory. The command cryoswath-init will set up a
directory structure and download some auxiliary files. Please choose a
project name of you liking and replace proj_dir in the following.
sh
mkdir proj_dir
cd proj_dir
cryoswath-init
This, among others, creates a file scripts/config.ini that contains
the base path of your project. This allows CryoSwath to find the data -
if you wish to run scripts from different directories, copy this file
there.
if everything fails: Docker 🐳
advantage: will almost always work
note: the first time running the docker image requires to download ~ 1 Gb
docker run -it -p 8888:8888 -v <proj_dir>:/home/jovyan/project_dir cryoswath/jupyterlab:v0.2.3- You will receive an address including a token with which you can connect to the jupyterlab using your browser
- Start doing your things or get started with the installed tutorial notebooks!
📖 documentation
dependencies
- requirements.txt
- reference elevation model
- glacier outlines
Always install xarray and Zarr at the same time. Otherwise xarray might not support the install Zarr version.
cryoswath will point you to the required resources.
🐛 known issues
- ESA's data server is not available from all internet service providers
- 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:
bibtex
@software{cryoswath,
author = {Haacker, Jan},
title = {CryoSwath: v0.2.3},
month = jul,
year = 2025,
publisher = {Zenodo},
version = {v0.2.3},
doi = {10.5281/zenodo.15809596}
}
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.
Owner
- Name: Jan
- Login: j-haacker
- Kind: user
- Company: TU Delft
- Repositories: 1
- Profile: https://github.com/j-haacker
GitHub Events
Total
- Create event: 24
- Commit comment event: 1
- Release event: 8
- Issues event: 22
- Watch event: 2
- Delete event: 12
- Issue comment event: 7
- Push event: 155
- Fork event: 3
Last Year
- Create event: 24
- Commit comment event: 1
- Release event: 8
- Issues event: 22
- Watch event: 2
- Delete event: 12
- Issue comment event: 7
- Push event: 155
- Fork event: 3
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 16
- Total pull requests: 1
- Average time to close issues: 4 months
- Average time to close pull requests: 10 months
- Total issue authors: 2
- Total pull request authors: 1
- Average comments per issue: 0.25
- Average comments per pull request: 1.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 14
- Pull requests: 0
- Average time to close issues: about 2 months
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.29
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- j-haacker (43)
- yzw44 (1)
Pull Request Authors
- j-haacker (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 76 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 18
- Total maintainers: 1
pypi.org: cryoswath
Swath processing toolbox for CryoSat-2
- Documentation: https://cryoswath.readthedocs.io/
- License: MIT License
-
Latest release: 0.2.4
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- dask *
- defusedxml *
- geopandas *
- matplotlib *
- netCDF4 *
- rioxarry *
- scipy *