Skip to content

This is an implementation of a data dashboard for the Ocean Systems Monitoring System built on Holoviz.

License

Notifications You must be signed in to change notification settings

kevin-obrien/osmc_dashboard

 
 

Repository files navigation

osmc_dashboard (It's live in public beta)

Thanks to bindarization by @willirath you can run the notebook at mybinder.org.

This is an implementation of a data dashboard for the Ocean Systems Monitoring System built on Holoviz.

This repository contains the entire workflow for preparing the data and displaying it using the dashboard.

The data repositry is an internal ERDDAP server, but you can adapt the script (download_latest.sh) to pull data from the public OSMC server.

The steps for deploying are:

  1. Install the holoviz conda environment (conda env create -f environment.yml)
  2. Download CSV of the latest data (download_latest.csv).
  3. Run the ReadWrite.py. This reads the CSV the data and writes out binary pkl files: depth_data_latest.pkl, depth_locations_latest.pkl, surface_data_latest.pkl, surface_locations_latest.pkl. This process removes any missing data and organizing point data into surface timeseries (surface_data_latest.pkl) and profile collections (depth_data_latest.pkl) and depth and surface platform most recently reported locations for each platform (depth_locations_latest.pkl, surface_locations_latest.pkl).
  4. Serve the dashboard (see: run.sh).

The dashboard code itself is none other than dashboard.ipynb which you can run locally by starting a jupyter server which is included in the conda environment. (I.e. run the command "jupyter notebook" in the notebook directory).

About

This is an implementation of a data dashboard for the Ocean Systems Monitoring System built on Holoviz.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.7%
  • Other 0.3%