A Streamlit-based web application for generating Species Sensitivity Distribution (SSD) plots following the CCME Protocol for the Protection of Aquatic Life.
- Generate SSDs for multiple chemicals
- Upload your own data or use the built-in database
- Supports multiple distribution types (Log-Normal, Log-Logistic, Weibull)
- Interactive plots with Plotly
- Data filtering and processing according to CCME guidelines
- Detailed source information and references
-
Clone the repository:
git clone https://github.com/JasenNelson/SSTAC.git cd SSTAC -
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: .\venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Run the application:
streamlit run ssd_app_v2.py
-
Open your web browser and navigate to the provided local URL (typically http://localhost:8501)
-
Select your data source (upload a file or use the built-in database)
-
Choose the chemicals and parameters for your analysis
-
Click "Generate SSD" to create the plot
When uploading your own data, ensure it follows this format:
chemical_name: Name of the chemicalspecies_scientific_name: Scientific name of the speciesbroad_group: Taxonomic groupconc1_mean: Mean concentration valueendpoint: Type of endpoint measurement- Additional metadata columns as needed
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
For questions or feedback, please open an issue on GitHub.