scorelab/SAMS

Name: SAMS

Owner: Sustainable Computing Research Lab

Description: Salinity Automatic Monitoring System

Created: 2017-12-02 17:04:32.0

Updated: 2017-12-04 08:54:19.0

Pushed: 2018-01-23 11:59:08.0

Homepage: null

Size: 58

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

SAMS

======

SALINITY MONITORING SYSTEM

VERSION 1.0.2

In Vietnam, there is a growing problem of increasingly unstable salinity intrusion levels. Therefore, it is imperative that there exists a reliable real-time monitoring system for salinity levels.

There are 5 drones currently out in the field and collecting data. However, they are misplaced. You must help fix this problem by relocating these drones to these designated coordinates:

| Drones | Latitude | Longitude | | ————- |:————-:| —–:| | Drone 1 | 10.009792 | 105.755685 | | Drone 2 | 10.007089 | 105.747379 | | Drone 3 | 10.053446 | 105.789042 | | Drone 4 | 10.036721 | 105.791165 | | Drone 5 | 9.994313 | 105.715709 |

In order to do this, you must:

  1. Clone this repo
  2. Install Meteor Click on link here
  3. In the root folder, run meteor npm install --save
  4. Run npm install --save fibers
  5. Run meteor run
  6. Run meteor mongo
  7. On a separate terminal, import data dump into your current MongoDB instance by running mongorestore -h 127.0.0.1 --port 3001 -d meteor dump/meteor
  8. —- [CONTINUE TO RUN YOUR COMMANDS] (inside the terminal from which you ran meteor mongo) —–
  9. Submit a screenshot of your completed work and submit for task review.

======

MORE TASK INFORMATION

This project is developed with Javascript using the Meteor framework. As dictated by Meteor, MongoDB syntax is used for the database.

For completion of this task, here are some crucial information you must know:

  1. The database name is drones
  2. The data structure (or mongo document structure) of each drone is as follows:

id" : <Drone's unique id in database>,
ndex" : <Drone's index, eg. 1, 2, 3 , etc>,
alinity" : [ { "value" : <current value>, "time" : <current time>)],
at" : <latitude>,
ng" : <longitude>

You can learn more about MongoDB's syntax here


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.