Skip to main content

The neptoon package makes CRNS processing and research simple.

Project description

neptoon

PyPI version DOI Documentation License PyPI Downloads

neptoon is a Python package for processing Cosmic-Ray Neutron Sensor (CRNS) data to produce field-scale soil moisture estimates.

Key Features

  • Modular Correction Pipeline: Apply multiple correction methods for pressure, incoming intensity, humidity, and biomass
  • Quality Assessment: Built-in data quality checks integrated with SaQC
  • Sensor Calibration: Tools for N0 calibration using soil sampling data
  • External Data Integration: Automatic integration with NMDB.eu for incoming neutron corrections
  • Multiple Interfaces: Use via Python API, configuration files, or GUI
  • Published Science: Implementations based on peer-reviewed methodologies
  • Reproducibility: Built-in reporting, reproduceable workflows, and comprehensive documentation

Installation

pip install neptoon

Isolated Environment with uv (recommended):

uv init --python 3.10
uv add neptoon

Isolated Environment with conda:

conda create -n neptoon python=3.10 ipykernel
conda activate neptoon
pip install neptoon

For more detailed instructions, see the installation documentation.

Quick Start

from neptoon.io.read import DataHubFromConfig
from neptoon.workflow.process_with_yaml import ProcessWithConfig
from neptoon.config import ConfigurationManager

# Load configurations
config = ConfigurationManager()
config.load_configuration(file_path="path/to/sensor_config.yaml")
config.load_configuration(file_path="path/to/processing_config.yaml")

# Process data
yaml_processor = ProcessWithConfig(configuration_object=config)
yaml_processor.run_full_process()

Ready-to-use examples with sample data are available in the neptoon_examples repository.

Documentation

Comprehensive documentation is available at:

Project Status

Neptoon is currently in active development. Version 1.0, focusing on stability and robustness, is expected soon. Future plans include:

  • Roving CRNS processing capabilities
  • Server/Docker versions for automated processing

Support and Contribution

Authors and Acknowledgments

Lead Developers:

Additional Contributors:

  • Fredo Erxleben
  • Steffen Zacharias
  • Rafael Rosolem
  • Daniel Rasche
  • Markus Köhli

License

Neptoon is licensed under the MIT License. See the LICENSE file for details.

Citation

Power, D., Schrön, M., Erxleben, F., Rosolem, R., & Zacharias, S. (2025). "Neptoon". Zenodo. doi:10.5281/zenodo.17209375

BibTex
@software{Neptoon,
  author       = {Power, Daniel and Schrön, Martin and Erxleben, Fredo and Rosolem, Rafael and Zacharias, Steffen},
  title        = {Neptoon},
  month        = sep,
  year         = 2025,
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.17209375},
  url          = {https://doi.org/10.5281/zenodo.17209375},
}

More Detailed Documentation

The agent/ directory contains in-depth guides covering project conventions and AI-assisted development workflows.

Conventions

These documents define the coding standards and architectural patterns used throughout the project. They serve as the single source of truth for both human contributors and AI assistants.

  • Logging - Logger setup and log level conventions.
  • Testing - Test organization, fixtures, markers, and CI pipeline.
  • ColumnInfo - Column naming system and enum usage.
  • Configuration - Pydantic config models and YAML loading.
  • Hub Pattern - CRNSDataHub, DataFrames, and quality flags.
  • Corrections - Factory/Builder pattern for the correction pipeline.
  • Git Workflow - Branching, CI pipeline, and release process.

AI-Assisted Development

This repository includes an agent/ directory with configuration for AI coding agents (currently optimised for Claude Code). It contains coding conventions, reusable skills, and architecture documentation that help AI agents work effectively with the neptoon codebase.

If you use an AI coding agent, see agent/README.md for setup instructions. The convention files in agent/conventions/ are also useful reading for any developer — they document the patterns and practices used throughout the codebase.

If you use a different AI coding tool and want to contribute agent configuration for it, get in touch with the core developers.

Skills

Step-by-step guides that AI agents follow when performing common development tasks:

  • CLAUDE.md - Root configuration for AI assistants working on this codebase.
  • Convention Keeper - Systematic audit of the codebase against all project conventions.
  • Meta Session - Structured planning workflow for substantial development tasks.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neptoon-0.13.12.tar.gz (5.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neptoon-0.13.12-py3-none-any.whl (3.4 MB view details)

Uploaded Python 3

File details

Details for the file neptoon-0.13.12.tar.gz.

File metadata

  • Download URL: neptoon-0.13.12.tar.gz
  • Upload date:
  • Size: 5.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neptoon-0.13.12.tar.gz
Algorithm Hash digest
SHA256 d231bc32163d9c7f5ccc1cc88fe4c0deded0a90140fe42b064a48b7e10e8fb77
MD5 07995edf8314101ce9a6c1d0b0c57794
BLAKE2b-256 ff29bc9f5fc971a4708f8473cf42c3bc35fc13fa6e40dba5fe2fcad519e9b517

See more details on using hashes here.

File details

Details for the file neptoon-0.13.12-py3-none-any.whl.

File metadata

  • Download URL: neptoon-0.13.12-py3-none-any.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neptoon-0.13.12-py3-none-any.whl
Algorithm Hash digest
SHA256 08ffe1297a1122f4d0d82e7fd24ab274a1ac28041bda8a4f959a6412bef83ea3
MD5 7a5d90b0da24999fca615ef23509a640
BLAKE2b-256 5c4b287bd27a903dc88215224f4a7420f3c61b85c3dbc9b9df4a12d48d947760

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page