Git Product home page Git Product logo

agurim's Introduction

agurim

agurim: a multi-dimensional flow aggregation tool

This source tree contains the tools to build the agurim web server, including the source code of the re-aggregation engine and web user interface.

Layout

/usr/local/bin/agurim
	the agurim binary.
/usr/local/bin/aguri3
	the aguri3 binary for primary aggregation.
cgi-bin/
	the cgi directory.
agurim_home/
	the home direcotry for the web content.
data_dir/
	the top directory for the datasets.
	the agurim data files are stored under this directory.

	dsname/  # dataset name
	  yyyy.agr # yearly data with 24-hour resolution
	  yyyymm/  # month dir
	    yyyymm.agr # monthly data with 2-hour resolution
	    yyyymmdd/  # day dir
	      yyyymmdd.agr # daily data with 5-min resolution
	      yyyymmdd.HHMMSS.agr # high resolution data

Install

  1. populate data under 'data_dir'.

Use 'scripts/reaggregate.sh' for reaggregating datasets. See 'scripts/README.md' for more detail.

  1. install the aguirm binary to '/usr/local/bin/agurim'.
`% cd src; make; sudo make install`
  1. copy 'agurim/cgi-bin/*' to 'cgi-bin'. - edit 'myagurim.cgi'.
    • 'agurimcmd': absolute path to the agurim binary command.
    • 'data_dir': path to the datasets (relative from the cgi-bin page).
    • 'def_dsname': default dataset name.
if the python path isn't '/usr/local/bin/python', change
the path in the cgi scripts.

make sure that this cgi-bin directroy is configured properly for
your web server.  you can try `http://your_server/cgi_path/test.cgi`.
  1. copy index.html detail.html about.html css/ img/ js/ fonts/ to 'agurim_home'. - edit 'index.html' and customize 'datasets' if you have multiple datasets. - edit 'cgi_path' for 'cgi-bin', in 'js/myagurim.js'. - edit 'timeoffset', timezone offset, in 'js/myagurim.js'.

agurim's People

Contributors

kjc0066 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.