Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agilescientific/modelr

Google charts like API for Geoscience
https://github.com/agilescientific/modelr

Last synced: 3 months ago
JSON representation

Google charts like API for Geoscience

Awesome Lists containing this project

README

        

========================
Welcome to modelr server
========================

.. image:: https://img.shields.io/badge/license-Apache-blue.svg
:target: https://github.com/agile-geoscience/modelr/blob/develop/LICENSE.md
:alt: Apache 2 license

.. image:: http://img.shields.io/pypi/dw/modelr.svg
:target: http://pypi.python.org/pypi/modelr/
:alt: PyPI downloads

.. image:: https://img.shields.io/pypi/v/modelr.svg
:target: http://pypi.python.org/pypi/modelr/
:alt: PyPI version

.. image:: http://img.shields.io/github/issues/badges/modelr.svg
:target: https://github.com/agile-geoscience/modelr
:alt: GitHub issues

This is the documentation for the back-end modelr server software. Modelr server was a Google-Charts-like API for geophysics; there is no longer a live instance. Submit tasks via a URL, or go to ``https://localhost:8081/plot.jpeg`` for a set of forms.

Run:

* ``python setup.py install``
* ``modelr-server -p 8081 --local True``

Example:

``https://localhost:8081/plot.jpeg?script=wedge_spatial.py&theta=0&f=25&colourmap=Greys&base1=variable-density&overlay1=none&base2=earth-model&overlay2=wiggle&opacity=0.5&Rock0=3000.0%2C1600.0%2C2500.0%2C%0A%09%20%2050.0%2C%2050.0%2C%2050.0&Rock1=2770.0%2C1780.0%2C2185.0%2C%0A%09%20%2050.0%2C%2050.0%2C%2050.0&Rock2=3000.0%2C1600.0%2C2500.0%2C%0A%09%20%2050.0%2C%2050.0%2C%2050.0&tslice=0.15&scale=1.0%2C99&type=scenario``

Prerequisites
++++++++++++++++

You will need to generate a cert file on the server:

``openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem -out cert.pem``

You will need scientific python (numpy, scipy, matplotlib). Other python packages that will be automatically installed during setup:

* bruges
* pypng
* requests
* jinja2
* svgwrite
* cairo

Links
+++++++++++

* `Agile Geoscience `_
* `Homepage `_
* `Issue Tracker `_
* `PyPi `_
* `Github `_

Authors
++++++++++++++++

* `Matt Hall `_ @ `Agile Geoscience `_
* `Sean Ross-Ross `_ @ now at `Continuum`
* `Evan Bianco `_ @ `Agile Geoscience `_
* `Ben Bougher `_