GithubHelp home page GithubHelp logo

demo-ais's Introduction

AIS Demo

This Demo offers a simple exploratory interface over AIS Data.

Splash Image

Components

The Dashboard is created using Dash & Plotly for the map, Pandas for the frontend data processing, and Tinybird for the backend.

Dataset

The dataset comes from NOAA, and is a few billion vessel observation samples from 2020.

To Use

  1. Clone this repository
  2. Create a Python virtual env python -m venv .venv && ./.venv/bin/activate
  3. Install the Python dependencies pip install -r requirements.txt
  4. Open or create your Tinybird Workspace
  5. Open the Tinybird Auth Token page and copy the User Admin Token
  6. In your CLI, run tb auth in the repo directory and paste the Auth Token
  7. Then run tb push to establish the backend processing structure and serve the data APIs
  8. Use noaa_uploader.sh to append as many of the zipped CSV files as you need to Tinybird for sample data. Jan-May is about 1b rows

⚠️ NOTE: NOAA provide this data for free, so don't abuse their download server

  1. Run app.py to have a local Dash app to explore some of the shipping data. The default values should work

You could also stream in live AIS data following the same format.

Credits

Created by: @Chaffelson @juliavallina @sdairs

demo-ais's People

Contributors

chaffelson avatar juliavallina avatar

Stargazers

gnzjgo avatar

Watchers

Javier Álvarez Medina avatar Sergio Álvarez Leiva avatar Félix López  avatar Alasdair Brown avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.