Skip to content

asascience/data-fountain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data-Fountain

Data-Fountain is project funded by an educational grant and its aim is to represent meteorological (MET) and oceanographic (Ocean) data from buoys and weather stations in a way that is easy to interpret by middle and high school students.

The site will collect and store, at regular intervals, MET and Ocean data. This data will be represented by various graphs and icons and put on display via Television screens located around the school through a Google Chrome HDMI streaming video adapter.

OCEAN Data Source Oceanographic data will be provided by NDBC stations, harvested at ASA. Data Access will be provided via Oceansmap.

MET (METAR for weather) Source For the Chesapeake area there is one METAR station available (KTGI), this will provide meteorological data (weather conditions, windspeed, direction) for station and weather icons in the banner. Data Access will be provided via Oceansmap.

TIDAL Data source Tidal data will be provided by USGS stations, harvested at ASA. Data Access will be provided via Oceansmap.

Lunar Data Source

  • Suncalc for moon illumination

--

Developer Section

Getting started

Install Node

https://nodejs.org/en/download/

Install Meteor

https://www.meteor.com/install

Do Meteor Tutorial

https://www.meteor.com/tutorials/blaze/creating-an-app


Install Maka-cli

Maka-cli Documentation

	$ npm install -g maka-cli

Navigate to cloned repo.

Initialize any npm dependencies:

	$ maka npm install

Start the app by issuing the following command at the root:

	$ maka

Get maka help

	$ maka help

Directory Structure, Generators and Deployment

Maka CLI


JavaScript Coding Styles

  • Write standard JavaScript style.
  • Files should NOT end with new line, because we want to match Google’s styles.
  • File names should be concatenated with - instead of _ , e.g. file-name.js rather than file_name.js, because in github/atom module names are usually in the module-name form.
  • Use newer ES6 syntax where appropriate
    • const for requires and other constants
    • let for defining variables
    • Arrow functions instead of function () { }
    • Template literals instead of string concatenation using +

Reference the official guide

http://guide.meteor.com/code-style.html

Reference the docs

http://docs.meteor.com/#/full/