Welcome to modelr server
October 20, 2023 ยท View on GitHub
======================== 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 installmodelr-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 <http://www.agilegeoscience.com>_Homepage <http://agile-geoscience.github.com/modelr/>_Issue Tracker <https://github.com/agile-geoscience/modelr/issues/>_PyPi <http://pypi.python.org/pypi/modelr/>_Github <https://github.com/agile-geoscience/modelr>_
Authors ++++++++++++++++
Matt Hall <https://github.com/kwinkunks>_ @Agile Geoscience <http://www.agilegeoscience.com>_Sean Ross-Ross <https://github.com/srossross>_ @ now atContinuumEvan Bianco <https://github.com/EvanBianco>_ @Agile Geoscience <http://www.agilegeoscience.com>_Ben Bougher <https://github.com/ben-bougher>_