Skip to main content

grstbx

Scientific code and notebooks to visualize and post-process GRS L2A and L2B images

Example

example gif

Documentation

Tutorials and API reference: https://grstbx.readthedocs.io

Installation

grstbx requires Python >= 3.11. Install it from PyPI:

pip install grstbx                 # library and web dashboard (grstbx-viewer)
pip install "grstbx[notebook]"     # + JupyterLab environment for the notebooks

To run the notebooks of the repository or to develop grstbx, clone the repository and create the conda environment (recommended: GDAL, PROJ and xesmf come from conda-forge), which also installs grstbx in editable mode:

git clone https://github.com/Tristanovsk/grstbx.git
cd grstbx
conda env create -f environment.yml
conda activate grstbx

or install the clone with pip in an existing environment:

pip install ".[notebook]"      # library + JupyterLab environment
pip install .                  # library only
pip install -e ".[notebook]"   # editable install, for development
extra content
notebook JupyterLab, ipykernel, jupyter_bokeh
regrid xesmf (grstbx.utils.Reproj.regridding), preferably conda install -c conda-forge xesmf
docs Sphinx and extensions to build the documentation
all notebook and docs

The export of subsets (grstbx.export_l2a, grstbx.crop_and_export) uses the writers of GRS: it needs grs >= 3.0.1 in the same environment.

To register the environment as a Jupyter kernel:

python -m ipykernel install --user --name=grstbx

Web dashboard

Explore GRS L2A and L2B products (Zarr or NetCDF, hGRS NetCDF), single images, time series or datacubes, in the web browser, without notebook:

grstbx-viewer /path/to/product.zarr                  # or: grstbx-viewer --root /data/satellite
grstbx-viewer "/data/L2B/BEFR/2024/*/*/*.nc"         # time series of L2B products

Pan and zoom the images over a basemap, hover them to plot the spectrum (L2A) or the time series (L2B) under the mouse, draw points and polygons, and download their values and statistics. See the dashboard tutorial.

Example of L2A image

example files

Metadata

Release files for grstbx 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grstbx 2.4.0
File Size Uploaded Provenance
grstbx-2.4.0.tar.gz 466.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for grstbx 2.4.0
File Interpreter ABI Platform
grstbx-2.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 934.2 kB

Release files / grstbx-2.4.0.tar.gz

Download URL grstbx-2.4.0.tar.gz
Size 466.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c42c464776ccf4473153c9a3cabfdeaa0f763ed925aca613362f9fd6dbd43a22
BLAKE2b-256 checksum
How to use checksums
500e582ae601599f7d4fbd21fc7583026e15a1f38c3c544f87598558166d9ac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 16, 2026.

Transparency log

Release files / grstbx-2.4.0-py3-none-any.whl

Download URL grstbx-2.4.0-py3-none-any.whl
Size 468.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b50d69bff29950cd697d6ab17dc0205e6e0eb8e8c7a5ba9be1d0a5a5c76f9e18
BLAKE2b-256 checksum
How to use checksums
f75b6499b0f9acb7bbfb1f58439af6717c0affd5ea7ce43ee8457a651052c54b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 16, 2026.

Transparency log

Security for grstbx 2.4.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.

Select from 2 files

Attestation for grstbx-2.4.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 16, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page