Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Contributing to RIOMAR / healpix_regrid

Thank you for your interest in contributing! This document explains how to get started.

Getting started

  1. Fork the repository and clone your fork:

    git clone https://github.com/<your-username>/softwares_RIOMAR.git
    cd softwares_RIOMAR
  2. Create the conda environment and install the package in editable mode:

    conda env create -f notebook/environment.yml
    conda activate riomar
    pip install -e ".[test]"
  3. Create a branch for your changes:

    git checkout -b my-feature

Project layout

Reusable logic lives in the healpix_regrid/ Python package. The bin/ scripts and notebook/ Jupyter notebooks consume it.

When adding new functionality:

Running tests

python -m pytest tests/ -v

All new code in healpix_regrid/ should have corresponding tests in tests/. Tests should run without access to HPC filesystems or large datasets — use small synthetic data (NumPy arrays, in-memory xarray Datasets).

Code style

Submitting changes

  1. Make sure all tests pass locally.

  2. Push your branch and open a Pull Request against main.

  3. Describe what your change does and why in the PR description.

Reporting issues

Open an issue at github.com/FAIR2Adapt/softwares_RIOMAR/issues with: