Skip to content

HakaiInstitute/hakai-oceanography-qc-tools

Repository files navigation

Hakai Oceanography Data QC tools

Logo

Deploy main to hakai.app Deploy development to hak4i.org

Hakai Data QC tools

The Hakai QC tool is a web interface used to review and QC hakai data. Here's an example that show the data oxygen data from QU39 from Jan 2020 to Jan 2023.


Table of Contents

Table of Contents

Configuration

Development

Tests

Deploying

Contributing

Documentation

License


Configuration

To run this project locally, you will need to add the following environment variables to your .env file

DASH_DEBUG=TRUE
LOG_LEVEL=DEBUG
DASH_HOST=127.0.0.1
ACTIVATE_SENTRY_LOG=false

Development

Clone the project

  git clone git@github.com:HakaiInstitute/hakai-oceanography-qc-tools.git

Go to the project directory

  cd hakai-oceanography-qc-tools

Install dependencies

    pip install -e .

Start the development server

  python hakai_qc_app/app.py

Tests

To run tests, run the following command (no test available yet)

  python pytest

Deploying

The production branch is deployed at: https://quality-control-data.server.hakai.app


The testing branch is deployed at: https://quality-control-data.server.hak4i.org


Any pushes to the development and main branches are automatically reflected on the respectives deployments.


Documentation

#TODO