Skip to content

PriyaGordon/python-intermediate-rivercatchment

 
 

Repository files navigation

RiverAnalyserPRO

Continuous Integration build in GitHub Actions

396adf79-2f6b-43ea-946a-f93208f1a76a

RiverAnalyserPRO

RiverAnalyserPRO is a sophisticated data management system tailored for river catchment surveys and campaigns. Developed in Python, it facilitates the management and analysis of measurement data, supporting a range of functionalities to enhance data understanding and decision-making in hydrological research.

Main Features

RiverAnalyserPRO offers an array of powerful features:

  • Statistical Analysis: Perform basic statistical analyses to extract meaningful insights from your data.
  • Multiple Format Support: Seamlessly work with measurement data in Comma-Separated Value (CSV), XML, and JSON formats.
  • Data Visualization: Generate intuitive plots to visualize measurement data.
  • Extensible Architecture: Leverage its Model-View-Controller architecture to easily extend analytical functions and views.

Prerequisites

Before installing RiverAnalyserPRO, ensure you have the following Python packages installed:

  • NumPy - makes use of NumPy's statistical functions
  • Pandas - makes use of Panda's dataframes
  • GeoPandas - makes use of GeoPanda's spatial operations
  • Matplotlib - uses Matplotlib to generate statistical plots

Optional Packages

The following optional packages are required to run RiverCatch's unit tests:

  • pytest - RiverCatch's unit tests are written using pytest
  • pytest-cov - Adds test coverage stats to unit testing

Installation

  1. Clone the Repository: First, clone the RiverAnalyserPRO repository to your local machine using Git.
git clone https://github.com/PriyaGordon/python-intermediate-rivercatchment/ RiverAnalyserPro
cd RiverAnalyserPRO
  1. Set up a Virtual Environment: It's recommended to create a Python virtual environment for project dependencies.
python -m venv venv
source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  1. Install Dependencies: RiverAnalyserPRO utilizes Poetry for dependency management. Install all required packages using the following command:
poetry install
  1. Verify Installation: Ensure that all dependencies are correctly installed.
poetry check
  1. Running the Application: You can now run RiverAnalyserPRO using the following command:
python catchment-analysis.py path/to/your/input/file.csv --full-data-analysis
  1. Use Optional Flags: You can use the optional -m or --measurements flag to specify the name of the measurement data series to load:
python catchment-analysis.py path/to/your/input/file.csv --full-data-analysis -m variable

About

A template software project for use in Intermediate Research Software Development Skills In Python course. Contact: @douglowe

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Python 100.0%