App to compute meteoroid fluxes
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 13 commits ahead, 2 commits behind barentsen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Meteorflux app

Meteorflux is a Python-powered web service to create graphs of meteor flux observations obtained by the MetRec software and stored in a PostgreSQL database.


To see the app in action, visit


To install the meteorflux Python package, you will need to have a working version of Python 2 or 3. If this requirement is met, you can clone this repository and install the package using:

$ git clone
$ cd meteor-flux
$ python install

You will also need to install and run a PostgreSQL server, and create a database, to store the flux data. The connection details and name of this database need to be configured in the module of the package, after which you will have to run the above python install command again.

Once this is done, you can create the table that will hold the flux data, and create the associated indexes, by executing:

$ python scripts/

After this you can ingest MetRec data files using the ingestion scripts, e.g.:

$ python scripts/ /path/to/directory/with/metrec/zip/files

Finally, you need to run the web service. To run the app locally in debug mode, you can execute:

python scripts/

Note however that running the web app in this way is insecure. To run the app in production, see the Flask documentation for configuring Nginx or Apache to expose this application.


Geert Barentsen, Sirko Molau.


Released under MIT License, full details in LICENSE file.


  • numpy
  • matplotlib
  • astropy
  • psycopg2
  • flask