Skip to content
forked from necoma/agurim

agurim: a multi-dimensional flow aggregation tool

License

Notifications You must be signed in to change notification settings

aoimidori27/agurim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

The primary aggregation tools for agurim can be found at https://github.com/necoma/aguri2/

Layout

/usr/local/bin/agurim
	the agurim binary.
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'.

About

agurim: a multi-dimensional flow aggregation tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.9%
  • C 34.5%
  • HTML 7.7%
  • Python 1.9%
  • Shell 1.0%
  • CSS 0.8%
  • Makefile 0.2%