Skip to content

sofarocean/minic02-demo-dashboard

Repository files navigation

MiniCO2 Demo Dashboard

Python Streamlit app for viewing CO2 sensor data on a simple map dashboard.

Setup

Create and Activate a Virtual Environment

Create the virtual environment:

python -m venv venv

Activate it (macOS/Linux):

source venv/bin/activate

Install Dependencies

pip install -r requirements.txt

Secrets Configuration

Create .streamlit/secrets.toml with your credentials:

SPOTTER_ID = "SPOT-31299C"
API_TOKEN = "your_api_token_here"

Environment Configuration (Optional)

To pre-fill the dashboard form fields during development, copy the example environment file:

cp .env.example .env

Then edit .env with your preferred defaults:

DEFAULT_START_DATE=2025-01-01T00:00Z

Deactivate the Virtual Environment

When you're done working on the project:

deactivate

How to Use

Run locally with:

streamlit run app.py

Dev Notes

About

Demo streamlit dashboard for displaying data from the Pro Oceanus miniCO2 prototype integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages