Package: crnpy
Cosmic-Ray Neutron Python (CRNPy) LibraryOverviewWelcome to the homepage of the CRNPy (Cosmic-Ray Neutron Python) library, an open-source Python library designed for the processing and conversion of raw neutron counts from cosmic-ray neutron probes (CRNP) into soil moisture data.This library has been developed with the intent of providing a comprehensive yet easy-to-use workflow for processing raw data from a variety of CRNP, encompassing multiple manufacturers and models.Statement of NeedCRNPs are a valuable tool for non-invasive soil moisture estimation at the hectometer scale (e.g., typical agricultural fields), filling the gap between point-level sensors and large-scale (i.e., several kilometers) remote sensors onboard orbiting satellites. However, cleaning, processing, and analyzing CRNP data involves multiple corrections and filtering steps spread across multiple peer-reviewed manuscripts. CRNPy simplifies these steps by providing a complete, user-friendly, and well-documented library with minimal dependencies that includes examples to convert raw CRNP data into soil moisture. The library is designed to be accessible to both researchers and instrument manufacturers. Unlike other similar libraries, CRNPy does not require any specific naming convention for the input data or large external data sources, or reanalysis data.Key FeaturesVersatile and instrument agnostic: CRNPy can handle data from various CRNP manufacturers and models. It has been successfully tested on both roving and stationary CRNP.Modular: The library is designed to be modular, allowing users to easily customize the processing workflow to their needs.InstallationTo install the CRNPy library, you can use Python's package manager. Open a terminal and type:pip install crnpyfrom the Jupyter notebook, type:!pip install crnpyIdeally dependencies should be installed automatically. If not, you can install them manually by typing:pip install -r requirements.txtThe CRNPy library is compatible with Python 3.7 and above.
Seerequirements.txtfor a list of dependencies.AuthorsThe CRNPy library was developed at the Kansas State University Soil Water Processes Lab by:Joaquin PerazaAndres PatrignaniThe Soil Water Processes Lab at Kansas State University combines a range of experimental and computational approaches to tackle pressing issues in soil and water research. The development of the CRNPy library is a step forward to creating reproducible data processing workflows across the scientific community using cosmic-ray neutrons probes for soil moisture sensing.Community GuidelinesContributingTo contribute to the software, please first fork the repository and create your own branch frommain. Ensure your code adheres to our established code structure and includes appropriate test/examples coverage. CRNPy source code is located in the/src/crnpy/folder, and tests implemented usingpytestare stored in the/src/tests/folder. Submit a pull request with a clear and detailed description of your changes to include them in the main repository.Reporting IssuesIf you encounter any issues or problems with the software, please report them on ourissues page. Include a detailed description of the issue, steps to reproduce the problem, any error messages you received, and details about your operating system and software version.Seeking SupportIf you need support, please first refer to the documentation. If you still require assistance, post a question on theissues pagewith thequestiontag. For private inquiries, you can reach us via email atjperaza@ksu.eduorandrespatrignani@ksu.edu.