Giter Site home page Giter Site logo

dataanalyticsinstudenthands / hnetdatamaps Goto Github PK

View Code? Open in Web Editor NEW
2.0 8.0 2.0 17.7 MB

A data processing framework for a group of atmospheric science researchers at the University of Houston

JavaScript 82.58% CSS 3.84% HTML 13.58%
sensors sensor-monitor

hnetdatamaps's Introduction

HNETDataMaps Client

This is the web frontend for a data processing framework for atmospheric sensors who can monitor and edit their data.

The documentation for end users can be found in the Wiki.

The following instructions are for developers who want to setup their own version. This is a meteor based framework.

Prerequisites

  • Data Folder: The framework expects a certain data folder structure. /hnet/incoming/current should exist. This location is hard coded and need be changed if desired. There also needs to be an outgoing data directory which can be defined as an environment varaible outgoingDir.

  • We are running with a local MongoDB

to install e.g on Mac OS install via homebrew:

brew install mongodb

to install e.g. on Mac OS or Linux:

curl https://install.meteor.com/ | sh

  • For pushing data out, the server is using lftp which must be installed.

Getting started

Clone and run: meteor npm install

Testing in local development environment

MONGO_URL=mongodb://localhost:27017/DataMaps meteor

For debugging with node inspector run MONGO_URL=mongodb://localhost:27017/DataMaps meteor debug and open the app in Chrome with the port listed once the app has started.

Deployment with PM2

  • change into the working directory and run meteor build .. - this will generate a *.tar .gz file
  • move the file to the install location and extract it (you will end up with a bundle directory
  • cd bundle/programs/server/ and npm install
  • generate a configuration file for PM2 (see example gist) outside of bundle
  • run pm2 start [your_pm2_conf_file] --node-args="--max_old_space_size=6144"

hnetdatamaps's People

Contributors

dogunbound avatar drdanprice avatar huyhoangcs avatar huyhoangio avatar kaicorales avatar lumpyspacecoder avatar mdciotti avatar peggylind avatar rahulrajmogili avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hnetdatamaps's Issues

Add TCEQPushing as feature for livesites

Introduce a new feature in the Admin panel which will be called something “TCEQ Pushing”. Similar to “Status” it can only have two values: Active or Inactive.

If Inactive, no automatic pushing will happen. The buttons in the datamanagement interface will not be affected only the automatic pushes.

Sites stop pushing

Reported via email

Something really strange is happening . In most of the sites data is being pushed to TCEQ sporadically like what it used to happen before you updated the code. For Jones Forest it started 5/20 ( I think part of this time was due to internet connection the first 2 weeks) , for West liberty 5/30, for Moody Tower 6/7 for Sugar Land 6/6 and for Clear Creek 6/1.

I am going to re push them manually but I wanted to make you aware of. I will take a couple of screen shoots before I do.

HNET website crashed when loading BC2_WL website

https://hnet.uh.edu/bc2site/99996

Can access all other sites, just not BC2_WL. Please make sure it isn't a linux thing by going to the site on a non-linux machine (though I highly doubt it is a linux thing). The recent commit to back end may be the culprit.

It only happens when you load data for BC2. Don't think the site matters, just that there is BC2 data.

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.